fpaupier / tile-downloader

Download tiles from TMS layer server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tile downloader

Download tiles from a TMS (Tile Media Server)

List of TMS layers providers: https://community.tibco.com/s/article/GeoAnalytics-Resources-WMS-and-TMS-Layers this project uses this layer TMS URL: http://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png

Get started

With docker

  1. Update the environment variable with your area of interest and zoom level in the docker-compose;
  2. Run docker-compose up -d

Without docker

Clone this project

git clone git@github.com:fpaupier/tile-downloader.git

Update your location of interest in src/main.go, see: minLat, maxLat, minLng, maxLng := 47.1005, 47.1247, -2.1119, -2.0675 (Pornic in France for example)

Build with go

go build src/main.go

Run the build object

./main

About

Download tiles from TMS layer server


Languages

Language:Go 90.3%Language:Dockerfile 9.7%