nile
v0.0.9
Published
Node Tile Server
Downloads
1
Readme
nile
nile (n(ode )tile) aims to be a tileserver using NodeJS.
Requirements
Nile uses osm - postgis database for rendering, therefor you need a
- PostgreSQL with PostGIS
- imported OpenStreetMap data (see Installation)
- Cairo, needed for node-canvas
You have to import the OpenStreetMap with the --hstore-match-only or --hstore-all option. Nile uses the tags-column for filtering.
Install
You can simply install nile with
npm install nile -g
Atfer that you can set up your service by creating a config file a sample configuration can be found at config/sample.json. At the startup the service searches at the folowing paths for a config file.
- /etc/nile/config.json
- ./config.json
- ./config/config.json
- ./config/sample.json
Run
You can run the service by
nile -s