<div dir="ltr"><br><br>On Sun, May 1, 2016 at 5:30 AM, aborruso <<a href="mailto:aborruso@gmail.com">aborruso@gmail.com</a>> wrote:<br>><br>><br>> jmckenna wrote<br>> > I think you have to use 2 ogrinfo statements.<br><br>As far as I'm aware -- please correct me if I'm wrong --<br>ogrinfo only lists information about a file and doesn't<br>alter it.<br> <br>"ogrinfo -sql" may well be executing the alter table<br>statement, but not have anything useful to return <br>to you. It won't write the result back to the <br>original file. I'd use ogr2ogr for that. (Disclaimer:<br>I've never used ogr2ogr with an alter table statement. <br>I typically use it to extract selected records and<br>attributes from a large file and save them to a smaller fle.) <br><br>Chris<br><br><br>--<br>Christine (Chris) Waigl - <a href="mailto:cwaigl@alaska.edu">cwaigl@alaska.edu</a> - +1-907-474-5483 - Skype: cwaigl_work<br>Geophysical Institute, UAF, 903 Koyukuk Drive, Fairbanks, AK 99775-7320, USA<div class="gmail_extra">
</div></div>