Re: [gdal-dev] ogr2ogr and RFC41

2014-10-26 Thread Even Rouault
Le dimanche 26 octobre 2014 16:10:48, Martin Landa a écrit : > Hi, > > 2014-10-24 9:46 GMT+02:00 Martin Landa : > >> So perhaps something like ? > >> --select *,!geom1,!attr1 > > > > yes, it would be nice to have it... Martin > > the attached patch shows a way, I am sure that it's possible to >

Re: [gdal-dev] ogr2ogr and RFC41

2014-10-26 Thread Martin Landa
Hi, 2014-10-24 9:46 GMT+02:00 Martin Landa : >> So perhaps something like ? >> --select *,!geom1,!attr1 > > yes, it would be nice to have it... Martin the attached patch shows a way, I am sure that it's possible to simplily it. Anyway combination as (assuming that a source layer has three geometr

Re: [gdal-dev] ogr2ogr and RFC41

2014-10-24 Thread Martin Landa
Hi, 2014-10-24 1:16 GMT+02:00 Even Rouault : > The later kind of reminds me of MapServer syntax : > "wms_enable_request" "* !GetFeatureInfo" > > So perhaps something like ? > --select *,!geom1,!attr1 yes, it would be nice to have it... Martin -- Martin Landa * http://geo.fsv.cvut.cz/gwiki/Land

Re: [gdal-dev] ogr2ogr and RFC41

2014-10-23 Thread Even Rouault
Le jeudi 23 octobre 2014 22:49:17, Martin Landa a écrit : > Hi, > > 2014-06-11 23:45 GMT+02:00 Even Rouault : > > 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,

Re: [gdal-dev] ogr2ogr and RFC41

2014-10-23 Thread Martin Landa
Hi, 2014-06-11 23:45 GMT+02:00 Even Rouault : > 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_

Re: [gdal-dev] ogr2ogr and RFC41

2014-06-12 Thread Jukka Rahkonen
Martin Landa gmail.com> writes: > > 2014-06-11 23:45 GMT+02:00 Even Rouault mines-paris.org>: > > source geometry fields, you can write a SQL clause " SELECT geomfield1, > > geomfield2, other_attr FROM your_layer" > > yes, but it's not really user-friendly (when more attributes are > listed).

Re: [gdal-dev] ogr2ogr and RFC41

2014-06-11 Thread Martin Landa
2014-06-11 23:45 GMT+02:00 Even Rouault : > source geometry fields, you can write a SQL clause " SELECT geomfield1, > geomfield2, other_attr FROM your_layer" yes, but it's not really user-friendly (when more attributes are listed). Probably `--geomfield` could be also used to select geometry colum

Re: [gdal-dev] ogr2ogr and RFC41

2014-06-11 Thread Even Rouault
Le mercredi 11 juin 2014 23:49:55, Martin Landa a écrit : > 2014-06-11 23:45 GMT+02:00 Even Rouault : > > source geometry fields, you can write a SQL clause " SELECT geomfield1, > > geomfield2, other_attr FROM your_layer" > > yes, but it's not really user-friendly (when more attributes are > liste

Re: [gdal-dev] ogr2ogr and RFC41

2014-06-11 Thread Even Rouault
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 transfere

[gdal-dev] ogr2ogr and RFC41

2014-06-11 Thread Martin Landa
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. Thanks, Martin [1] http://trac.osgeo.o