[gdal-dev] How to add more than one column to a shapefile using ogrinfo
Jeff McKenna
jmckenna at gatewaygeomatics.com
Sun May 1 09:52:46 PDT 2016
On 2016-05-01 10:30 AM, aborruso wrote:
>
> jmckenna wrote
>> I think you have to use 2 ogrinfo statements.
>
> I know it, it works with 2 statements. Do you know why I cannot use my kind
> of SQL command with all in one statement?
>
> And what do you think about to add some note in the documentation, about the
> origin of the impossibility of use this kind of command?
>
Hi Andrea,
When I responded earlier I was testing and you cannot do this in one
single ogrinfo command (so that answers your initial question). What
would be great, if you could add your working example to the docs: here
is an existing wiki page for ogrinfo where you can put your example for
adding a column through sql:
https://trac.osgeo.org/gdal/wiki/UserDocs/OgrInfo
Thanks, and hello from Canada,
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the gdal-dev
mailing list