Skip to content
Prev 26824 / 29559 Next

subsetting a spatial polygons

Antonio,

I am not sure why you think that your solution is not very elegant.
In case you want to have more visual control over the subsetting, you 
could try mapedit:

library(mapedit)
myselection = selectFeatures(polys, mode = "draw")

which will let you draw a e.g. rectangle and only return those features 
that intersect it.

Best
Tim
On 09/12/2018 04:18 AM, Antonio Silva wrote: