[gdal-dev] How to add more than one column to a shapefile using ogrinfo

aborruso aborruso at gmail.com
Sun May 1 07:58:43 PDT 2016


Hi Christine,
thank you.


Christine Waigl wrote
> 
> As far as I'm aware -- please correct me if I'm wrong --
> ogrinfo only lists information about a file and doesn't
> alter it.

As I written in my message I'm able to use ogrinfo to alterate my source
file, but if I want to add 3 fields I must write 3 ogrinfo statements; I
would like to know why a single statemente with a correct SQL command. 

I learned about this use of ogrinfo reading this old thread:
http://osgeo-org.1560.x6.nabble.com/gdal-dev-Updating-shapefile-fields-name-with-ogr2ogr-tp4982783p4982794.html
<http://osgeo-org.1560.x6.nabble.com/gdal-dev-Updating-shapefile-fields-name-with-ogr2ogr-tp4982783p4982794.html>  

Best regards




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/How-to-add-more-than-one-column-to-a-shapefile-using-ogrinfo-tp5263730p5263753.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list