This commit is contained in:
Zsolt Ero
2024-09-29 12:59:34 +02:00
parent c3c64539ef
commit 8d25ff6f1d

View File

@@ -2,40 +2,21 @@
If there is an issue about international names not being displayed correctly, first, we need to find one specific example item and check at which stage does the problem appear. If there is an issue about international names not being displayed correctly, first, we need to find one specific example item and check at which stage does the problem appear.
OpenFreeMap map data is created by the following stack: OpenFreeMap map data is created by the following stack:
**OpenStreetMap data ➔ OpenMapTiles specification ➔ Planetiler** **OpenStreetMap data ➔ OpenMapTiles specification ➔ Planetiler**
1. To debug OpenStreetMap data, go to OpenStreetMap.org and search for the query string. For example "Iwate Prefecture" gives these results: [nominatim](https://nominatim.openstreetmap.org/ui/details.html?osmtype=R&osmid=3792412&class=boundary) and [openstreetmap](https://www.openstreetmap.org/relation/3792412) 1. To debug OpenStreetMap data, go to OpenStreetMap.org and search for the query string. For example "Iwate Prefecture" gives these results: [nominatim](https://nominatim.openstreetmap.org/ui/details.html?osmtype=R&osmid=3792412&class=boundary) and [openstreetmap](https://www.openstreetmap.org/relation/3792412)
<img src="assets/osm.png" alt="image-20240929124052402" style="zoom:50%;" /> <img src="assets/osm.png" alt="image-20240929124052402" style="zoom:50%;" />
2. Then we need to check what the data is in the generated vector tiles. The best way to do this is to go to [Maputnik editor](https://maputnik.github.io/editor?style=https://tiles.openfreemap.org/styles/bright) and select View / Inspect. 2. Then we need to check what the data is in the generated vector tiles. The best way to do this is to go to [Maputnik editor](https://maputnik.github.io/editor?style=https://tiles.openfreemap.org/styles/bright) and select View / Inspect.
<img src="assets/inspect.png" alt="image-20240929124615601" style="zoom:50%;" /> <img src="assets/inspect.png" alt="image-20240929124615601" style="zoom:50%;" />
3. Then you can search for the little red dot matching your label and make a screenshot.<img src="assets/maputnik.png" alt="maputnik" style="zoom:50%;" /> 3. Then you can search for the little red dot matching your label and make a screenshot.<img src="assets/maputnik.png" alt="maputnik" style="zoom:50%;" />
Now we can compare where the naming problem is coming from. Now we can compare where the naming problem is coming from.
## Next steps ## Next steps
It'd be nice to compare with other OpenMapTiles implementations like [tilemaker](https://github.com/systemed/tilemaker) or the [OpenMapTiles reference](https://github.com/openmaptiles/openmaptiles). I don't have full planet datasets from these implementations currently, so if someone is willing to run one it'd be a great contribution. It'd be nice to compare with other OpenMapTiles implementations like [tilemaker](https://github.com/systemed/tilemaker) or the [OpenMapTiles reference](https://github.com/openmaptiles/openmaptiles). I don't have full planet datasets from these implementations currently, so if someone is willing to run one it'd be a great contribution.