NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello,

I've followed the tutorial @ https://switch2osm.org/manually-building-a-tile-server-18-04-lts/. Since building a tile server for all of Europe took too long I've started with Germany. The map server is working fine. I have pre-rendered all tiles for zoom level 1 to 12.

Now I wanted to add other countries to complete Europe but the new data is not showing up on the lower zoom levels.

I used the command: osm2pgsql ... --append --slim -G --hstore --tag-transform-script ~/src/openstreetmap-carto/openstreetmap-carto.lua -C 20000 --number-processes 2 -S ~/src/openstreetmap-carto/openstreetmap-carto.style ~/data/liechtenstein-latest.osm.pbf

This command finished without problems. I can not see Liechtenstein in any zoom level above 13. If I zoom to 13 or 14 it renders the new tiles on the fly and its working fine. If I zoom out tho the map just turns blank. I see no borders or anything. I tried to render with the force command and it seems to pre-render the tiles again. Atleast the timestamp on the file is new, yet no visible changes can be seen. I used the following command:

render_list -f -a -z 1 -Z 7 -n 1 -m ajt -s /var/run/renderd/renderd.sock

What am I missing or doing wrong?

with kind regards, Karl

asked 18 Dec '18, 17:52

Karl%20Gustav's gravatar image

Karl Gustav
16112
accept rate: 0%

Could it be a browser caching issue?

(18 Dec '18, 19:18) Frederik Ramm ♦

I've tried different devices and browsers, cleared caches on all of them and pulled the the rendered tiles via wget and they show as blank images.

(20 Dec '18, 12:24) Karl Gustav

If you've reloaded the data then you'll need to:

  • Stop and restart apache
  • Stop and restart renderd
  • Clear your local browser cache

You may also want to:

I wrote some scripts for doing these sorts of things on a map site I look after - see here, here and here. These won't be useful to you exactly as they stand, but they will be helpful for showing examples of the things above that I've said you'll need to do.

permanent link

answered 20 Dec '18, 16:04

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 20 Dec '18, 16:04

Thank you, with /dirty and /status I got the "broken" tiles to rerender properly.

(21 Dec '18, 10:29) Karl Gustav

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×42
×9

question asked: 18 Dec '18, 17:52

question was seen: 3,166 times

last updated: 21 Dec '18, 10:29

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum