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

Christine Waigl cwaigl at alaska.edu
Sun May 1 08:18:16 PDT 2016


I see. Thanks for the correction.

On Sun, May 1, 2016 at 6:58 AM, aborruso <aborruso at gmail.com> wrote:

> 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.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Christine (Chris) Waigl - cwaigl at alaska.edu -  +1-907-474-5483 - Skype:
cwaigl_work
Geophysical Institute, UAF, 903 Koyukuk Drive, Fairbanks, AK 99775-7320, USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160501/ae6ab0a9/attachment-0001.html>


More information about the gdal-dev mailing list