Skip to content

A library for downloading map tiles from a specified endpoint

Notifications You must be signed in to change notification settings

lovehandle/tile-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tile Utils

About

Tile Utils is a library for downloading map tiles from a specified endpoint

Installation

git clone https://github.com/rclosner/tile-utils.git
cd tile-utils
bundle install

Usage

./bin/tile-utils --lat-min 0 --lat-max 0 --lng-min 0 --lng-max 0 --path-template /local/path/{z}/{x}/{y}.png --url-template https://tile-server.com/{z}/{x}/{y}.png --zoom-min 10 --zoom-max 20

Options

  • --lat-min, -l : Minimum latitude
  • --lat-max, -a : Maximum latitude
  • --lng-min, -n : Minimum longitude
  • --lng-max, -g : Maximum longitude
  • --zoom-min, -z : Minimum zoom level
  • --zoom-max, -o : Maximum zoom level
  • --path-template, -p : Path to store map tiles
  • --url-template, -u : URL template for downloading
  • --help, -h: Show this message

About

A library for downloading map tiles from a specified endpoint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages