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

Get amenities inside of OSM features #11

Open
nealf opened this issue Mar 17, 2017 · 1 comment
Open

Get amenities inside of OSM features #11

nealf opened this issue Mar 17, 2017 · 1 comment
Labels

Comments

@nealf
Copy link
Member

nealf commented Mar 17, 2017

We want to be able to query OSM Overpass to be able to get all of the amenities inside of the parks to then load into the database.

@nealf
Copy link
Member Author

nealf commented Mar 17, 2017

Here's a query that gets ways and nodes inside of an area (Blacksburg Municipal Park 'way' is the one here), but it includes all of the park's nodes as well:

[out:json];
way(32515091);

map_to_area -> .a;
way(area.a)[leisure];
/*added by auto repair*/
(._;>;);
/*end of auto repair*/
out;
node(area.a)[leisure];
out;

@nealf nealf added the backend label May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant