Skip to content

A standalone OpenStreetMap Tileserver for Switzerland (based on Vagrant & VirtualBox)

Notifications You must be signed in to change notification settings

schaermu/vagrant-osm-tileserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Standalone OpenStreetMap-Tileserver

This Vagrant Box's target is to provide a completely standalone, off-the-wire running map-server. The following components are being leveraged to provide this functionality:

  • Ubuntu 14.04
  • Apache 2 with mod_tile (mod_tile is compiled from latest master on provision)
  • renderd (compiled from latest master on provision)
  • Mapnik (currently locked on 2.2.x branch due to compat issues)
  • PostgreSQL 9.3
  • osm2pgsql (compiled from latest master on provision)

The maps are rendered using osm-bright, GIS data is imported from the Swiss OpenStreetMap Association (using the latest data for Switzerland, downloaded on provision). The setup is based on this article.

It is HIGHLY advised to setup the box on a fast SSD disk (due to the high I/O throughput required for the GIS-data import). The disk space required on the server is about 15 GB (depends on the amount of tiles that are rendered).

When changing the memory settings for the box, don't forget to adapt the cache-setting for the osm2pgsql call (L112 in vagrant\Vagrantfile). It should be half the value of the memory space allocated.

Usage

  1. Make sure you have the latest versions of both Vagrant and VirtualBox installed.
  2. Clone or download the repository.
  3. Open a shell/command line and cd to vagrant
  4. Run vagrant up
  5. Wait until provisioning is finished (depending on your internet connection/host performance, this can take up to several hours!).
  6. Fire up a browser and open http://localhost:8080/ to open a Leaflet interface connected to your new tileserver.

About

A standalone OpenStreetMap Tileserver for Switzerland (based on Vagrant & VirtualBox)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published