Skip to content

un-vector-tile-toolkit/onyx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onyx

A new vector tile server (to take over pietra and spinel)

background

I wanted to have a simple, scalable, fast, and interoperable vector tile server as a part of the UN Vector Tile Toolkit.

install

npm install -g pm2
git clone git@github.com:un-vector-tile-toolkit/onyx
cd onyx
npm install
mkdir config
vi config/default.hjson

an example of config/default.hjson

{
  morganFormat: tiny
  htdocsPath: htdocs
  port: 3000
  privkeyPath: /somewhere/privkey.pem
  fullchainPath: /somewhere/fullchain.pem
  chainPath: /somewhere/chain.pem
  logDirPath: log
  tz: {
    tapioca: 6
  }
  defaultZ: 6
  mbtilesDir: /somewhere/mbtiles
  fontsDir: /somewhere/fonts
}

I use *.pem files from Let's Encrypt.

run

./pmserve.sh

stop

./pmstop.sh

About

A new vector tile server (to take over pietra and spinel)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •