FreemapSlovakia / freemap-v3-react

Freemap Slovakia web application (www.freemap.sk)
https://www.freemap.sk/
Apache License 2.0
35 stars 17 forks source link

Misplaced Wikipedia tags for linear relations #665

Closed DujaOSM closed 1 year ago

DujaOSM commented 2 years ago

Wikipedia tags associated with waterway and road route relations are rendered at wrong places. One would expect them placed on a member way, preferably a central one. Instead, they seem to be placed at some kind of polygon centroid, which may be way off the user expectations. Here's one example: Kudoš

zdila commented 2 years ago

Thanks for the report. This is a known (by me ;-)) issue. We use overpass to get only the centers of feature bboxes, otherwise the response would be very expensive. But maybe you can help me with overpass query that returns point on the line or ask about that on overpass support forum.

DujaOSM commented 2 years ago

Ah I see; a fix would be much harder than I anticipated (and justified by gravity of the problem). Unfortunately, my Overpass knowledge is far from adequate for that :(. It seems it would be easier resolved by additional development on Overpass side than on the API consumers.

zdila commented 1 year ago

https://groups.google.com/g/osm_sk/c/svQXL0Xh37Q