This demo is of the Open Map Local dataset from the Ordnance Survey.
- Fetch the
SU
shapefile 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.sh
to import the data (DB details are based on thepg_setup.sql
script) - Run the
gravad
deamon:${PATH}/gravad --with-cors --config opmplc.config.json
- Serve the
index.html
file, 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.