Why not ask your question on the new OpenStreetMap Community Forum?


Hello everyone,

I have a rather technical question but I'm sure I can find someone who knows the answer here :)

We put https://tile.openstreetmap.be/ online. The goal is to provide baselayers for Belgium and surroundings with default name tag but also with name:fr and name:nl only.

So here are my questions :
I want to render the tiles on a powerful server and only "stream" the tiles on the "tile.openstreetmap.be" (no rendering).
It works rather well but how can I make sure my tiles never expire ?
How can I "disable" the /dirty option ?
I see, using munin that all the tiles are "Old tile, attempted render". How can I disabled the "attempted render" ?

If needed, everything is documented here : https://github.com/jbelien/openstreetmap-carto-be/wiki

Thanks a lot :)

asked 16 May '18, 13:42

jbelien's gravatar image

accept rate: 16%

edited 16 May '18, 13:44

Without looking too closely at your setup:

  • You can disable /dirty in your Apache config through a rewrite rule that rewrites everything that ends in "dirty" to some other page, or returns a "forbidden" error, e.g. RewriteRule ^/.*/dirty$ / [F]
  • You can keep mod_tile from issuing low-priority "attempted render" requests by telling it that your database is 10 years old (or so): touch -d '10 years ago' /var/lib/mod_tile/planet-import-complete
permanent link

answered 16 May '18, 16:19

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

Thanks Frederik, I'll try that.

About /dirty what append if someone makes that query but renderd can't render it (because the database is not there). Is the tile deleted or does it "stay" ?

Thanks :)

(16 May '18, 16:23) jbelien

It stays. If you don't have renderd running, you could also just ignore everything since all render requests will fizzle out anyway, just make sure to set ModTileRequestTimeout to 0.

(16 May '18, 16:26) Frederik Ramm ♦

I just checked, ModTileRequestTimeout is already set to 0.

Should I also set ModTileMissingRequestTimeout to 0, I guess so right ?

(16 May '18, 16:31) jbelien
Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 16 May '18, 13:42

question was seen: 1,992 times

last updated: 16 May '18, 16:31

powered by OSQA