[GRASS-user] Rename multiple sqlite columns at once

Hamish hamish_b at yahoo.com
Sun Nov 16 02:53:40 EST 2008


Hi,

I haven't really been following this thread (or know much about it), but
I spotted this tip on the gdal site, maybe it helps:

http://www.gdal.org/ogr/drv_gpx.html
# Use of -sql option to remap field names to the ones allowed by the GPX schema !

ogr2ogr -f GPX output.gpx input.shp -sql "SELECT field1 AS name, field2 AS desc FROM source_layer"



Hamish



      



More information about the grass-user mailing list