mapillary / mapillary-python-sdk

A Python 3 library built on the Mapillary API v4 to facilitate retrieving and working with Mapillary data.
MIT License
37 stars 14 forks source link

[Feature] Wild cards in object value filters #119

Open cbeddow opened 2 years ago

cbeddow commented 2 years ago

Is your feature request related to a problem? Please describe. A new API feature allows wild cards.

Describe the solution you'd like In any case where we are filtering by object_value, like object--support--pole or for traffic signs regulatory--stop--g1, we can also send to the API a filter like object--*--* to get all objects or object--sign--* to get all sign map features (store, advertisement, etc).

Describe alternatives you've considered None

Additional context This only works on API requests with there is an object_values= parameter, so may not be relevant to the SDK for now, though we could do the same filter style when requesting from the tiles, to make sure it behaves the same using the wild cards.