Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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.

Assessment

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

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.

Description

write new

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
Dominant language
Vue
Stars
15
Forks
22
Avg merge
5d 19h
Merged PRs (30d)
11

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.

More from MerginMaps/docs

All issues in MerginMaps/docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.