[gdal-dev] Adding Vertex To Linestring in Existing shapefile(Python)

Eli Adam eadam at co.lincoln.or.us
Thu Jul 24 13:01:08 PDT 2014


Hi Justin,

ogr2ogr -segmentize max_dist:(starting with GDAL 1.6.0) maximum
distance between 2 nodes. Used to create intermediate points . Mmight
do what you want.

Best regards, Eli

On Wed, Jul 23, 2014 at 2:08 PM, Justin Williams <jwill222 at hotmail.com> wrote:
>
> Hello All. I'm trying to add a vertex to a linestring inside of a shapefile and save the changes that I've made. So if I have a line that has 2 vertices. When I open the shapefile up again(in Global Mapper, QGIS,etc.) I have 3 vertices. How is this accomplished in gdal/ogr?
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list