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
Change mapnik.xml style #152
Comments
You can use -v to substitute the file |
there are several ways. you can modifiy Dockerfile to COPY the mapnik.xml from your computer to docker during "docker build ." command. That will take the file and copy to docker, build it, and they if you do your normal "docker run", it will use it. |
One example of doing the copy/import of the newly regenerated mapnik.xml on docker-compose file will be nice for us rookies ;) |
please tell me how to do this ,thank you !! |
how can i do that |
|
I'm new to openstreetmaps and docker and was wondering is there a simple way to update the map style.
My understanding is that I can edit the style files in openstreetmap-carto and then build the xml with carto using
carto project.mml > mapnik.xml
But then I'm not sure what to do with mapnik.xml.
I followed the switch2osm docker tutorial and run the container using
docker run -p 8080:80 -v openstreetmap-data:/var/lib/postgresql/12/main -d overv/openstreetmap-tile-server:1.3.10 run
Is there a way to simply point the docker container to the new mapnik.xml? Sorry if that question doesn't make sense (I'm not familiar with how docker functions).
The text was updated successfully, but these errors were encountered: