From 6b32ec98871b0afe863f4f114794d7214b2a293f Mon Sep 17 00:00:00 2001 From: Greg <44733236+floongle@users.noreply.github.com> Date: Sun, 22 Dec 2019 18:02:10 +0000 Subject: [PATCH] Presentation corrections. --- README.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index be42160..0d6a38d 100644 --- a/README.md +++ b/README.md @@ -194,19 +194,24 @@ You can find an example of the import performance to expect with this image on t You can edit the style of the map by either replacing or editing /home/renderer/src/openstreetmap-carto/mapnik.xml. To replace: - docker cp mapnik.xml /home/renderer/src/openstreetmap-carto/ +``` +docker cp mapnik.xml /home/renderer/src/openstreetmap-carto/ +``` To edit in place: - docker exec -t -i /bin/bash +``` +docker exec -t -i /bin/bash apt install vi vi /home/renderer/src/openstreetmap-carto/mapnik.xml - +``` Once edited, save the file, then clear the tile cache: +``` rm -rf /var/lib/mod_tile/ajt/ - +``` exit out of the container and restart the container: - docker restart - +``` +docker restart +``` The tiles will now be updated with your new style. You'll probably need to clear your browser's cache. ## Troubleshooting