[gdal-dev] RFC 29: OGR Set Desired Fields
Jez Walters
Jez.Walters at ipl.com
Wed Jul 21 11:24:17 EDT 2010
Frank,
I'm only concerned with ogr2ogr and how it works with OS MasterMap chunked data - which I'm currently finding a bit slow. I'll gladly leave the development of anything else to those who understand much more than me! :-)
Regards,
Jez
-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: Wednesday 21 July 2010 16:18
To: Jez Walters
Cc: 'gdal-dev at lists.osgeo.org'; 'Martin Dobias'
Subject: Re: [gdal-dev] RFC 29: OGR Set Desired Fields
Jez Walters wrote:
> Frank,
>
>
> If we "connect this to the -select option of ogr2ogr" as you suggest, it
> would probably be helpful to specify fields by name rather than by number in
> order to accommodate the OS MasterMap data.
>
> At the risk of repeating myself from another thread, the OS MasterMap
> Topology Layer vector data has identical field names (for any given layer)
> in all data chunks, but the field numbers are different in different chunks.
> Just to complicate matters, some fields are entirely missing in some data
> chunks too! :-(
Jez,
With all due respect:
o The -select already uses names, which can be internally converted
to field indexes within ogr2ogr. Users don't ever give numbers for
fields.
o Within *one* layer the fields are consistent. I don't think the
issue with different field lists and ordering between gml files
has any real bearing on the "set desired fields" RFC.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
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