Hi
I would like to insert a column in a shape file and insert a specific
value on it.
I  succeed in insert the column by ogrinfo and sql by

ogrinfo wyoming.shp  -sql 'ALTER TABLE wyoming ADD COLUMN area real'

but than i  did not succeed in inserting the value.

ogrinfo wyoming.shp  -sql 'UPDATE wyoming SET area=1000  WHERE area is NULL'
ERROR 1: SQL Expression Parsing Error: syntax error

Is sql update supported or i miss something?

Thanks
Giuseppe


-- 
Giuseppe Amatulli
Web: www.spatial-ecology.net
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to