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

Improve addin #122

Open mrjoh3 opened 2 years ago

mrjoh3 commented 2 years ago

this is an updated version of the addin from open pr #85. The original pr included code that assigned the output of the addin to the global environment. This work have caused issues with cran submissions.

In this update the output can be saved to file as before, but is also returned to the console so the output can later be assigned using .Last.value. Alternatively the function can be run directly via createFeatures()

Finally I have added the recent editAttributes function as an additional rstudio addin. Essentially this allows minimal basic usage of the app using the GUI alone. The addin simply runs editAttributes(), again the user would have to use .Last.value to assign the output. For this to work the fix enabling editAttributes() in PR #121 needs to be merged first.

Please there is no rush to look at these PR's. The work on editAttributes reminded me of this addin and gave me some ideas to fix it.

thanks

Matt

mrjoh3 commented 2 years ago

I will close PR #85 as it is no longer relevant