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

[Question] How to get different Key|Value combinations in osm.node_query #156

Open
davidsvale opened this issue Jan 15, 2021 · 0 comments
Open

Comments

@davidsvale
Copy link

davidsvale commented Jan 15, 2021

First of all, thanks for the great job with Pandana!

I am trying to get destinations from a group of different key|value combinations to measure accessibility.
For instance:

tag1 = '"amenity"~"animal_boarding|animal_shelter|archive"'
tag2 = '"shop"~"agrarian|alcohol|anime|antiques"'

If I use one of them individually in osm.node_query I get good results, but I was wondering if it is possible (and how to do it) to get both at the same time, i.e. all POIS that match any of the two conditions (tag1 OR tag2). I have try to combine them in several different ways, but couldn't find the right way to do it.

Thanks

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

No branches or pull requests

1 participant