r-spatial / mapedit

Interactive editing of spatial data in R
https://www.r-spatial.org/r/2019/03/31/mapedit_leafpm.html
Other
218 stars 33 forks source link

Please explain in tutorial how to convert to sp object, spatial, or geojson (for conversion to shapefile/s). #70

Closed ZOMBIEKING907 closed 6 years ago

ZOMBIEKING907 commented 6 years ago

Thanks for making this project. I would like to use if for some GIS projects I have but I'm having trouble converting the object made by editMap to something I could use writeOGR with.

It might be elementary to you but it would be helpful for myself. Thanks!

edzer commented 6 years ago

have you tried as(obj, "Spatial")?

timelyportfolio commented 6 years ago

Thanks @edzer! @ZOMBIEKING907, please let us know if this fulfills your request.

timelyportfolio commented 6 years ago

I am going to close due to lack of response. Please reopen if the issue has not been resolved.