kent1D / pianoforte

Generic purpose map rendering in two flavours.

Home Page:http://carte-mae.enix.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Piano-Forte

A world map in two flavours:

  • Piano, when you need a very light background to put data on top of if
  • Forte, when you need a generic purpose map

Forte

screenshot from 2017-10-02 09-33-18 screen shot 2017-10-31 at 18 50 50-fullpage

Piano

screenshot from 2016-08-23 08-50-12 screenshot from 2016-08-23 08-51-19

Dependencies

  • Python >= 3.6.x
  • Gdal >= 2.2.x

Local installation

Create a pianoforte PSQL database:

sudo -u postgres createdb pianoforte -O youruser

Clone this repository:

git clone https://github.com/tilery/pianoforte

Compile the world boundaries:

make boundary

Download the PBF from Geofabrik:

make download

Note: you can use another area by setting the PBF env var to the Geofabrik relative path (default is: africa/egypt-latest.osm.pbf).

Import the PBF and the boundaries into the database:

make import

Copy the localconfig sample, and change the db configuration inside:

cp localconfig.js.sample localconfig.js

Run kosmtik with forte:

kosmtik serve forte.yml

Or with piano:

kosmtik serve piano.yml

Remote deployment

See pianoforte-deploy.

About

Generic purpose map rendering in two flavours.

http://carte-mae.enix.org/

License:Creative Commons Zero v1.0 Universal


Languages

Language:CartoCSS 89.0%Language:Makefile 7.7%Language:JavaScript 3.3%