Questions tagged [mbtiles]

A format for storing map tiles used by the Tilemill map design package

Filter by
Sorted by
Tagged with
100 votes
11 answers
57k views

Self-hosting Mapbox vector tiles

As presented in a talk at FOSS4G Mapbox Studio allows to create Mapbox vector tiles and export them as a .mbtiles file. The mapbox-gl.js library can be used to dynamically style and render Mapbox ...
3 votes
2 answers
3k views

GDAL create mbtiles with differing image by zoom level

I want to build an mbtiles with different map detail at different zoom levels (e.g. contours at 1m at levels >16 and 5m <=16). I've exported raster images at the right resolution using QGIS and now ...
  • 6,523
1 vote
2 answers
23k views

OSM offline tiles -- mbtiles in openlayers

I used tiledownloader to download offline tiles. Now with the new policy acces of mapquest this would be difficult. I found http://osm2vectortiles.org/downloads/ to download some files but they are ...
  • 373
14 votes
5 answers
8k views

Seeking tool for creating Vector MBTiles

I am searching for a tool to generate vector-tiles that I can then display using the Mapbox Map-View. We currently have a PostgreSQL database with all of our data. What is the best tool to generate ...
  • 929
7 votes
1 answer
4k views

QGIS Project to MBTILES / SLIPPY MAPS

Assuming you have 20+ Qgis projects each with dozens of layers: Background: Web Map Tiles, Features: Millions of Polygons & Points Features are labeled, labels are never overlapping with each ...
  • 149
3 votes
2 answers
9k views

Convert .tif to .mbtiles using python/GDAL

I have a tiff file and I'd like to convert it to mbtiles using python script. In general, I need just select tiff file and convert it to mbtiles to upload it on the map (from python script) but got ...
  • 182
1 vote
1 answer
2k views

Install and use MapCache?

I installed mapserver 6.4.1 using OSGeo4W and I created a mbtiles file for a small region of OpenStreetMap (loaded into PostGIS) using TileMill. My questions are: a - Do I have MapCache? MapServer ...
  • 509
6 votes
2 answers
2k views

Create MBTiles from geojson in raster format

I am trying to create raster file in the Mbtiles format. I tried , $ gdal_rasterize -ot Byte -burn 255 -burn 0 -burn 0 -ts 4950 4090 -of MBTiles station.geojson station.mbtiles I'm using, $...
  • 113
5 votes
2 answers
6k views

Local Tile Cache in QGIS

I was wondering if there is a way to load a local tile cache (ie: MB Tiles etc.) of imagery that is sitting locally into QGIS? I am hoping to use some tablets for field verification and would like to ...
  • 9,263
4 votes
1 answer
2k views

How to add alpha chanel to mbtiles in gdal_translate?

I have lots of 16bit 3-band .tif from one sattelite. In batch processing i've made them 8-bit 4-band (RGBA) with LZW compression (.tif). Now i'm trying using gdal_translate (gdal 2.1 from QGIS 2.16) ...
4 votes
3 answers
6k views

Prevent Leaflet from requesting non-existing custom tiles

I have created custom tiles using TileMill. extracted tiles as png images and adding them on base layer. using following code var venu_map = new L.tileLayer('static/b18/{z}/{x}/{y}.png', { ...
3 votes
1 answer
11k views

Finding good Mbtiles to png tiles converter?

I'm trying to create a slippy map and I need to obtain png tiles. I have exported a .mbtiles file from TileMill and I tried several python scripts to convert this file into png tiles but I always end ...
2 votes
3 answers
4k views

Performing TIFF to MBTILES conversion on Mac?

I have a large number of tiff files (map tiles) along with tab and tfw file types as part of an Ordnance Survey download. This is for an offline iOS app. I managed to get the tiffs into QGIS with ...
2 votes
1 answer
2k views

Choose what zoomlevel to read from for mbtiles file in GDAL

GDAL is supposed to read MBTiles files and to do so, it selects the highest zoomlevel available. However, is there a way to choose another zoomlevel? i.e. override the default and go for a lower one? ...
  • 123
2 votes
1 answer
1k views

How to build gdal with MBTiles drive?

I've built GDAL so many times but I'm not know how to add MBTiles Driver support. The source used was http://download.osgeo.org/gdal/2.1.3/ . But after build I still unable to read or write mbtiles ...
1 vote
2 answers
466 views

Converting Tile Folder to GeoTIFF using GDAL

I have a folder full of tiles, and I'd like to convert them into a single GeoTIFF file. The folder structure looks like this: 10 //the zoom 554 //y 860.jpg //x 861.jpg 862....
  • 115
1 vote
1 answer
938 views

How to either cache or serve locally tm2 vector tiles downloaded from mapbox studio

I'm trying to locally host / serve / cache a set of tiles for a very small geographic area in a mapbox js application I'm building. I've been searching for a way to do this, but most of the info I've ...
  • 165
4 votes
1 answer
459 views

Resume Tilemill MBTiles export after crash

Is there a way to resume a Tilemill export (MBTiles) after it has crashed? Today I just got the following crash: FATAL ERROR: Evacuation Allocation failed - process out of memory This was just a ...
  • 929
2 votes
2 answers
3k views

Joining several raster .mbtiles?

I have several .mbtiles with no (or little) overlapping areas and I would like to merge them into one file in order to be able to serve them more easily. I'm looking for a command line tool that can ...
  • 251
2 votes
2 answers
668 views

Generating high resolution MBTiles in QGIS

Is it option to generate MBTiles file in high resolution (512x512 / 192DPI) in QGIS? Generate XYZ tiles (Directory) tool allows to create high resolution tiles, but in Generate XYZ tiles (MBTiles) ...
1 vote
0 answers
144 views

How to create MBTile file from local XYZ tile directory using gdal_translate

I have a local XYZ tile cache in directories from zoom level 0 to 14 of a curtain area. I would like to build a .mbtiles file from the png's in these directories to serve as a layer from geoserver. ...
1 vote
1 answer
307 views

Re-Export failed tiles after export?

My Tilemill exports (MBTiles) tend to fail quite often lately... (Resume Tilemill MBTiles export after crash a bounty is waiting for anybody who helps me there btw ;-) ). We kind of solved the problem ...
  • 929
1 vote
1 answer
365 views

Export road system to CSV file

I'm using QGIS to extract coordinates of a road network. Concretely, I downloaded a mbtiles file from Internet and loaded the file into QGIS like following: Then I tried to export the layer ...
1 vote
2 answers
2k views

How to use Mapbox vector tiles as a vector source in OL3, so that labelling will not clip at tile boundaries

I have been able to load and display mapbox vector tiles in OL3 using a vectorTile source and a vectorTile layer. The problem with this approach is that labels will clip at the tile boundaries and ...
1 vote
1 answer
2k views

Load vector tiles (pbf) directly from mbtiles database using OpenLayers 3

In response to the answer of Klokan Technologies in this thread: OSM offline tiles -- mbtiles in openlayers. I managed to unpack a random small mbtiles vector tile map from osm2vectortiles.org and ...
0 votes
1 answer
84 views

Read places information from a vector tile mbtiles

The data is not simply readable when I open the mbtiles in SQLite db browser. i.e. It's like this: Let's say I want to search for a street name in the mbtiles. GeoServer is already doing this for me ...
0 votes
1 answer
924 views

Tileserver-gl getting started procedure

I've followed instructions in tileserver-gl github page and successfully install tileservre-gl, I mean npm command finished without error and all packages were downloaded. zurich_switzerland file is ...
  • 151