mocnik-science / osm-python-tools

A library to access OpenStreetMap related services
GNU General Public License v3.0
441 stars 48 forks source link

get all selector options #51

Closed simonmarti1992 closed 2 years ago

simonmarti1992 commented 2 years ago

Dear Franz-Benjamin  Is there a smart syntax to get all the selector options ?

example: selector = "building"~"^(yes|house|warehouse|apartments...)$ which is not exhaustive should be something like selector = "building"~"^(*)$? in order to get all building types

Best regards  Simon

mocnik-science commented 2 years ago

Dear Simon,

If I understand your question correct, it is about the syntax that is used to query overpass, or am I wrong? As I do not know a good answer to your question, I would like to recommend looking for an answer here: https://wiki.openstreetmap.org/wiki/Overpass_API

I hope this helps.

Best, Franz-Benjamin