Skip to content

where to get mbtiles files from to use offline with mapsui #2363

Answered by gigfy2
gigfy2 asked this question in Q&A
Discussion options

You must be logged in to vote

QGIS is the answer. Download the desktop app. Go to XYZ Tiles in the browser. Add a connection. I wanted to use bing hybrid. That URL is http://ecn.t2.tiles.virtualearth.net/tiles/h{q}.jpeg?g=1

For some reason, they don't have that listed, so you have to add it manually. They have many others already with the URLs.

Then on the Processing toolbox go to Raster tools

double click on Generate XYZ tiles (MBTiles)

The Extent is the area you want. I do the draw on canvas so I can get exactly the area I want. Minimum zoom is 0, Max depends on how much area you are going for, and how much zoom you need. Then run it and the resulting mbtiles file(s) work with mapsui. If you have multiple files, lik…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pauldendulk
Comment options

Answer selected by gigfy2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants