[gdal-dev] RFC 29: OGR Set Desired Fields

Jez Walters Jez.Walters at ipl.com
Wed Jul 21 04:43:16 EDT 2010


Martin,


When I convert Ordnance Survey MasterMap GML to ESRI Shapefiles using ogr2ogr, I'm getting different field numbers for the same field name in different GML chunk files.  Apologies if I have the wrong end of the stick, but wouldn't your proposed interface therefore require me to invoke ogr2ogr differently for each different GML chunk file, in order to accommodate the different field ordering?

Assuming I'm right, wouldn't it be more useable for the interface to use field names rather than numbers?


Regards,


Jez


-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Martin Dobias
Sent: Wednesday 21 July 2010 09:11
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] RFC 29: OGR Set Desired Fields

Hi,

based on the discussion about optimizing the performance of reading features in OGR few days ago, I've prepared an RFC that proposes API
for limiting which fields will be fetched when reading features:

http://trac.osgeo.org/gdal/wiki/rfc29_desired_fields

Any comments or suggestions are highly welcome.

Regards
Martin
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


The information transmitted is intended only for the person
or entity to which it is addressed and may contain
confidential and/or privileged material. If you are not the
addressee, any disclosure, reproduction, copying,
distribution, or other dissemination or use of this
communication is strictly prohibited. If you have received
this transmission in error please notify the sender
immediately and then delete this email.

Any representations or commitments expressed in this email
are subject to contract.

This message has been scanned for viruses and dangerous
content. However, it is essential that the recipient also
checks this message using commercially available mail
scanning and anti-virus software. IPL Information Processing
Limited accepts no liability for any loss or damage resulting
from any virus or other dangerous content in this message.

IPL Information Processing Limited is registered in England
and Wales under company registration number 1418818.
Registration took place at Cardiff on 10 May 1979. IPL
Information Processing Limited's registered office and
normal place of business is Eveleigh House, Grove Street,
Bath, BA1 5LR, United Kingdom. IPL is also registered for
Value Added Tax (VAT) under registration number GB 601 2931 83.



More information about the gdal-dev mailing list