pbf2json icon indicating copy to clipboard operation
pbf2json copied to clipboard

filter by type

Open stefanocudini opened this issue 2 years ago • 1 comments

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

stefanocudini avatar Aug 18 '22 15:08 stefanocudini

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?

missinglink avatar Aug 18 '22 15:08 missinglink