Questions tagged [mbtiles]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

How to open an mbtiles file in QGIS?

I am trying to open an example.mbtiles file in QGIS, but I cannot get it to work. Reproducible setup below. Create example input file Using geopandas and shapely, I create an example.geojson file: ...
  • 294
0 votes
0 answers
14 views

Mapbox Studio map loading layer by layer

I have created a style in Mapbox Studio. It has many layers, including the Mapbox raster satellite layer, the Mapbox DEM layer, and many vector layers. When it loads in the site, it load the tiles ...
1 vote
1 answer
18 views

Convert maplibrejs url coordinates to mbtiles tile_coumn and tile_row

I am using maplibrejs as my front end framework it makes request like this : http://localhost:8080/gis/14/9240/2582 to my backend code to get tiles. As my backend I have used tileserver-gl, which ...
0 votes
0 answers
48 views

Creating MBTiles from GeoTiff raster with transparent background and all the zoom levels

I am trying to create MBTiles from GeoTIFF rasters that have a black background (RGB: 0,0,0). In QGIS, I am able to generate MBTiles via the following steps: Set Transparency pixel (0 0 0) to get a ...
0 votes
0 answers
127 views

Convert multiple PNG files to one JPEG

Here I have converted a .mbtile file to PNG. The output creates a main folder with multiple subfolders. Those subfolders contain multiple PNGs. I would like to convert all those PNG files to one JPEG ...
  • 1
0 votes
0 answers
37 views

Efficient search for a place on mbtiles data

I have mbtiles data for a country, and display it using GeoServer/OpenLayers. I want to add search functionality to the app, so the user can search for example a street name. I discovered that ...
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
0 answers
50 views

Generate XYZ tiles (MBTiles)

I'm trying to generate an offline image via Googlemaps web layer using Genereate XYZ Tiles (MBTiles) and keep getting the following error (this has never happened before); "Traceback (most recent ...
  • 61
0 votes
0 answers
73 views

Cropping tile map into raster using QGIS

I want to create a layer background for my data map. I am using a WMTS layer or a mbtile file (layer B), it could be an OpenStreetMap. My plan is to merge this layer with a data layout which has holes ...
  • 819
1 vote
1 answer
202 views

"sqlite3.OperationalError: database is locked" error when generating MBTiles in QGIS

On Windows 10 Enterprise 20H2 (Build 19042.1706) with QGIS 3.22.5-Białowieża I am getting the following error together with the log: QGIS version: 3.22.5-Białowieża QGIS code revision: c2723178 Qt ...
  • 1
1 vote
0 answers
9 views

TileStache blank preview with MBtiles

I am trying to host a mbtiles on TileStache, but the preview page always shows a blank page. The config file is like this { "cache": { "name": "Test", "...
  • 11
0 votes
0 answers
21 views

TileStache reported 'NoneType' does not have the buffer interface when hosting MBtiles

I am currently trying TileStache to host some MBtiles file. However, it reported this error. Here is the full report: Test cache read: mbtiles_layer 11/331/790 PNG Test cache lock: mbtiles_layer 11/...
  • 11
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) ...
0 votes
1 answer
70 views

Add markers from .kml file to an mbtiles map

I have an offline map GoogleSatellite.mbtiles. and a .kml file with thousands of points.. How can I combine the two files into ONE single .mbtiles file? Is there any utility that can do this?
0 votes
1 answer
56 views

Unable to make GeoPackages and MBTiles compatible in MapTiler Cloud using gdal_translate

I'm using gdal_translate to convert TIF files to GeoPackage and MBTiles. The geopackage/MBTiles are uploaded to MapTiler Cloud. They upload to MapTiler Cloud even if they are not "clean tileset&...
  • 1,169
2 votes
0 answers
92 views

QGIS - what the equivelant rendering scale dependencies for the zoom levels when generating XYZ Tiles (Mbtiles)?

I am trying to make a map from zoom 0 until zoom 12 in QGIS. All shapefiles have CRS: EPSG 900913. What i am trying to acheive is eg: on zoom 0 will show just the map, then zoom 2 till 8 will appear ...
0 votes
0 answers
18 views

How to clip a mbtile from other mbtiles for given polygon coordinates?

I have a mbtile for continent. I want to clip particular states' mbtiles from the continent mbtile and I have polygon coordinates of each state. How can I do this?
0 votes
1 answer
142 views

Unable to open database file error when generating mbtiles

I am creating a docker image to run few tippecanoe to generate mbtiles pointing to a specific folder where all the .json are. It seems to work fine when running the script in my local but when I ...
0 votes
1 answer
129 views

Editing filters in styles for Vector Tiles in QGIS?

I have got a MbTile with vector tiles with data in the OpenMapTiles Vector Tile Schema When I add it to QGis, I can visualize the data, but the symbology is quite simple. I know that I can load a ...
0 votes
2 answers
58 views

var_dump on a MBTiles file

Is it possible to do something simlar to var_dump() on an MBTiles files to see exactly what data is inside? So I can then see what keys I need to extract bits of (vector) data. Or is there a program ...
0 votes
0 answers
63 views

Converting Directories of Images Into MBTILES

I have tens (maybe hundreds) of thousands of images that I want to shove into multiple .mbtiles databases to use on my map server - I am using a different .mbtiles based on the imagery to make it easy ...
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
0 votes
0 answers
122 views

TtileProvider blank page - Google Maps API, own tile provider

I'm using Google Maps API to display mbtiles map hosted locally on my server. Tile service works fine (checked via requsts). But when I apply it to my Kotlin app nothing happens. Here's my code: ...
1 vote
0 answers
200 views

Creating same size and quality MBTiles for all zoom levels with one image

I have downloaded a world map from QGIS in TIFF format. Also, I have world map sample in MBTiles format. I need world map 0-19 zoom levels. I have tried to convert tiff with 0-19 to MBTiles, but QGIS ...
  • 11
1 vote
0 answers
45 views

How to transform XYZ Directory tiles to other tile format?

I am quite newbie to hosting / providing tiles. I have created my own tiles in XYZ directory format and my plan was to serve them through an URL like mywebsite.com/tiles/{z}/{x}/{y}.jpg However, I ...
  • 1,180
0 votes
1 answer
94 views

Clipping MBTiles Dataset using QGIS

I have got a large MBTiles Raster Dataset with several Zoom Levels, about 40 GB. Is it possible to clip a small area out of this large file e.g. 1 square kilometer which covers my area of interest? ...
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. ...
0 votes
1 answer
121 views

QGIS : mbtiles data (GeoServer) does not display

I succeed in GeoServer (2.18.1) to set a new mbtiles file. I can see the preview data (OpenLayers view) in GeoServer. Then I try to display the data throw QGIS (WMS). But the data does not display in ...
  • 731
1 vote
1 answer
82 views

Tippecanoe throw several errors

I am trying to create a mbtile by using tippecanoe joining few *.json files: tippecanoe --read-parallel -o name_of_dataset.mbtiles --minimum-zoom=13 --maximum-zoom=16 -l name_of_layer /path/to/where/...
0 votes
1 answer
94 views

Mapbox Studio uploaded mbtiles broken?

Using the QGIS "Generate XYZ Tiles (mbtiles)" tool I created an mbtile tileset. My input source was a 3-band RGB raster with CRS: EPSG:3857 - WGS 84 / Pseudo-Mercator - Projected. I used ...
  • 607
0 votes
0 answers
53 views

Creating large base map quickly

I'm new in map. I try to create map tile. I start with GeoJSON and using QGIS 3 to parse it into PNG tile. But when I add more data in layer, I have to run it from beginning. It very slow in zoom ...
1 vote
1 answer
279 views

Managing download of map tiles in QGIS

I am very new to the world of QGIS and GIS in general. I have been trying to download very large mbtiles using the Generate XYZ Tiles (MBtiles) option in QGIS 3.18 but my system crashes sometimes and ...
1 vote
0 answers
117 views

MBTiles to PostGIS

I have an MBTiles file /database containing aerial imagery. Does any one out there know of a way to store a MBtiles database into a PostgreSQL/PostGIS database?
  • 11
1 vote
0 answers
167 views

Adding Feature IDs to existing MbTiles or on Mapbox

Question TLDR: Is there a way to add feature IDs to an mbtiles file after it is generated? Or alternatively: is there a way to add feature IDs to a source via mapbox either client side or otherwise? ...
  • 11
0 votes
0 answers
64 views

Translate GeoTIFF to mbtiles success but failed to load on QGIS

I try to convert GeoTIFF data to mbtiles format using gdal_translate on Python console. The process was succeed but when the mbtiles was loaded on the canvas it's just blank. Any idea? Here is the ...
  • 409
0 votes
0 answers
125 views

Issues converting TIF to MBTiles

I'm new to the GIS world and am trying to convert a TIF to MBTiles to be used in a tile server. I'm currently running the following commands to convert the TIF, but the resulting tiles just end up as ...
1 vote
0 answers
262 views

How to generate more pbf zoom levels with mbtiles file?

I have a 8GB canada.mbtiles vector file which contains all of Canada up to zoom level 14. How do I generate zoom 15,16 from this canada.mbtiles file? The goal is to serve smaller pbf on z15,16 for a ...
  • 111
2 votes
1 answer
693 views

GDAL .tif to MBtiles not creating all zoom levels

Using the following commands to convert a raster to an mbtiles file using gdal and then creating the ZXY schema. The zoom levels it creates are 2,3,4,5 but I need to be able to specify which zoom ...
0 votes
1 answer
48 views

import .mbtiles[raster+png/jpg] from device can't view in Maptiler App

I am working with maptiler application in android[Kotlin+MVVM]. everything working fine except loading local .mbtiles map file. when I download a .mbtiles file from internet and load in to my android ...
1 vote
1 answer
295 views

Convert transparent black to white with only GDAL

I have an RGBA foo.tif with NoData Value=0 on all 4 bands. Unfortunately values that are transparent black (0 0 0 0), when converting to jpg, become black instead of no data becoming white like I ...
  • 135
5 votes
0 answers
819 views

Generating Styled Vector Tiles with QGIS 3

I have generated raster tiles before with QGIS 3.14 (which worked fine) and now wanted to generate vector tiles. Once I tried that and viewed the mbtiles file in QGIS, I saw that all the styling that ...
  • 175
1 vote
0 answers
160 views

Merging mbtiles databases

I have a large set of hires GeoTif images. I am trying to build a .mbtiles database of these images. However, using gdalbuildvrt and osgearth_conv makes me hit a wall. I have also tried using gdalwarp ...
  • 11
0 votes
1 answer
73 views

Are .mbtiles supported in the current GeoServer REST API?

Saw that there was a pull request for GeoServer to support .mbtiles in the REST API. Is this currently supported?
1 vote
1 answer
121 views

Converting .tif files to vector MBTiles by using gdal_polygonize

I am trying to use GDAL 2.2.2 and the gdal_polygonizecommand to convert a TIF into vector MBtiles from the link: https://github.com/geostarters/gdal_snipets I run the following command on the tif as ...
  • 11
2 votes
0 answers
185 views

Tilemill MBTiles SQLite database schema

I'm trying to resolve the inability to load a raster MBTiles map on a GPS that added support for the format. Maps created using QGIS or CalTopo will work. The SQLite database only contains two tables-...
1 vote
1 answer
156 views

Tippecanoe to not hide geometry

I use these options to create mbtiles for mapbox --accumulate-attribute to accumulate population from polygons, so I can get population with mapbox.queryRenderedFeatures in bbox tippecanoe -o out_sum....
  • 233
2 votes
1 answer
280 views

Clipping MBTiles with BoundingBox

I have a relatively large worldwide raster mbTiles file from which I want to convert individual countries into new mbtiles. Unfortunately I fail to use tilelive which is actually predestined for this ...
  • 61
1 vote
0 answers
89 views

Conversion to mbtiles drastically reduces file size of GTiff (rio mbtiles)

Input file is a GTiff (georeferenced tif), 16728 x 21386 pixels, 1.43 Gb. Output from rio mbtiles is an mbtiles file, 104 x 136 pixels, 41 Kb. The resulting mbtile has much larger pixels and therefore ...
0 votes
2 answers
637 views

gdaladdo zoom level not supported

UPDATE November 30, 2020 per request by @bugmenot123 I am updating the status of the gdaladdo problem: After not finding a solution or work-around to the issue, I raised an issue (#3126) on the GitHub ...
2 votes
1 answer
1k views

Converting .mbtiles to .tpk

I have mbtiles data downloaded from internet. I need to publish mbtiles in ArcGIS Server as tiled map service. I find out the layer was not supported on ArcMap during publishing on ArcGIS Server. Is ...

1
2 3 4 5