[gdal-dev] ogr gml

Ralf Suhr Ralf.Suhr at itc-halle.de
Wed Jan 5 12:02:28 EST 2011


Hi Chris,

if you have a newer gdal version (1.8). ogrinfo will produce:

Layer name: AddressPoint
Geometry: Point
Feature Count: 1
Extent: (405525.600000, 628349.000000) - (405525.600000, 628349.000000)
Layer SRS WKT:
(unknown)
version: Integer (0.0)
versionDate: String (10.0)
theme: String (7.0)
matchStatus: String (7.0)
physicalStatus: String (8.0)
positionalQuality: String (5.0)
structureType: String (18.0)
OSAPR: String (18.0)
buildingNumber: Integer (0.0)
thoroughfare: String (8.0)
dependentLocality: String (7.0)
postTown: String (7.0)
postCode: String (8.0)
deliveryPointSuffix: String (2.0)
postalAddressDate: String (10.0)
OGRFeature(AddressPoint):0
  version (Integer) = 11
  versionDate (String) = 2009-10-12
  theme (String) = Address
  matchStatus (String) = Matched
  physicalStatus (String) = Existing
  positionalQuality (String) = Final
  structureType (String) = Permanent Building
  OSAPR (String) = AP6DJK8352W7DAUGJG
  buildingNumber (Integer) = 16
  thoroughfare (String) = WEST END
  dependentLocality (String) = CHATTON
  postTown (String) = ALNWICK
  postCode (String) = NE66 5PP
  deliveryPointSuffix (String) = 1Z
  postalAddressDate (String) = 2003-04-18
  POINT (405525.6 628349.0)

Gr
Ralf

Am Mittwoch 05 Januar 2011, 17:19:41 schrieb christopher.schmidt at nokia.com:
> On Jan 5, 2011, at 11:13 AM, ext Sebastian E. Ovide wrote:
> > Hi All,
> > 
> > ogrinfo is skiping some fields my gml files....
> > 
> > for example the fields addressStatus, matchStatus, physicalStatus,
> > positionalQuality and structureType are not read...
> 
> Those are complex fields, which OGR doesn't handle.
> 
> -- Chris
> 
> > <osgb:addressPointMember>
> > <osgb:AddressPoint fid='osgb1000002193000088'>
> > <osgb:version>11</osgb:version>
> > <osgb:versionDate>2009-10-12</osgb:versionDate>
> > <osgb:theme>Address</osgb:theme>
> > <osgb:addressStatus>
> > <osgb:matchStatus>Matched</osgb:matchStatus>
> > <osgb:physicalStatus>Existing</osgb:physicalStatus>
> > <osgb:positionalQuality
> > accuracy='Surveyed'>Final</osgb:positionalQuality>
> > <osgb:structureType>Permanent Building</osgb:structureType>
> > </osgb:addressStatus>
> > <osgb:OSAPR>AP6DJK8352W7DAUGJG</osgb:OSAPR>
> > <osgb:point>
> > <gml:Point srsName='osgb:BNG'>
> > <gml:coordinates>405525.600,628349.000</gml:coordinates>
> > </gml:Point>
> > </osgb:point>
> > <osgb:postalAddress>
> > <osgb:buildingNumber>16</osgb:buildingNumber>
> > <osgb:thoroughfare>WEST END</osgb:thoroughfare>
> > <osgb:dependentLocality>CHATTON</osgb:dependentLocality>
> > <osgb:postTown>ALNWICK</osgb:postTown>
> > <osgb:postCode type='Small'>NE66 5PP</osgb:postCode>
> > <osgb:deliveryPointSuffix>1Z</osgb:deliveryPointSuffix>
> > </osgb:postalAddress>
> > <osgb:postalAddressDate>2003-04-18</osgb:postalAddressDate>
> > <osgb:referenceToTopographicArea xlink:href='#osgb1000036885604'/>
> > </osgb:AddressPoint>
> > </osgb:addressPointMember>
> > 
> > any ideas ?
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list