You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pyshp currently does not allow direct editing of files. As you mention, modifying a shape read from a shapefile with Reader will therefore only modify the shape loaded into memory, not the actual file. If you want to edit the shapes, you would read in shapes with a Reader, edit them, then write them to a new shapefile with a Writer. The Readme has an example of this: https://github.com/GeospatialPython/pyshp#editing-shapefiles
What's your question?
I want to modify the shape value directly, by using sf.shape(i).points = [[xx,xx]],but it is nothing useful
The text was updated successfully, but these errors were encountered: