Re: [gdal-dev] Update ShapeLayer

2008-08-10 Thread Mateusz Loskot
wow wrote: Hi, To update shape files. i got two questions: wow, For Shapefile updating issues, read this post: http://lists.osgeo.org/pipermail/gdal-dev/2008-August/017855.html 1. How could i delete a field from a shapelayer? You have to create new Shapefile based on attributes schema

[gdal-dev] Update ShapeLayer

2008-08-10 Thread wow
Hi, To update shape files. i got two questions: 1. How could i delete a field from a shapelayer? 2. How to set a value to a specified field of all records? Could i use SQL sentences like "set field_name='value'" on the datasource of shapelayer? Thank you. -- To the world