Basemaps projet for QA with OSM
Python Shell Makefile
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of solutionsmapgears:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
fonts
symbols
.gitignore
README.markdown
createdb.sh
epsg
fonts.lst
imposm-mapping.py
install_mapservsuite.sh
makefile
osmbase_sample.map

README.markdown

osmbase

Simple QA projet to build quickly a mapserver mapping project with Open Street Map. This osm mapfile is build with Basemaps for Mapserver.

required

  • Mapserver
  • Postgresql/Postgis 2.x
  • shptree
  • unzip
  • python-virtualenv
  • imposm

database

You can build your own or use this script for a default osm database:

sh createdb.sh "'my_password'"

instructions

Doawload data and import in database

sudo virtualenv venv
source venv/bin/activate
sudo pip install imposm
make
make imposm

test

http://yourserver/cgi-bin/mapserv?map=/your/path/osmbase.map&LAYERS=default&template=openlayers