Version 1 (modified by 13 years ago) ( diff ) | ,
---|
Rendering OSM data with MapServer on Ubuntu 10.10
This page provides step by step instructions to setup a Ubuntu 10.10 LTS server from scratch to render OSM data with MapServer 6.x.
The following instructions assume that we start with a brand new Ubuntu 10.10 server with Apache installed but none of the MapServer related packages installed.
The setup will include:
- MapServer 6.x (from the UbuntuGIS repository)
- PostgreSQL/PostGIS (from the UbuntuGIS repository)
- OSM data to be downloaded from http://download.geofabrik.de/osm/
- Use of "imposm" to load the data in PostGIS: http://imposm.org/
- MapFile generated using "mapserver-utils": http://code.google.com/p/mapserver-utils/
- Tile caching using Mod-Geocache (to be renamed MapCache): http://mod-geocache.googlecode.com/
Install UbuntuGIS MapServer and PostGIS
- Relevant docs: http://trac.osgeo.org/ubuntugis/wiki/UbuntuGISRepository
- Commands:
sudo apt-get install python-software-properties sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install cgi-mapserver mapserver-bin sudo apt-get install postgresql sudo apt-get install postgis postgresql-8.4-postgis
Note:
See TracWiki
for help on using the wiki.