id:osm-id - type node way relation of ID
The result of an ohsome requests yields i.e.:
..."properties": {@osmId": "way/25208386",...
So, the type of the osmId is already included. From my point of view, i did understand the readme in the way that a filter possibility id:osm-id
, so to speak id:123
, does not take directly the type of the ID in order to uniquely identify an osm feature.
In order to make an ohsome-query again with filter parameters, it would be nice having something like the type of the ID and the ID itself together, as already in osmId": "way/25208386"
in an ohsomeApi return. So, i.e.: "filter":"id:way/123"
using the unique osm id with its type.
Hence, a pythonian script like ohsomeApi..."filter":feature["properties"]["@osmId"]
would be directly possible seamlessly.
What do you think?