[gdal-dev] ogr2ogr and RFC41

Even Rouault even.rouault at mines-paris.org
Wed Jun 11 14:45:52 PDT 2014


Le mercredi 11 juin 2014 23:41:39, Martin Landa a écrit :
> Hi,
> 
> does `ogr2ogr` support RFC41 [1] (Support for multiple geometry fields
> in OGR)? I didn't find appropriate option which enables to select
> geometry column (`--geomfield` seems to operate only on spatial
> filter) to be transfered to destination data source.

Martin,

Yes, by default it will transfer all source geometry fields into the target 
layer, if it supports multiple geometry fields. If you want only a subset of 
source geometry fields, you can write a SQL clause " SELECT geomfield1, 
geomfield2, other_attr FROM your_layer"

Even

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html


More information about the gdal-dev mailing list