-
Notifications
You must be signed in to change notification settings - Fork 473
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
How could I set the style? #10
Comments
To do that you need to get another https://github.com/mapbox/osm-bright/tree/master/osm-bright It can be compiled to a mapnik.xml as described here in the Dockerfile: openstreetmap-tile-server/Dockerfile Line 60 in 67a1bf2
You would then put that file in the container in the same place as the original. |
Thanks @Overv Sorry, but I'm new in Docker. Could you put here how could I set that osm-bright style? I suppose I should do something before to run the command:
Thanks in advance. |
You need to modify the |
Thanks @Overv :) I'll play a bit with that. And thank you for this awesome easy to deploy OSM server!! \o/ |
Hi @Overv I try to use the positron style from cartodb https://github.com/CartoDB/basemap-styles/tree/master/cartocss/web-styles/positron.tm2 As I understand the mapnik.xml is already build (named project.xml there), I try to copy this file and replace the existing mapnik.xml in the docker container but my tiles are blank so I guess I missed something ;) Thanks for your input! |
The |
Hello @Istador I copy those folders too as you can see (by the way i don't know if there are mount):
Here is the log of the container just after restart (sorry it's a bit huge)
|
And before restart i delete the old tiles
|
@2803media hey were you ever able to get the custom style to work? |
I have a very similar issue. I'm trying to use Positron from CartoDB/basemap-styles as an initial style, however, I wasn't not able to make it work with Kosmtik. So I'm still a step ahead to generate project.xml and replace one in the docker image. |
Hi,
Is there any way for setting another map style? Not the default OSM. Mapnik for example?
Thanks in advance!
The text was updated successfully, but these errors were encountered: