NL Tile Server

From OpenStreetMap

Jump to: navigation, search

This is the wiki for the dutch Tile Server. It's purpose is to provide a stable mapnik-based rendering for the use by third-party applications. Additionally it can be used to showcase new features and services that are available given the richness of the dataset.

The server is sponsored by JR Online.

Contents

Services provided

Update information

The basic update mechanism is driven off the daily diffs produced by the main API server just after midnight UTC. These are copied to Hypercube and combined with the previous day's planet dump to produce a new planet dump. This is then cut down to just a Netherlands only version. By the time this completes it is nearly 6am.

At 6:15 CEST the NL dump is downloaded to the tileserver and uploaded into the database. After this is done the cache is cleared of tiles older than 48 hours.

As a result it can take upto 48+6 hours before data in the API appears. If you go to a place where no-one has looked it will be new. If you go somewhere that is looked at often, it will be on average 24 hours out of date.

bbox 2.7984557419334006,7.388298070963748,50.62642256377723,53.954129036190224

Server specs

Hardware / Virtual machine

  • CPU : Intel Xeon 2 Ghz Quadcore (2 core)
  • Memory: 2 GB RAM
  • Hard disk (ext3) space:

DF says:

 Filesystem             Size   Used  Avail Use% Mounted on
/dev/xvda3              61G    40G    18G  70% /
/dev/xvda1             128M    12M   110M  10% /boot
tmpfs                  537M      0   537M   0% /dev/shm
/dev/xvda2             1.1G    36M   955M   4% /tmp

Installed Software

  • Centos 5
  • Apache 2.2.3
  • postgres 8.1
  • postgis 1.3.2
  • Mapnik 0.52
  • PHP Version 5.1.6

setup instructions

Apache

restart apache graceful, needed for reload of mapnik stylesheets sudo /usr/local/bin/apachectl_graceful

PostGres

login psql -U mapnik osm

Or

export PGUSER=mapnik

export PGDATABASE=osm

psql

Manual download and import latest planet

wget -q -m -nd http://hypercube.telascience.org/planet/planet-nl-latest.osm.gz

/home/kleptog/osm2pgsql/osm2pgsql --slim -m -c -d osm planet-nl-latest.osm.gz

Planet NL latest

/home/mapnik/process/planet-nl-latest.osm.gz

Server Stats

http://tile.openstreetmap.nl/munin/localhost/index.html

Personal tools
recent changes