lists.osgeo.org/mailman/listinfo/gdal-dev
Hey Stephen,
I think you looking for "layer.SetFeature(feature)", which you can add right
before destroying the changed feature object withing your loop.
Regards,
Rutger
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com
us software.
> https://www.avast.com/antivirus
>
> ___
> gdal-dev mailing list
> gdal-dev@.osgeo
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
Hey Stephen,
I think you looking for "layer.SetFeature(feature)", which you ca
On 4/3/2017 11:37 PM, jratike80 wrote:
Stephen Woodbridge wrote
Hi All,
I have a shapefile(s) and I want to read the features, generate some
metrics about each feature and then add them to the that feature. I'm
using python and one obvious way to to in effect create a new shapefile
with the col
-sql "update test set foo=2" test.shp
-Jukka Rahkonen-
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/gdal-dev-Is-it-possible-to-add-new-fields-to-a-shapefile-and-populate-then-tp5315568p5315579.html
Sent from the GDAL - Dev mailing list archive at N
Hi All,
I have a shapefile(s) and I want to read the features, generate some
metrics about each feature and then add them to the that feature. I'm
using python and one obvious way to to in effect create a new shapefile
with the columns I need to add, then copy the existing shapefile to the
ne