Jim,
GML driver doesn't support reporting of the geometry type for the layer.
However, you will get the right geometry when you ask for the geometry
itself. Try "ogrinfo -al test.gml" and check the reported geometries.
On Wed, Jun 2, 2010 at 4:33 AM, jim hopper wrote:
> Ok, I got gdal rebuilt w
Ok, I got gdal rebuilt with xercesc support, and I can read it with ogrinfo.
But it says:
Had to open data source read-only.
INFO: Open of `test.gml'
using driver `GML' successful.
Layer name: ford_plant_2d_bldgs
Geometry: Unknown (any)
But the original shape file does have geometry:
INFO
I will rebuild. Thanks!
Jim
On 6/1/10 4:07 PM, "Frank Warmerdam" 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 t
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 su
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