I will rebuild.  Thanks!

Jim



On 6/1/10 4:07 PM, "Frank Warmerdam" <[email protected]> wrote:

> jim hopper wrote:
>> I used the following to do the conversion:
>> 
>> ogr2ogr -f GML test.gml test.shp
>> 
>> I got a file test.gml and test.xsd which appear to have the polygons and
>> geometry in them.  When I try to look at it with ogrinfo I get
>> 
>> ERROR 1: Unable to create Xerces C++ based GML reader, Xerces support
>> not configured into GDAL/OGR.
>> ERROR 1: File test.gml appears to be GML but the GML reader can't
>> be instantiated, likely because Xerces support wasn't
>> configured in.
>> 
>> But I did configure it in, and in fact ogr2ogr found support.
>> 
>> Is there some way that it can output GML and not read it because I messed
>> up the configure, or is there another reason besides not compiling in xml
>> that might cause this problem?
> 
> Jim,
> 
> The GML writer just uses printf, and has no dependency on an XML library.
> So it is easy to get GML write support without GML read support.
> 
> I imagine you either didn't do a clean build after reconfiguring with
> Xerces, or you aren't running the build you think you are.
> 
> Best regards,

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to