Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wikidata labels seem to get used instead of OpenStreetMap name-tags #221

Open
jdhoek opened this issue Dec 29, 2023 · 5 comments
Open

Wikidata labels seem to get used instead of OpenStreetMap name-tags #221

jdhoek opened this issue Dec 29, 2023 · 5 comments

Comments

@jdhoek
Copy link

jdhoek commented Dec 29, 2023

If I look at the map I see the province of Namur in Belgium rendered as 'Provincie Namen'. There are two issues here:

  • The Dutch name is chosen for some reason, despite this being Wallonia where French is the first language, and my browser being set to English.
  • The Dutch name includes the 'province' classifier.

In the OpenStreetMap data (relation 1311816) I am not seeing this 'Provincie Namen' name at all, but all name tags which could be relevant here (name, name:en, name:fr, name:nl) are set correctly. Why are these not used in preference to external data?

Wikidata (Q1125) does add 'province' in front of its labels. This is probably useful for Wikidata, but not for maps.

Any idea what's going on here?

@zbycz
Copy link
Owner

zbycz commented Dec 29, 2023

Hi, thanks for comment. There are two reasons for that:

  1. osmapp uses Maptiler API, and they preprocess all the names and use the Wikidata/Wikipedia source as main, if something is missing it uses OSM data.

There is a pretty long discussion about integrating Maptiler Vector Tiles on main OSM website (as another layer) and i think they decied against in the end: openstreetmap/openstreetmap-website#4042

I know it would be better to have a fully OSM-first tiles as well, but I don't have to capacity to run my own OpenMapTiles instance for the whole world. If you have the idea how to get funds/people for that, it would be also cool to run minutely updated OMT tiles from the Makina Maps stack #133.

  1. Another reason is that Osmap currently uses English first labels, and it doesn't correctly change it according to the user - see here for more: https://docs.maptiler.com/sdk-js/examples/ip-map-language/

@jdhoek
Copy link
Author

jdhoek commented Dec 29, 2023

if something is missing it uses OSM data.

That… is pretty shocking. It basically takes the stance that OpenStreetMap data is incorrect, with Wikidata being better maintained. This is not my experience.

@jdhoek
Copy link
Author

jdhoek commented Dec 29, 2023

Is there a corresponding upstream MapTiler issue somewhere I can reference?

@jdhoek
Copy link
Author

jdhoek commented Dec 29, 2023

Ah, I see I opened one myself a while ago: openmaptiles/openmaptiles#1547

@zbycz
Copy link
Owner

zbycz commented Dec 30, 2023

Yes, they made this decision in the beggining and now they probably can't undo, because their clients want it that way. I think some Maptiler representative spoke in the referenced issue.

ad PR) Wow, thats unexpected! Thanks for opening it. I hope we can see it resolved someday, or perhaps find another Vector tiles provider.. (i would esp. love to see minutely updated tiles!)

//edit: I added a disclaimer section to homepage which states this label issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants