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

[gdal-dev] OGR writing problem pl. help

2014-06-11 Thread user gdal
Dear all, I have a shape file and programmatically I have to write to an attribute named 'production'. I use Visual; C++ 2005. I proceeded like this: const char *DriverName = "ESRI Shapefile"; OGRSFDriver *Driver; OGRRegisterAll(); Driver = OGRSFDriverRegistrar::GetRegistrar( )->GetDriverByName(Dr