I am working on a project that involves finding the intersection of linears in a shapefile, if that vertex(the found intersection) doesn’t already exist for each(or one) of the features, then that vertex(the found intersection point) should be added to both features. I’m using the shapely and OGR modules for python. Can somebody just give me a general example of adding a vertex to an existing feature in shapefile using either or and saving it. Thanks.
↧