BTW, here’s another corner case I’ve come across: https://graphhopper.com/maps/?point=Nakhchivan%2C%20Azerbaijan&point=41.681118%2C44.862671&layer=MapQuest
The problem is, there is a small way on the end of the ferry in Turkmenbasy that is tagged both as highway=tertiary and railway=rail. The test here: https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/CarFlagEncoder.java#L204 doesn’t take this case in account. Now, it’s true that the ferry is transporting trains, and they may share the pier at some point (à la strassenbahn) but it may be more correct to represent the road and railways as two different ways rather than a single one. But instead of splitting hairs I could just as easily edit OSM and keep the test as is (according to overpass-turbo, there are a few other cases in other places, but it seems most of them are strict railways). What do you think ? Laurent _______________________________________________ GraphHopper mailing list [email protected] https://lists.openstreetmap.org/listinfo/graphhopper
