OpenGeoscience/osm-tileserver

Name: osm-tileserver

Owner: OpenGeoscience

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

Forked from: schaermu/vagrant-osm-tileserver

Created: 2016-11-02 00:46:56.0

Updated: 2017-11-22 10:11:09.0

Pushed: 2016-11-04 19:09:41.0

Homepage: null

Size: 40

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

The maps are rendered using osm-bright, GIS data is imported from the Swiss OpenStreetMap Association (using the latest data for California, 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.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.