This demo is of the Open Map Local dataset from the Ordnance Survey.
- Fetch the
SUshapefile tile data from the Opendata link - Create a postgres/postgis database (see the pg_setup.sql file)
- Unzip into a directory (e.g.
shp) - Run the script
opmplc_shp_pg.shto import the data (DB details are based on thepg_setup.sqlscript) - Run the
gravaddeamon:${PATH}/gravad --with-cors --config opmplc.config.json - Serve the
index.htmlfile, e.g. using python - note the path!:cd ${GRAVA_HOME}/docs/samples/os && python -m SimpleHTTPServer 8081
The style is adapted from the Ordnance Survey style sheets - available at Github. Not all of the style is implemented but enough for a sample.