1.0.13 • Published 1 month ago

tileblaster v1.0.13

Weekly downloads
35
License
Unlicense
Repository
github
Last release
1 month ago

tileblaster

tileblaster is a map tile caching (and optimizing) proxy, designed to run with nginx.

install

npm i tileblaster -g

use --no-optional if you don't want tile optimization or versatiles support.

run

tileblaster /path/to/config.js

Use pm2, nodemon, forever or similar to run tileblaster as service;

configuration

see config.js.dist

nginx configuration

upstream upstream_tileblaster {
	server unix:/path/to/tileblaster.sock;
}

server {
	listen 80;
	server_name tileblaster;

	gzip_static on;
	# brotli_static on; # if ngx_brotli is available

	if (-f $document_root/$uri.err) {
		return 204;
	}

	location / {
		root /path/to/tileblaster/tiles;
		try_files $uri $uri/ @tileblaster;
	}

	location @tileblaster {
		proxy_pass http://upstream_tileblaster;
	}
}

usage

get the tiles via http://server/<mapid>/<z>/<x>/<y>[<d>].<ext>

  • <mapid> is the map id specified in your config.js
  • <z>, <x> and <z> are the tile coorinates
  • <d> is the optional pixel density marker, for example @2x
  • <ext> is the extension, for example png, geojson or pbf
1.0.11

1 month ago

1.0.13

1 month ago

1.0.12

1 month ago

1.0.10

2 months ago

1.0.9

3 months ago

1.0.2

9 months ago

1.0.1

10 months ago

1.0.8

8 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

0.4.10

9 months ago

0.4.11

9 months ago

1.0.0

1 year ago

0.4.9

1 year ago

0.4.8

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.1

1 year ago

0.4.3

1 year ago

0.3.6

1 year ago

0.4.0

1 year ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.2

2 years ago

0.3.3

2 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.7

3 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.0

6 years ago