-
Notifications
You must be signed in to change notification settings - Fork 40
Rendering tiles with English labels when they are available #18
Comments
Well, this issue is at least twofold:
Basically the difference between the German style master branch and the upstream+l10n branch is that the former also includes style changes (road-colors, icons, etc.) common in Germany and the latter is about name tags only. As a live example for such a setup see the tileserver at Fraunhofer IOSB which has both: |
https://github.com/giggls/openstreetmap-carto-de/blob/master/INSTALL-de.md is likely what you are looking for :) |
Unfortunately, it is difficult for me to figure out how to apply those instructions in the context of the default instructions for setting up a tile server. I am looking at the slides and video mention on the wiki to try to better understand the context. |
If I am understanding the system correctly, the basic idea is that I follow the default instructions for setting up a tile server, using osm2pgsql to import the pbf data into a postgres db. Once the db has been created, your project is designed to modify the database and provide a translation layer through the use of db views which have names that mapnik and renderd expect. Is this correct? |
You can either use the osm2pgsql style from German style ore the one from upstream carto. |
I am still trying to get your project integrated with the standard tile server.
I do get a lot of warnings here...not sure if they are relevant
everything worked without any errors or warnings reported. Needed to get the hstore-only.style from the master branch
I changed renderd.conf to:
I made sure to clear the Google Chrome cache and remove all cached images from /var/lib/mod_tile. I then visited: http://localhost/hot/8/159/104.png But, it will not render. I have tried:
after grabbing hstore-only.style from the master branch of openstreetmap-carto-de The checks for mapnik-german-l10n all pass:
Any idea what I might be missing? |
This is definitely off-topic here! If you think you have an issue with https://github.com/giggls/openstreetmap-carto-de open an issue there. Please read https://github.com/giggls/openstreetmap-carto-de/blob/master/INSTALL-de.md before opening issues. You may also try using render_single_tile.py and make to see if this works before trying to use this in a full blown rendering stack. Carto warnings are harmless. This is not a support forum but an issue tracker. Up till now I have seen zero issues in my code just questions which answers are already documented. |
understood. When I figure out how to make use of your project to render English labels, I can let you know if you like and you could provide it to others so they can use it for the same purpose. Thank you for your assistance. |
It is documented how to do this and it works fine not just for me but for a couple of people. |
BTW you may also have a look at this issue: I really do not like it very much to explain the same stuff over and over again. |
Again, I do not wish to bother you further as you made it clear this is not a support forum. Thank you for your assistance. When I come up with a clear set of instructions for how to integrate this work with setting up the default tile server I will certainly share them with you. It does seem as if various bits and pieces are spread around and I will see what I can do to pull them together so no one has to again explain things over and over which I know can be very annoying. |
This is related to gravitystorm/openstreetmap-carto#3870 and someone in that issue pointed me here.
I setup my own mapping tile server according to the instructions found at https://switch2osm.org/manually-buildin … 18-04-lts/ (amazing job for whoever wrote them) and am using the planet data (https://planet.openstreetmap.org). However, when I render a tile in, for example, China (http://localhost/hot/7/106/53.png / https://a.tile.openstreetmap.org/7/106/53.png)), the labels are in Chinese characters.
As I understand it, this project can assist me in getting english only labels, but I am not exactly sure how it fits in with the rest of the system.
Is it intended to be a drop-in replacement for apt install mapnik-utils python-mapnik ?
What changes would need to be made to the instructions for setting up a tile server to integrate this project and specify English only labels?
Or, have I misunderstood something?
The text was updated successfully, but these errors were encountered: