Simple QA projet to build quickly a mapserver mapping project with Open Street Map. This osm mapfile is build with Basemaps for Mapserver.
- Mapserver
- Postgresql/Postgis 2.x
- shptree
- unzip
- python-virtualenv
- imposm
You can build your own or use this script for a default osm database:
sh createdb.sh "'my_password'"
Doawload data and import in database
sudo virtualenv venv
source venv/bin/activate
sudo pip install imposm
make
make imposm
http://yourserver/cgi-bin/mapserv?map=/your/path/osmbase.map&LAYERS=default&template=openlayers