Questions tagged [mbtiles]

MBTiles is a file format for storing map tiles in a single file. It is, technically, a SQLite database. Latest format version as of February 2018 is 1.3.

Tile based web maps are made up of millions of tiles. Imagine loading all of those tiles; it would be inefficient and slow. That’s where MBTiles comes in. The MBTiles specification is an efficient format for storing millions of tiles in a single SQLite database.

SQLite is ideal for serving tiles on the web or displaying directly on mobile devices because it’s used on so many platforms. If you’ve worked with SQL databases before, SQLite should feel very familiar. With SQLite, each database is self-contained and represented as a single .sqlite file. There’s no external setup required. You can copy a .sqlite file from desktop to a mobile device and have all its rows, tables, and indexes ready to be used. It’s a portable, single-file solution for storing and serving web maps.

MBTiles takes advantage of utilities found in SQLite for solving problems like duplicate imagery. Maps that cover large areas of solid color like ocean or empty land can contain thousands of duplicate, redundant tiles.

For more

http://wiki.openstreetmap.org/wiki/MBTiles

https://www.mapbox.com/help/an-open-platform/#mbtiles-in-action

169 questions
2
votes
1 answer

How to make mbtiles background transparent?

I am using tilemill to generate mbtiles. Does anybody know how to make mbtiles background transparent?
prab
  • 290
  • 1
  • 12
2
votes
1 answer

How to import MBTiles into TileMill?

I know that TileMill can export MBTiles data,also it can import XML, SQLite and POSTGis data as a Layer's datasources. I want to import MBTiles data into TileMill as a Layer's data source. How can I do it?
zhonkd
  • 21
  • 3
1
vote
0 answers

How to create two layered MbTiles for large featured files using Tippecanoe?

My requirement is to process 3+ millions of geojson data(Polygon feature) and visualize it on Map in a way that it should show Polygons on the highest zoom level(individual entity) and clusters(in form of bubbles/circles may be) on the lower zoom…
1
vote
0 answers

Serving multiple mbtiles that have the same style

I'm generating a few mbtiles with TileMaker, using the exact same configuration: test1.mbtiles test2.mbtiles Those tiles have a source-layer=poi. I would like to serve them, without merging them beforehand (as I'm planning to have a…
1
vote
1 answer

How to get Geoserver to correctly serve up MB Vector Tiles

I have geoserver (v2.18.1) serving up MapBox Vector tiles. It works nicely and the data is coming back and rendering on the client. I have the MBTiles plugin installed. The issue I have is that the protobuf responses containing the date with each…
JT-Hello
  • 23
  • 1
  • 6
1
vote
0 answers

RSQLite: Read Blob from MBTiles files

I have an MBTiles file, which I can read with RSQLite like so: > dbGetQuery(con, "select * from tiles limit 10") zoom_level tile_column tile_row tile_data 1 8 40 156 blob[26.45 kB] 2 8 40 159…
Kyouma
  • 320
  • 6
  • 14
1
vote
1 answer

Raster tiles building extrusion

Is there any possible way to extrude all building at a certain zoom level on mapbox using raster tiles or is it a requirement to be using vector tiles for this task? Currently im assuming this as the example on how to produce 3D building in mapbox…
MacaScull
  • 161
  • 1
  • 10
1
vote
1 answer

add custom markers on klokantech/tileserver-gl

From (https://hub.docker.com/r/klokantech/tileserver-gl) i am able to run docker run --rm -it -v $(pwd):/data -p 8080:80 klokantech/tileserver-gl successfully and serve the map on localhost. However, I want to add custom markers when I click on the…
lewis machilika
  • 819
  • 2
  • 11
  • 25
1
vote
0 answers

Сan't get tiles using mapbox from geoserver

I ran into a problem that I can not correctly connect to the Mapbox. At the front, he gives this error.image of frontend Mapbox error. in the logs on the server, I get this: image of GeoServer logs I connect to the geoserver like this:
movage
  • 11
  • 1
  • 2
1
vote
0 answers

How to open a mbtiles files with java on desktop?

I want to make an offline desktop map app with java on windows. Until now I tried unfoldingmap(it won't open if the size of the file is more than 1 MB). I wonder how can ı make a program that open mbtiles and organized tiles make it a map.
ozan33.java
  • 33
  • 1
  • 7
1
vote
0 answers

Converting MapInfo TAB into MBTiles coordinates

I have a MapInfo TAB file which looks like this: !table !version 300 !charset WindowsLatin1 Definition Table File "hp.tif" Type "RASTER" (400000,1300000) (0,0) Label "TL", (500000,1300000) (10000,0) Label "TR", (500000,1200000)…
Dan
  • 115
  • 1
  • 8
1
vote
1 answer

How do I make Kepler GL use a local MBTiles Server for base maps instead of online maps?

I have an MBTile Server running on my local machine as a service for an offline web app. We use this to serve base maps in an offline environment. I'm exploring broadening the scope of the web app to include Kepler GL functionality. What file(s)…
1
vote
1 answer

Multi language support in Downloaded mbtiles

I've downloaded mbtiles from openmaptiles and Also displayed them in web page. I used this to translate labels from english to other languages. but it doesn't work. Does anybody know how to change languages? (Should mention that i display it with…
masoud vali
  • 1,528
  • 2
  • 18
  • 29
1
vote
1 answer

Merge multiple mbtiles files to one

I'm using the docker image klokantech/openmaptiles-server to server map data for an application. There is a requirement to only have certain country data available. Let's say Brazil, France, China and South Africa. I downloaded the mbtiles file for…
rwms
  • 313
  • 1
  • 5
  • 15
1
vote
1 answer

How to use mbtile map in offline mode in Gmap.net when cache is not available?

I am using Gmap.net in which I have successfully implemented mbtile map. This works fine in machine when folder GMap.NET is created in "C:\Users\manish.jain\AppData\Local\GMap.NET" for the first time when internet connection is available in the…
Manish Jain
  • 1,197
  • 1
  • 11
  • 32