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
- Update the environment variable with your area of interest and zoom level in the
docker-compose
; - Run
docker-compose up -d
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