Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "radius" parameter in oe_get #226

Open
agila5 opened this issue Sep 8, 2021 · 1 comment
Open

Add a "radius" parameter in oe_get #226

agila5 opened this issue Sep 8, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@agila5
Copy link
Collaborator

agila5 commented Sep 8, 2021

Idea: add a radius argument to one of the functions used by oe_get that can be used to filter all features intersecting a buffer with a given radius centred in a given point. Something like:

oe_get(c(9, 45), radius = 0.025)

or

oe_get("Leeds, UK", radius = 0.025)

The string is converted to a pair of lat/long coordinates via OSM Nominatim and then the given point is buffered according to the given radius.

@agila5 agila5 added the enhancement New feature or request label Sep 8, 2021
@agila5 agila5 self-assigned this Sep 8, 2021
@agila5 agila5 changed the title A "radius" parameter in oe_get Add a "radius" parameter in oe_get Sep 8, 2021
@Robinlovelace
Copy link
Member

This is a great feature request that I have needed. Great plan, you can get most parts of most cities with a 30 km radius:

image

Source: https://zonebuilders.github.io/zonebuilder/articles/paper.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants