Skip to content

customized onyx to read the smaller ZL module (2 levels) for specific use

License

Notifications You must be signed in to change notification settings

un-vector-tile-toolkit/onyx-36

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onyx-36

customized onyx to read the smaller ZL module (2 levels) for specific use

background

Although many mbtiles are good at ZL6 module, ZL4 and ZL 5 work well for sparce area

install

npm install -g pm2
git clone [email protected]:un-vector-tile-toolkit/onyx-36
cd onyx-36
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

customized onyx to read the smaller ZL module (2 levels) for specific use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published