I have got kindergartens, supermarkets and hairdressers along " apartment search with openrouteservice". ( I bypassed the “[0] issue”.)
However, I could not get bus stops with ORS.
How can I get bus stops with ORS?
bus_station: 587 / bus_stop: 588
are not effective.
seems like every POI only is assigned one single child category:
if you try using plattform: 607 it might catch them.
Best check the osm objects of the missing bus stops and see what their tag-value-pairs are.
At first, I simply changed
categories_poi = {‘kindergarten’: [153],
‘supermarket’: [518],
‘hairdresser’: [395]}
to
categories_poi = {‘bus_station’: [587]}
or
categories_poi = {‘bus_stop’: [588]}.
However I could get no POIs.
This time, I put
categories_poi = {‘bus_stop’: [607]}
and I could get some POIs.
Meanwhile, some bus stops in the designated area on the map were ignored, yet.
I wonder some types of tag info might be used for “bus stop”.
bus_stop,
bus_station,
node[“highway”=“bus_stop”], etc.
My understanding of OSM,ORS philosophy and history, etc. is quite limited and very foggy.
I will study them more.
In the openpoiservice bus_stop is somehow in the amenity parent category…
which does not seem like the right tagging.
You can request multiple categories at once though.
For more info take a look at the api documentation as well as the openrouteservice-py package which is used in the examples.