Questions tagged [mbtiles]
A format for storing map tiles used by the Tilemill map design package
254
questions
0
votes
0
answers
26
views
Source to MBTiles
Is this normal when converting GeoJSON or shape files to MBTiles? Where it seen like the MBTiles will always have this offset when viewed up close. I think it viewed at zoom 23.
0
votes
0
answers
13
views
Can't import png files into mbtiles using MBUtil
I want to use MBUtil to import a series .png file into a .mbtiles file. I use command like this:
but when I export .mbtiles file into .png file, only metadata.json was exported. Why my PNG file ...
0
votes
0
answers
28
views
Automate QGIS export (e.g. to mbtiles)
I'd like to export maps from QGIS to raster mbtiles with different layer content but similar presets like the same area (EXTENT), the same zoom and image settings.
Currently I'm using the export to ...
0
votes
0
answers
39
views
Edit TileJSON inside MBTiles files
I want to upload a tileset (I created with tippecanoe) to mapbox. I receive the error:
Metadata exceeds limit of 60kb
Here: https://docs.mapbox.com/help/troubleshooting/uploads/ they suggest to
...
0
votes
0
answers
20
views
Create Lower Zoom Levels from High Zoom Level MVT Tiles
I have a rather large set of a single zoom (8) of MVT bundled as an mbtiles file.
Is there a way to generate the rest of the "pyramid" for those tiles and down-sample for zooms 0-7?
I'm ...
0
votes
0
answers
53
views
How to generate XYZ tiles in QGis with extent?
I have a huge mbtile of my country. I have marked only roads from this file in my QGis project. Now I'm trying to export only data related to a boundary(the city I live in). So in the extent I put my ...
2
votes
1
answer
43
views
Tippecanoe unable to open database file
I am trying to use tippecanoe to convert my GeoJSON into mbtiles like so
tippecanoe -o c:/users/path/to/newfile.mbtiles -Z 0 -z 8 c:/users/path/to/file.geojson
However, I keep getting the error ...
0
votes
0
answers
177
views
OSM .pbf Files to Raster Mbtiles Format
I downloaded the osm.pbf files from planetosm and I am using them in an application which will work offline, I need to convert the osm.pbf file to raster mbtiles file, I want to do this for a specific ...
0
votes
0
answers
28
views
Mbtiles archive contains images and map tables
I've noticed that mbtiles generated from tippecanoe include images and map tables. However nor the tippecanoe docs nor the mbtiles spec has any info about those tables.
map seems to be a mapping ...
1
vote
0
answers
52
views
Injecting higher resolution raster data only in certain areas of an MBTiles file
I have been tasked with combining many raster datasets spread out over a large area into a single MBTiles database. The rasters themselves vary significantly in their resolutions. Some overlap but ...
0
votes
2
answers
97
views
Missing some tiles in dev when apply mbtiles in tileserver-gl Maptiler
Left side is the local host by using the command
tileserver-gl-light -b 0.0.0.0 -p 8009 --mbtiles something16.mbtiles
http://localhost:8009/data/openmaptiles/#18/3.95245/101.03776,
then right side is ...
2
votes
0
answers
102
views
Visualize data for vector tiles in mbtiles format on private web server
The question
I upoaded a mbtiles file to a private webserver, but can't get the data to visualize in a webbrowser. If I open the file, a download dialog appears. So what is missing is a renderer to ...
0
votes
2
answers
122
views
Unable to set zoom level when convert tif to mbtiles using gdal_translate in QGIS
Continue from this link, for my situation, the only way to generate .tif to .mbtiles is
gdal_translate in QGIS.
This is the .json after using gdal_translate
Setting: GDAL > Raster conversion > ...
1
vote
0
answers
82
views
Generating MBTiles from TIFF with the same quality in QGIS
I tried several methods with QGIS 3.28 to generate a .mbtiles from a georeferenced .tif, but other methods failed except the "Generate XYZ tiles (MBTiles)" tool but the output .mbtiles ...
0
votes
0
answers
35
views
QGIS import data source mbtiles error as raster layer
I imported a mbtiles that I created last time. But when I import it as the Raster Layer, it show the error like this,
Error:
Unsupported Data Source: C:\ ... LTI2.mbtiles is not a supported raster ...
1
vote
1
answer
79
views
How can I create WebP MBTiles?
Using the "Generate XYZ Tiles" command from "Raster tools" it is possible to create a MBTiles format file containing either PNG or JPG images. I would like to create an MBTiles ...
1
vote
0
answers
93
views
Using .mbtiles file from maptiler via mapproxy
How do I serve a local WMS using mapproxy?
As long as I stick to online-services (and a local cache) all works fine.
Now I've downloaded myself a complete set of OSM tiles in .mbtiles format from ...
1
vote
0
answers
427
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:
...
0
votes
0
answers
25
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
56
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
102
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
223
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 ...
0
votes
0
answers
66
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
250
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
169
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 ...
0
votes
0
answers
159
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 ...
1
vote
1
answer
545
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
vote
0
answers
15
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",
"...
0
votes
0
answers
26
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/...
2
votes
2
answers
2k
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
129
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
101
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&...
2
votes
0
answers
119
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 ...
1
vote
1
answer
235
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
252
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
105
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 ...
1
vote
2
answers
826
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....
0
votes
0
answers
172
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
311
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 ...
1
vote
0
answers
71
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 ...
0
votes
1
answer
156
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
285
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
157
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 ...
1
vote
1
answer
137
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
130
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 ...
0
votes
0
answers
96
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
459
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
1
answer
268
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?
2
votes
0
answers
302
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?
...
0
votes
0
answers
77
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 ...