Sebastian, you didn't mention the GDAL version you are using. There has been a lot of improvements done in the GML driver in GDAL trunk over the last few months and theoritically you should now be able to see the fields that are not immediate children of the Feature element. You can try GDAL 1.8.0beta2 (or if you're not in a position to compile code by yourself : gdal-dev in OSGEO4W or Tamas Szekeres daily builds at http://vbkto.dyndns.org/sdk/ (the -devel packages) if you're on windows, or FWTools 3.0.1 if you're on Linux)
Best regards, Even > Hi All, > > ogrinfo is skiping some fields my gml files.... > > for example the > fields addressStatus, matchStatus, physicalStatus, positionalQuality > and structureType are not read... > > <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 ? > -- > Sebastian E. Ovide > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
