Is your feature request related to a problem? Please describe.
Sometimes entities like pubs are represented as points and polygons but you have to manually get both then get the centroid of the polygons to get the result.
Describe the solution you'd like
A function, e.g. called oe_get_centroids() could solve the problem.
Describe alternatives you've considered
I've thought about adding this functionality in another package but think it would be a good fit here.
Additional context
Here's a prototype of such a function that seemed worked: https://github.com/cyipt/actdev/blob/main/code/get_pois.R
Happy to put in a PR this is a good idea!
Is your feature request related to a problem? Please describe.
Sometimes entities like pubs are represented as points and polygons but you have to manually get both then get the centroid of the polygons to get the result.
Describe the solution you'd like
A function, e.g. called
oe_get_centroids()could solve the problem.Describe alternatives you've considered
I've thought about adding this functionality in another package but think it would be a good fit here.
Additional context
Here's a prototype of such a function that seemed worked: https://github.com/cyipt/actdev/blob/main/code/get_pois.R
Happy to put in a PR this is a good idea!