Skip to content

Support places that are multipolygons #23

@Findus23

Description

@Findus23

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions