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

0
2

When people edit the OpenStreetMap with editors like Potlatch or JOSM and save their edits, it's often taken long time before the main map (Mapnik) on the main website (openstreetmap.org) is updated. The map around e.g. zoom level 14 is updated quite quick (in hours) while on zoom level 11 and lower it often takes many weeks (or months?) before the map is updated.

I feel this is a big problem. When people do something, they want quick feedback. If it takes to long time, people lose motivation to contribute, because it's not rewarding. Simple, contributing to OpenStreetMap is not rewarding when it takes so long time to get the visual map feedback.

What is the reason to why the mapnik map on the main website is not updated more often? Is it just some settings or is it simply lack of CPU power?

asked 24 Sep '11, 14:56

Jonas_'s gravatar image

Jonas_
662152233
accept rate: 0%

edited 25 Sep '11, 19:23


The main mapnik map is redered by a single computer (yevaud). You can help speed up the servers by donating to OSMF.

As you have mentioned, tiles on higher zoom levels are usually rendered anew when viewed after a change has been made in their area. Due to the amount of data required to render tiles at low zoom levels and the relatively small changes in these tiles over time, they are rendered less frequently. (Often, a change that affects a z17 or z18 tile is not even visible on a lower zoom, so no reason to re-render the lower zooms on every change.) Sadly there is no mechanism that would tell us when a change is visible on a lower zoom level and when not; such a mechanism could help making better decisions about re-rendering but it will likely use the same amount of time as simply rendering the tile.

(Side note: coastlines are an exception to this; they are processed seperatly, error checked and saved to shapefiles for rendering. This is done on an irregular basis.)

If there are major changes to the data like a new country or landmass or major visual improvements you can contact administrators over IRC and they might rerender the tiles.

The main map is just one of the many ways of providing feedback to the contributors. Osmarender renders zoom levels 12 and up at once.

As a programmer you might also help by speeding up osm2pgsql the database importer used for mapnik. Or you can try to speed up mapnik itself. Aside from that there are a lot of problems we need developers for so you are welcome to pick an area you want to help develop.

permanent link

answered 24 Sep '11, 15:57

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

edited 25 Sep '11, 18:22

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273

It looks like also Osmarender has this big problem on the mainsite. The tiles in level z0-z12 are not rendered for a long time. You are right about Mapnik, level z0-z12 is never rendered by yevaud this year: http://munin.openstreetmap.org/openstreetmap/yevaud.openstreetmap/renderd_zoom.html

(25 Sep '11, 12:54) Jonas_

Interesting point about the dependencies at a lower level. If the net change is insignificant at a lower (nearer Z0 level)then re-rendering could be avoided. One possible strategy is to use Merkle trees (http://en.wikipedia.org/wiki/Merkle_tree) to determine impact to the parent image via use of reverse hashes. If the changes made to the current rendered tile has net change to the parent (or ancestors) then a dirty bit could be applied to an Z/X/Y hierarchical index so subsequent impact can be determined ahead of planet updates.

(now moving somewhat off topic)

The use of hashes can also reduce the effort in rendering and storing duplicate tiles. For example, the ocean tiles will invariably render the same (or similar hashes). Creating the equivalent of symlinks to fixed tiles would result in a reduced saturated rendered filesystem. There are transmission benefits to recognising duplicated tiles by maintaining a map of hash-to-tiles so that duplicated tiles can be referenced rather than explicitly instantiated by server filesystem AND client (possibly by the use of a return code and a reference to the hash).

permanent link

answered 08 Oct '13, 06:35

geo-san's gravatar image

geo-san
1
accept rate: 0%

1

This is an interesting approach but not suited for this help site, see Richard's answer.

(08 Oct '13, 07:23) scai ♦
-1

This is really the wrong place to be offering help as a software developer. By definition this site is focused towards more basic questions.

You should post to the dev@ mailing list instead.

permanent link

answered 25 Sep '11, 19:09

Richard's gravatar image

Richard ♦
30.9k44279412
accept rate: 18%

3

I just wanted to know why the main map wasn't updated for long time. In level z0-z12 (both mapnik and osmarender)

(25 Sep '11, 19:22) Jonas_
2

Maybe, but you sounded more as if you wanted to open a discussion - elaborating why you think it is a problem and inviting comments -, and again, that would have been a good posting on the mailing list and a less good posting for help.

(25 Sep '11, 19:54) Frederik Ramm ♦

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:

×535
×440
×362
×341
×35

question asked: 24 Sep '11, 14:56

question was seen: 7,294 times

last updated: 08 Oct '13, 07:23

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