Hi, I have a GML file [1], which according to my understanding has 7 polygon features [2]. ogrinfo only sees 1 feature [3], which is the last one in document order (gml:id="ZON_NO0005_Polygon").
Can someone please tell me if the observed ogrinfo behaviour is a known limitation of the GML driver, a bug -- or if I am perhaps doing something terribly wrong? I am using GDAL from trunk, by the way. Thanks in advance, Hermann [1] http://tinyurl.com/q98z4ya [2] grep "<gml:Polygon" AQD_Zones.xml | nl 1 <gml:Polygon gml:id="ZON_NO0003_Polygon" srsName="urn:ogc:def:crs:EPSG::4258"> 2 <gml:Polygon gml:id="ZON_NO0007_Polygon" srsName="urn:ogc:def:crs:EPSG::4258"> 3 <gml:Polygon gml:id="ZON_NO0002_Polygon" srsName="urn:ogc:def:crs:EPSG::4258"> 4 <gml:Polygon gml:id="ZON_NO0004_Polygon" srsName="urn:ogc:def:crs:EPSG::4258"> 5 <gml:Polygon gml:id="ZON_NO0001_Polygon" srsName="urn:ogc:def:crs:EPSG::4258"> 6 <gml:Polygon gml:id="ZON_NO0006_Polygon" srsName="urn:ogc:def:crs:EPSG::4258"> 7 <gml:Polygon gml:id="ZON_NO0005_Polygon" srsName="urn:ogc:def:crs:EPSG::4258"> [3] ogrinfo -al -so -ro AQD_Zones.xml INFO: Open of `AQD_Zones.xml' using driver `GML' successful. Layer name: AQD_ReportingHeader Geometry: Polygon Feature Count: 1 Extent: (4.500440, 58.255870) - (8.322050, 62.273860) (...) -- View this message in context: http://osgeo-org.1560.x6.nabble.com/ogrinfo-only-sees-1-polygon-in-GML-file-tp5100685.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
