Martin Landa <landa.martin <at> gmail.com> writes: > > 2014-06-11 23:45 GMT+02:00 Even Rouault <even.rouault <at> 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). Probably `--geomfield` could be also used to select geometry > column when destination data source doesn't support RFC-41, what do > you think?
As a workaround I would try what happens with -sql "SELECT geometry2, * FROM your_layer" It may lead to desired result (especially selected geometry written into target, second occasion of the same and other geometries skipped) with minimal writing but I have not tried it myself. -Jukka Rahkonen- _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
