[Gdal-dev] gml geometry information

Roger James rogerjames99 at btinternet.com
Wed May 14 16:44:08 EDT 2003


Frank,

 

I have just noticed that the ogr gml driver reports geometry at the
feature level but not at the layer level. Is this intended? Also the
spatial ref is not being picked up. Sorry I have not had chance to look
closely at these.

 

C:\mapdata\Vector Data\2085\sd>ogrinfo -al swh.gml|more

ERROR 1: Read failed on swh.gfs.

Had to open data source read-only.

INFO: Open of `swh.gml'

using driver `GML' successful.

 

Layer name: osgb:TopographicPoint

Geometry: Unknown (any)

Feature Count: 6

Extent: (347195.900000, 465403.500000) - (347443.100000, 465789.200000)

Layer SRS WKT:

(unknown)

osgb:featureCode: String (0.0)

osgb:version: String (0.0)

osgb:versionDate: String (0.0)

osgb:theme: String (0.0)

osgb:accuracyOfPosition: String (0.0)

osgb:descriptiveGroup: String (0.0)

osgb:descriptiveTerm: String (0.0)

osgb:physicalLevel: String (0.0)

osgb:make: String (0.0)

OGRFeature(osgb:TopographicPoint):0

  osgb:featureCode (String) = 10197

  osgb:version (String) = 1

  osgb:versionDate (String) = 2001-11-09

  osgb:theme (String) = Terrain And Height

  osgb:accuracyOfPosition (String) = Unknown

  osgb:descriptiveGroup (String) = Terrain And Height

  osgb:descriptiveTerm (String) = Spot Height

  osgb:physicalLevel (String) = 50

  osgb:make (String) = (null)

  POINT (347297.300 465584.000)

*      More  --

 

By the way the ERROR is the one I mentioned a few days ago on the list
caused by CR/LF processing. 

 

Roger

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20030514/d14daf22/attachment.html


More information about the Gdal-dev mailing list