I was wondering why some points of interests were not showing up in Motis, even though they are clearly mapped in OSM.
And it turns out the common pattern is that they are buildings that are mapped as a multipolygon relation.
e.g. Institut für Medizinische Chemie maps pretty clearly to one building in Nominatim, but does not show up at all in Transitous.
Looking at the code, it seems like the area() function (which I think is called for all relations) does not handle importing buildings as places:
|
void area(osmium::Area const& a) { |
Unfortunately I can't think of a simple solution to that as place_is_way_ only has two ways of mapping place_osm_ids_ to way/node with no simple way to represent a relation as a place.
I was wondering why some points of interests were not showing up in Motis, even though they are clearly mapped in OSM.
And it turns out the common pattern is that they are buildings that are mapped as a multipolygon relation.
e.g.
Institut für Medizinische Chemiemaps pretty clearly to one building in Nominatim, but does not show up at all in Transitous.Looking at the code, it seems like the
area()function (which I think is called for all relations) does not handle importing buildings as places:adr/src/extract.cc
Line 96 in a0fa09d
Unfortunately I can't think of a simple solution to that as
place_is_way_only has two ways of mappingplace_osm_ids_to way/node with no simple way to represent a relation as a place.