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
0
votes
0 answers

MBTile and its Layers Issue

I am using MBTiles for one of my Apps. Client given 1 MBTile file and I need extract that MBTile file and get all layers with in that MBTile file and and its layer Names I need I am using the code below: NSURL *url=[NSURL fileURLWithPath:[[NSBundle…
Hak
  • 145
  • 1
  • 9
0
votes
2 answers

Best file size / quality with MBTiles: PNG 8Bit, JPEG or perhaps other Mapnik Export (SVG?) possibilities?

I did a map with Tilemill and currently it's pretty much a monster when you look at the traffic it creates when served with Tilestream. A little bit of map interaction can quickly lead to about 15 to 20MB downstream (that's with PNG24). I tried PNG8…
0
votes
1 answer

access to mapbox mbtiles for slow internet connections

I have to create a webmapping interface for slow internet connections. I thought on creating the mbtiles and unzip them on their server (mbutil), but I am afraid they don't have quite a lot of disk space there. The question is, it is possible to…
user1249791
  • 1,241
  • 4
  • 14
  • 33
0
votes
1 answer

How to compact mbtiles with mbutil

I'm creating maptiles with arc2earth and ArcGIS and it creates a lot of duplicate tiles. I would like to reduce its size using mbtiles. I think it is possible to "compact" tiles, but I don't find the way. Do you know if mbtiles still have compact…
0
votes
1 answer

MBTiles maps not working in OSMDroid

I am trying to make an application that relies on offline maps. Openstreet maps became my choice as OSMDroid seems to be used quite heavily. However when I tried it with the offline maps (MBTiles generated using Mobile Atlas creator) the "MapView"…
Hari G
  • 5
  • 2
  • 4
0
votes
0 answers

Layer control with mbtiles-php using leaflet wax

I'm trying to get a layer control working that will not only change the tilejson map layers, but also select the appropriate layer interaction (mouse-over) for the selected layer. I'm using the infostraems mbtiles-php code to serve mbtile maps from…
Jason Barnes
  • 58
  • 1
  • 1
  • 5
0
votes
1 answer

tapOnCalloutAccessoryControl delegate method not getting called on acessory view tap in mapbox mapview

I am working on my app using mapbox sdk(MapBox iOS SDK 1.0.3) and installed the framework using steps as described here. Now when i add the annotation on the map then i am able to show the title,subtitle,left/right accessory views but the accessory…
sac
  • 382
  • 1
  • 8
0
votes
1 answer

how to use mbtiles file with arcgis api for android?

I want to develop an Android app that needs to display maps but has to work offline all of the time with arcgis API for Android,and my data type is .mbtiles file. How can I show .mbtiles file on Mapview(ArcGIS Android SDK 10.2)?
hhxi
  • 1
  • 1
0
votes
1 answer

why MBTilesMapLayer is not a resolved type?

I used the code provided in the below link and the jar files mentioned but its not recoginzing "MBTilesMapLayer". Its showing that "MBTilesMapLayer is not a resolved type." What may be the problem? code for display of mbtiles in android using…
himanshu
  • 41
  • 1
  • 2
  • 11
0
votes
1 answer

nutiteq,AltusMappingEngine,android,mbtiles,Mobile Atlas Creator,TileMill

What is the similarity and difference between "nutiteq" and "AltusMappingEngine"? I want to store map locally in my android application, for this I need to convert map to "mbtiles" format.Which tool should I use(1.Mobile Atlas Creator, or…
himanshu
  • 41
  • 1
  • 2
  • 11
0
votes
1 answer

Publishing MBTiles online, issue with .json file or mb-util extraction

I've been trying to display my .mbtiles on the browser inside a "map-div". I extracted the .mbtiles into .png tile files and a .json file using mb-util This is how my server's public_html looks like: Tiles folder: metadata.json inside tiles…
Doruk Karınca
  • 287
  • 1
  • 3
  • 9
-1
votes
0 answers

To implement clustering on zoom in and out and filtering based on date and time in MBTILES format

I am using mapbox in my project, which requires to load 40 lacs data points in a heatmap showing clustering on zoom in and out and filter functionality based on date and time. I tried using Mapbox Tiling Services, the data file does not reduce much…
-1
votes
0 answers

QGIS to PostGIS Comand Line Connections

I am trying to make PostGIS connections for QGIS and use it to convert database data to mbtiles. Can anyone help me with that, step-by-step prosedure of connecting to PostGIS database, importing from geometry table en exporting it using QGIS process…
-1
votes
1 answer

Check if coordinates Lat/Long is included in mbtiles

I have written a small java program to check whether a lat/long coordinates is included in a generated vector mbtiles. For instance, if I want to check if Paris is "present" in the mbtiles, this is what I do : public class TilesUtils { …
Dimitri
  • 8,122
  • 19
  • 71
  • 128
-1
votes
1 answer

Mbtiles to underlying dataset

I have a .mbtiles and would like to convert it back to a dataset so I can edit it. I don't see a convert/export button for this function on mapbox studio or maptiler. Any help would be great thanks.
Alfred
  • 51
  • 4
1 2 3
11
12