Okay, I finally, finally got gdal built with xerces support.<br><br>[root@niceguy ogr]# ./ogrinfo wfs.gml<br>Had to open data source read-only.<br>INFO: Open of `wfs.gml'<br> using driver `GML' successful.<br>
1: GIS<br><br><br>Tada, so I check my featureserver request and I get:<br><pre>An error occurred: libxerces-c.so.27: cannot open shared object file: No such file or directory<br> File "./FeatureServer/Server.py", line 200, in cgiHandler
<br> service = Server.load(*cfgfiles)<br> File "./FeatureServer/Server.py", line 44, in _load<br> datasources[section] = cls.loadFromSection(<br> File "./FeatureServer/Server.py", line 22, in _loadFromSection
<br> module = __import__("%s.%s" % (module_type, type), globals(), locals(), type)<br> File "./FeatureServer/DataSource/PostGIS.py", line 2, in ?<br> from OGR import OGR<br> File "./FeatureServer/DataSource/OGR.py", line 2, in ?
<br> import ogr, osr<br> File "/usr/lib64/python2.3/site-packages/ogr.py", line 33, in ?<br> import _gdal</pre>so I run /sbin/ldconfig to reload the shared libararies and I get:<br><br><pre>An error occurred: OGR could not read the WFS result. Result was: <?xml version='
1.0' encoding="ISO-8859-1" ?><br><wfs:FeatureCollection<br> xmlns:ms="<a href="http://mapserver.gis.umn.edu/mapserver">http://mapserver.gis.umn.edu/mapserver</a>"<br> xmlns:wfs="<a href="http://www.opengis.net/wfs">
http://www.opengis.net/wfs</a>"<br>...<br> File "./FeatureServer/Server.py", line 232, in cgiHandler<br> format, content = service.dispatchRequest( params, path_info, host, post_data, request_method, accepts )
<br> File "./FeatureServer/Server.py", line 109, in dispatchRequest<br> result = method(action)<br> File "./FeatureServer/DataSource/WFS.py", line 39, in select<br> raise Exception("OGR could not read the WFS result. Result was: %s" % open(tmpfile).read())
<br></pre><br>which was the original error I got. So I go back to ogrinfo and check the gml again:<br><br>[root@niceguy ogr]# ./ogrinfo wfs.gml<br>ERROR 1: Unable to create Xerces C++ based GML reader, Xerces support<br>
not configured into GDAL/OGR.<br>ERROR 1: File wfs.gml appears to be GML but the GML reader can't<br>be instantiated, likely because Xerces support wasn't<br>configured in.<br>FAILURE:<br>Unable to open datasource `wfs.gml' with the following drivers.
<br><br>!!! All of a sudden it doesn't work. so, I can run make install from gdal (again) and then check ogrinfo and get right back to the beginning:<br><br>[root@niceguy ogr]# ./ogrinfo wfs.gml<br>Had to open data source read-only.
<br>INFO: Open of `wfs.gml'<br> using driver `GML' successful.<br>1: GIS<br><br>!!! i'm stuck in a loop! after make install, shared libararies aren't found, but loading the shared libraries makes ogr think it doesn't have xerces support, even though it does RIGHT before reloading shared libraries.
<br><br>I'm totally floored.<br>Anyone want to take a crack at that?<br><br>I couldn't thank you enough.<br>-Ed<br>