Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published