Re: [gdal-dev] Creating new column with filename, scripting shapefiles

2012-11-29 Thread Joe Larson
Even- your guidance and correction was the solution that worked for me. Thank you! _ joe On Nov 29, 2012, at 11:00:47AM, Even Rouault wrote: > Le jeudi 29 novembre 2012 16:28:33, Joe Larson a écrit : >> I have tried these three methods to add a filename column while scripting a >

Re: [gdal-dev] Creating new column with filename, scripting shapefiles

2012-11-29 Thread Joe Larson
r2ogr to convert it to sqlite. update it. convert it back to > shapefile. > > > On Thu, Nov 29, 2012 at 8:58 PM, Joe Larson wrote: > I have tried these three methods to add a filename column while scripting a > folder of shapefiles, with a Bash script - which results in `War

[gdal-dev] Creating new column with filename, scripting shapefiles

2012-11-29 Thread Joe Larson
I have tried these three methods to add a filename column while scripting a folder of shapefiles, with a Bash script - which results in `Warning 6: Normalized/laundered field name` & `ERROR 1: SQL Expression Parsing Error: syntax error` messages and NULL values in the created column : #1 for f