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
1 answer

Cannot GET / - mbtiles loading with Node.js

I'm trying to load a .mbtiles file into my browser using the tilelive and mbtiles module. The "lon.mbtiles" is a sample city (London) downloaded directly from mapbox's website, and should be loadable, unless mapbox made an error on their end. Here's…
James Gould
  • 4,492
  • 2
  • 27
  • 50
0
votes
1 answer

How to add large file (in GB) in Xcode project?

I am working with Mapbox Framework. I have generated MBTiles file which I want to use in my project (for iPhones and iPads) but that file is having size of 3GB (which I can't use in project). When I added that file in project, it created a build of…
0
votes
1 answer

OSMdroid and MBTiles: get area information

I am planning to build sort of a geography quiz app where you have to touch inside the borders of the searched country. So, I have to display a map (I want it to be offline) and be able to test the user click against the map in some way. I've been…
0
votes
1 answer

Offline google maps with .mbtiles

I have mbtiles file and I need to implement it into my google maps view in android. I cannot find a suitable tutorial for this, so, if anyone has something to offer, please share it with me...
Miljan Vulovic
  • 1,586
  • 3
  • 20
  • 48
0
votes
1 answer

Offline google maps from image

Ok, so, I have a .tiff file that is my image for the map. I read a bunch of tutorials and forums about it, but I cannot find a solution on how to implement this. I created the .mbtiles, tried implementing that, it doesnt work, converted the .tiff…
Miljan Vulovic
  • 1,586
  • 3
  • 20
  • 48
0
votes
1 answer

Use MBTiles from online storage with OSMDroid

I have imported OSMDroid in my project and its running quite ok with default OpenStreetMap. I want to use an MBTiles format map instead of OSM. There are a lot of tutorial for using MBTiles as offline map but my MBTiles file is stored in an online…
Devil's Dream
  • 655
  • 3
  • 15
  • 38
0
votes
0 answers

Zoomed map does not load tiles

I am trying this fiddle to show mbtiles files, but it has a small issue when you zoom it... it does not load some images. I was wondering how to fix this. jsfiddle.net/kochizufan/rj4Eh/ Code from fiddle follows. HTML:
0
votes
1 answer

Extract .mbtiles file in google map

In my google map project i am using opendata ordnance survey tiles image . we have buy the all zoom level tiles image. when we purchase we can get a ".mbtiles" extension file. I want to extract this file in my project folder , How can i do it ,…
Biju s
  • 420
  • 1
  • 7
  • 16
0
votes
1 answer

Convert Big Planet Tracks SQLite to mbtiles for OSMdroid

I am looking a way to convert Big Planet Tracks SQLite to mbtiles. What is the difference? GDAL offers way to convert Geotiff to mbtiles in commandline. Big Planet Tracks SQLite so far I know is only supported by…
user914425
  • 16,303
  • 4
  • 30
  • 41
0
votes
1 answer

OSMDroid Offline MBTiles Bounding Box Latitude and Longitude at Runtime

I am looking for a way to read my Offline MBtiles and find bounding box in terms of latitude and Longitude at Runtime. I do not want to hard code the bounding box. I want to be able to read from MBTiles file and figure out the center based on top…
user914425
  • 16,303
  • 4
  • 30
  • 41
0
votes
1 answer

Reducing load time of offline mbtiles layer in Mapbox Android SDK

I have a basic Android app that loads and displays a local .mbtiles file using the Mapbox SDK (version 0.7.3) but there is a significant delay when first loading the app (resulting in a black screen) while it loads the tiles. It looks like it might…
StuGrey
  • 1,479
  • 9
  • 20
0
votes
1 answer

MBTiles db with SQLite in a c# windows store app

I am doing a windows store (8.1) app in c# Xaml to generate maps using the Bing Maps for c# extension with a mbtiles file, I've already used the project Portable Basemap Server to do the work but now I'm trying access the data in the mbtiles file by…
M.i.p
  • 21
  • 5
0
votes
2 answers

MBTilesOsmDroidExample Failed to Load MBTiles File from Assets Folder

I am compiling MBTilesOsmDroidExample https://github.com/djcoin/MBTilesOsmdroidExample I am getting following error. the mbtile file is in the assest folder. 11-21 12:29:29.693: E/Database(330):…
user914425
  • 16,303
  • 4
  • 30
  • 41
0
votes
1 answer

OSMDroid osmdroid-android-it Project Fails to Compile

I downloaded the official OSMdroid example from here. https://github.com/osmdroid/osmdroid and unable to get the osmdroid-android-it Android app to compile on latest Eclipse IDE with Android SDK. I tried with API 10 and 17. I downloaded and…
user914425
  • 16,303
  • 4
  • 30
  • 41
0
votes
1 answer

How to add clicked annotations on mapbox using offline mbtiles files

I have already managed to use interactive offline mbtiles (created on TileMill) in order to: Load more than 1000 points fast Make them understand when user is clicking each point and show a popup with the name of each point But I can't make the…
arniotaki
  • 2,175
  • 2
  • 23
  • 26