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

filter by type #111

Open
stefanocudini opened this issue Aug 18, 2022 · 1 comment
Open

filter by type #111

stefanocudini opened this issue Aug 18, 2022 · 1 comment

Comments

@stefanocudini
Copy link

stefanocudini commented Aug 18, 2022

an additional filter in addition to -tags would be useful

called -type with one of the following values; node, way, relation

Use-cases

useful to further subdivide the output obtained by types

for example house numbers and streets

@missinglink
Copy link
Member

In the case of house numbers, these can be either nodes or ways.
For streets, these can be either ways or relations.

The only reliable way of determining the 'class' of an object is through the tags.
Maybe I'm not understanding the use-case, could you provide a more concrete example of how you would use this feature?

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

No branches or pull requests

2 participants