Cimera42 / osm-background-combiner

A simple server to combine map tiles from multiple sources for OpenStreetMap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

osm-background-combiner

A server for combining multiple map tile backgrounds into one image.

Installation

  1. Install Node.js
  2. Install yarn
  3. Run yarn install in this project
  4. Copy settings.template.json and name it settings.json
  5. Add your Strava cookie data, as per https://wiki.openstreetmap.org/wiki/Strava#Global_Heatmap_in_High_Resolution

Usage

Run

Run the server

yarn start

Theory of operation

  1. Fetch source tile images for give tile coordinates
  2. Resize all to the size of the smallest
  3. Overlay the images
  4. Respond to request with new combined image

Attribution

DCS NSW imagery tiles

Strava Heatmap tiles

About

A simple server to combine map tiles from multiple sources for OpenStreetMap

License:MIT License


Languages

Language:TypeScript 90.9%Language:JavaScript 9.1%