Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Map tile server powered by OpenStreetMap and mapnik.

Notifications You must be signed in to change notification settings

shinonomeiro/Node-TileServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-TileServer

Simple tile server powered by OpenStreetMap and mapnik.

Environment: up to Node 4.x (mapnik seemingly incompatible with newer versions)

Usage

Navigate to the directory and execute from shell:

$ node app.js

The server will start listening on port 3000. The rendering of new tiles may takes significant time as the data is pulled from an AWS RDS micro instance with limited computing power. A few sample pre-rendered tiles are provided under the /tiles folder.

Download a sample tile

http://localhost:3000/location/17/116400/79448.png (Shibuya Hikarie)

In the link above, 17 is the zoom level, 116400 is the tile horizontal position from the left and 79448 its vertical position from the bottom on a Web Mercator projection. The total number of tiles in both directions is 1 << 17 or 2^17.

About

Map tile server powered by OpenStreetMap and mapnik.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published