Skip to content

A simple CartoCSS style for POSM, highlighting HDM features.

License

Notifications You must be signed in to change notification settings

posm/posm-carto

Repository files navigation

POSM Simple

A simple CartoCSS style for POSM.

Installation

npm install
make .env

On macOS (with Homebrew):

brew bundle

Importing Data

This currently uses a Delaware extract from Geofabrik, mainly for its size.

createdb simple
psql -d simple -c "create extension postgis"
psql -d simple -c "create extension hstore"

osm2pgsql \
  --unlogged \
  --number-processes 4 \
  -v \
  -c \
  -d simple \
  -H localhost \
  --hstore-all \
  --hstore-add-index \
  -x \
  delaware-20151208.osm.pbf

Once data has been imported, necessary disk space can be reduced by running:

make smaller

This will truncate source archives, preventing them from being re-downloaded when checking for the existence of database tables.

Rendering

npm start

About

A simple CartoCSS style for POSM, highlighting HDM features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published