MerginMaps / MerginMaps/docs

Using GDAL to create MBtiles from WMTS/WMS and rasters

Open
#140 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

write new
Dominant language
Vue
Stars
15
Forks
22
Avg merge
5d 11h
Merged PRs (30d)
9

Description

It is more convenient to use GDAL for automating creation of MBtiles from WMTS/WMS.

  • Download the WM(T)S.xml
  • use GDAL to extract the layer you want: gdal_translate "WMTS:wmts.xml,layer=Road_27700" wmts2.xml -of WMTS
  • Convert to MBTile: gdal_translate -of MBTILES wmts2.xml os-offline.mbtiles -projwin <ulx> <uly> <lrx> <lry> -projwin_srs EPSG:27700
  • Add overviews: gdaladdo os-offline.mbtiles 2 4 8 16 32 64 128 256 512 1024

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No target documentation file or test is identified. Start by reviewing the GDAL command sequence for WMTS/WMS and raster-to-MBTiles conversion, then determine where this workflow belongs in the documentation. Done means the supported workflow, required inputs, and example commands are documented clearly.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.