[gdal-dev] How to add more than one column to a shapefile using ogrinfo
aborruso
aborruso at gmail.com
Sun May 1 01:20:16 PDT 2016
Hi,
I have no problem to add a column to a shapefile with:
ogrinfo myfile.shp -sql "ALTER TABLE myfile ADD fieldX integer"
But if I use, the second column is not added to the file.
ogrinfo myfile.shp -sql "ALTER TABLE myfile ADD fieldX integer(3), fieldY
integer(3)"
The shell gives me only
INFO: Open of `myfile.shp'
using driver `ESRI Shapefile' successful.
What's wrong in my syntax?
Thank you
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-add-more-than-one-column-to-a-shapefile-using-ogrinfo-tp5263730.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list