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

Why is Tippecanoe conversion of geojson file to pbf vector tiles resulting in incorrect lat/long placement?

I'm trying to generate pbf vector tiles from json data using tippecanoe. Ultimately will be served up for use in OpenLayers but had no success there so tried testing the tiles in QGIS. When I view any of them (in QGIS) instead of being in the…
Jim
  • 155
  • 1
  • 8
1
vote
1 answer

How to load large geojson file into mapbox?

I have a large geoJson file (almost 700MB) and I need to load it in my map using mapbox and openmaptiles server. I need to have an external file, so I can't use Mapbox Studio for uploading and converting the data. I can't use geojson2mvt since the…
ROM
  • 153
  • 3
  • 16
1
vote
1 answer

Mapbox GL JS - remove cluster effect on mbtiles

I am currently working with a large file of points that I want to filter according to properties and bounding box. When I add this layer to my map using a geojson file, I can manage the cluster effect using property as mentioned in documentation but…
CPauline
  • 13
  • 4
1
vote
1 answer

mbtiles files with leaflet

I am using Tileserver to host my mbtiles file. I am trying to open my mbtile sfile using leaflet in ionic. I am not able to see map. Following is the code that I am…
1
vote
0 answers

Convert MBTiles package to illustrator vector information

My question is; can I convert the MBTiles package information as .ai Illustrator files?
timo
  • 11
  • 1
1
vote
0 answers

How can I pass vector source (mbtile) from mapbox gl js or react-map-gl to deck.gl?

As far as I understand the deck.gl documentation deck.gl layer's data must consist of: Array or Iterable, optional Default: [] https://uber.github.io/deck.gl/#/documentation/layer-catalog/layer?section=static-members But I would like to get data…
1
vote
1 answer

Mapbox-gl-js gives typeerror: 't' is undefined with tiles

Link to problem: https://khuts.org/webmap/osm-bright-style/mines.html Neither the mapbox-street layer nor the tile layer show. This map has an mbtiles file served using tileserver-php. The error refers to tile-coord.js, which does not seem to have…
Narelle
  • 31
  • 6
1
vote
0 answers

How do I convert geojson into mbtiles automatically?

I would like to convert geojson into mbtiles either in the client or server side to be loaded in leaflet. I have data that will be inserted into postgesql everyday and I want to turn that into mbtiles when a user views the map. I have used…
BStill
  • 894
  • 1
  • 9
  • 33
1
vote
1 answer

Incorrect coordinates in mbtiles generated with Tippecanoe

I generated an mbtiles file using Tippecanoe with just -zg and --drop-densest-as-needed as extra parameters. I uploaded the file to Mapbox Studio and everything works well, both in Studio and when loading the tiles through a mobile app. I then tried…
Jukurrpa
  • 4,038
  • 7
  • 43
  • 73
1
vote
1 answer

Offline geocoding using MBTiles with vector tiles

I load an MBTiles Vector Tile data source of my country, using carto-mobile SDK // Initialize base layer with a bundled styles let baseLayer = NTCartoOnlineVectorTileLayer(style: NTCartoBaseMapStyle.CARTO_BASEMAP_STYLE_GRAY) // Use the…
Randy Hector
  • 89
  • 1
  • 1
  • 9
1
vote
1 answer

I am using MBtiles for offline map in iOS app, how to merge updated MB tiles with old one. I am using mac system

I have updated MBtiles as a new file and want to merge with existing main MBtiles file, how can I do that in MAC OS system. Simply I want to update the MBtiles, any suggestion?
MSPL Apps
  • 49
  • 8
1
vote
1 answer

CORS origin header is incomplete in Internet Explorer 10 when compared with Chrome and FireFox

I have web server running node server running on a server. The node server set the in the response header 'Access control' to a specific web site to allow only that website accessing the resources served by my node…
Noury
  • 31
  • 1
  • 4
1
vote
0 answers

How to create Mbtiles using WPS or WMS process

I am trying to create mbtiles using WMS but its only generating tiles for 5 zoom levels. how can I increase the zoom levels. i tried below url but was unsuccessful. URL:…
Prashant
  • 55
  • 1
  • 9
1
vote
0 answers

Mapbox: Support for loading tiles from .mbtiles in iOS

How can I load tiles from .mbtiles on Mapbox in iOS? I was following this: http://usualcarrot.com/creating-mbtiles-db-for-ios-mapbox-from-hi-res-map-image Seems this is very old code and I was wondering is there still support for .mbtiles
Nagesh
  • 167
  • 1
  • 2
  • 11
1
vote
0 answers

Cesium: format of tiles and format of maps relation

I'm using Cesium based applicaton to view my orthomaps on earth maps. For now as I'm using Cesium.createTileMapServiceImageryProvider as tiles provider and gdal2tiles as tiler which use TMS tile format, as 'earth maps' I use…
mrgloom
  • 20,061
  • 36
  • 171
  • 301