This project contains the automated scripts to set up a OSM server for New Zealand.
The data being used comes from GeoFabrik, and is loaded periodically in the server, using a PostgreSQL database.
infra/roles/osm/tasks/main.yml
contains the URL of the dataset, in case you would like to try
different datasets.
The infrastructure is comprised of:
This project includes an Ansible playbook with automated instructions to set up the environment. The playbook works for Vagrant, but it can also be used locally or to set up a server via SSH.
In order to install the infrastructure you will need:
If you are running the Vagrant box, create a new WMS server, with any name, and with the following URL: http://192.168.100.100/mapserv?map=/opt/basemaps/osm-google.map. You can replace the IP address by the one of your real server too.
http://192.168.100.100/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-google.map http://192.168.100.100/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map http://192.168.100.100/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-michelin.map
Licensed under the MIT License. See LICENSE.txt.