Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 922 Bytes

OPMPLC.md

File metadata and controls

16 lines (11 loc) · 922 Bytes

Open Map Local

This demo is of the Open Map Local dataset from the Ordnance Survey.

Running

  • 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 the pg_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

Style

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.