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

learn more… | top users | synonyms

18
votes
4answers
4k 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 ...
6
votes
3answers
2k views

Is there any way to use mbutil on windows?

I have used mbutil on ubuntu. Its a very handy tools. I am curious that is there any way to use it on windows 64 bit machine. If there is a way please help me to do so. Thanks in advance.
4
votes
1answer
134 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 ...
3
votes
2answers
2k 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 ...
3
votes
2answers
309 views

How do I serve OSM map tiles (mbtiles) from a Raspberry PI 2?

My main processing machine is a Ubuntu box running 14.04 with PostGIS and TileMill. I generated my tiles and the resulting mbtiles export is about 250MB (megs, not gigs). The PI runs python, has a ...
3
votes
2answers
433 views

How does Mbtiles store raw image data in the tile_data field?

Looking at the MBtiles spec, the tile_data field of the tiles table is just a blob of a tile image. With this information, I expected to be able to take a data URI, string it of everything except the ...
3
votes
1answer
891 views

reusing cached tiles with leaflet, mbtiles and mbtiles-php

I am using Leaflet and infostream's fork of mbtiles-php to serve MBTiles stored on my server. I'm using a Leaflet layer group (and a layer control) to serve two MBTiles files. When I toggle between ...
3
votes
2answers
782 views

Correct Use of MBTiles PHP Script

I have installed the OSGeo4W web server tools on a Server 2008 machine, and I would like to serve MBTiles to Leaflet. I have tried these: Zverik's mbtiles-php Infostream's mbtiles-php fork The ...
2
votes
2answers
494 views

Multiple server URLs with TMS

Can I have multiple server URLs with OpenLayers.Layer.TMS pointing at the mbtiles.php and my mbtiles file as in https://github.com/bmcbride/PHP-MBTiles-Server? I have been trying to implement three ...
2
votes
2answers
195 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', { ...
2
votes
3answers
173 views

Postgresql to mbtiles

Someboby please help me with understanding of the following question. I have many postgreSQL databases with osm data on a server. Each of them contains the map of the certain country. I want to look ...
2
votes
1answer
169 views

Generate MBTiles from xml

I need to generate hundreds of MBTiles from different shapefiles and same styles, so I created a xml from tilemill with a single shapefile and styling, using python landez library to generate MBTiles ...
2
votes
1answer
393 views

Maximum zoom levels for tilestache rendering mbtiles

I have been given an mbtiles file which contains tiles for zoom levels between 16 and 20. When I preview the mbtiles on tilestache, I am not able to zoom in beyond the 18th level. If I request the map ...
2
votes
0answers
17 views

Mbtile To Geopackage and Vice versa

Considering the new open format offered by OGC, Geopackage, on top of vector data (like that of shapefiles), it supports map tiles as well. The functionality is similar to mbtile format founded by ...
2
votes
0answers
54 views

Shifted tiles in QGIS with mbtiles

I'm confused because of the representation of mbtiles files in QGIS. It seems that the whole grid is shifted by about 3 m to the south. So far I can observe this behavior only in the context of ...
2
votes
1answer
277 views

How to install and use mbpipe

mbpipe is a simple utility to batch process images in an MBTiles database (sqlite) by piping them to an image processing program. But how does one install and use it? It says here that mbpipe comes ...
1
vote
1answer
708 views

how to 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 ...
1
vote
1answer
855 views

How to convert a PNG tile set into the Mbtiles format

I have exported a folder with PNGs tiles and I want to convert them into Mbtiles format to use with Mapbox (maybe via TileMill?). How can I do that? Is there a convertor where I can specify the ...
1
vote
1answer
1k views

What is the best way to host mbtiles?

What is/are the best way(s) to host mbtiles? I have tried: hosting on my own server with tileserver.php: this works and is very straighforward and simple to set up, but doesn't seem to be super ...
1
vote
1answer
64 views

Offline Vector Tile Map for Android and iOS app

I am trying to generate vector files and store them in a MBtiles file to make them available for download within the app. (I have also tried with raster tiles and TileMill but the file were too large: ...
1
vote
1answer
104 views

MBtiles and SlippyMap tilenames

I'm not sure if I've misunderstood how MBTiles and SlippyMap tilenames go together or if there is a problem when I'm doing an export with TileMill. The issue is that a tile showing the same region - ...
1
vote
2answers
150 views

Apparently MOBAC is not generating MBTiles correctly

I am trying to generate MBTiles with MOBAC, to be used in an offline map Android application (trying to use OSMDroid). Now I generate the atlas, but something goes wrong because I get the error ...
1
vote
1answer
847 views

TIFF to MBTILES conversion on a 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 ...
1
vote
1answer
1k views

How can I export MBTiles from TileMill 2?

In TileMill 1 it was easy to export MBTiles for a selected region with my own style. In TileMill 2 I can only package the style or export vector tiles from a previously imported datasource. How can I ...
1
vote
1answer
532 views

Is it possible to create MBtiles from a TIF? [closed]

I have a geo-referenced tif (it's really big around 1GB) and I'd like to convert it to mbtiles so I can serve them and view the map. What is the best tool to do this conversion?
1
vote
1answer
109 views

Need assistance setting center coordinate with GDALWARP

I'm having some issues converting my project into an MBTiles format. I'm trying to use gdalwarp to convert my main file to geotiff format, but I can't seem to get the center coordinate to how it is ...
1
vote
1answer
660 views

trying to use mbtiles as a OpenLayers.Layer.TMS

I am modifying the opengeo MapBoxSource plugin. The plugin is able to render MapBox Mbtiles into a openlayers TMS layer. I am modifying the plugin so that it will render my own tilesets served from ...
1
vote
1answer
300 views

What size-reduction can I expect on average when gzipping MBtiles?

As part of checking some prereqs for an idea (IOS app with MBtiles on local storage enabeling offline maps) I'd like to know if it's useful to gzip MBtiles when transporting them to an IOS device. In ...
1
vote
0answers
55 views

Reproject xy tiles from mercator to Gauß-Krueger in ubuntu terminal

I´ve exported a map from tilemill as mbtiles and converted them to xyz tiles with help of mbutil. The tiles should be used (for learning purpose) with mod_tile or geoserver and displayed in ...
1
vote
1answer
56 views

Tilemill: 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 ...
1
vote
0answers
234 views

Generating full planet tiles from OpenStreetMap data?

i am tested using two scenarios, 1) First, i am used switch2osm for tile rendering. its good it handles many things. But it takes long days to pre-render all tiles and it takes huge memory ...
1
vote
2answers
110 views

Automate import of multiple rasters as layers into tilemill

Could anyone please suggest a way of automating the import of raster tiffs into tile mill? It's driving me mad as I have well over 100 files. I could do it manually but I'm on a tight deadline... I ...
1
vote
0answers
192 views

Importing multiple GeoTiffs in TileMill

I am a software engineer that is very new in the geo world. So excuse my ignorance if this question seems simple or if terms I use are totally wrong. Problem: I have been tasked with taking multiple ...
1
vote
0answers
370 views

How to visualize MBTiles with OpenLayers using a PHP tile server?

This is repost as didn't get my expected answer. Please help me as I am newbie. I have setup the PHP Tile Server 0.1 and when I am calling the PHP server it showing the following Now I am triyng to ...
0
votes
1answer
167 views

problem serving MBTiles with Geoserver plugin

I'm creating a webmap, and hoping to add a few basemap/raster layers of my own. I'll be using a stack that includes GeoServer which is fine for vector data, but I'd like to serve the new basemap ...
0
votes
1answer
122 views

Best solution for tiling a geotiff?

I have some GeoTIFF files that I want to bring into the web. The spatial reference of these GeoTIFF files are multiple but are never WebMercator (EPSG:3857) and I need the web map to be in the same ...
0
votes
1answer
602 views

PHP-MBTiles Server implementation with Leaflet and Wax

Using PHP tile server from infostreams with Leaflet and Wax Connector for Leaflet to visualize my .mbtiles. I upped the source and the .mbtiles on a free hosting service. I am getting a blank Leaflet ...
0
votes
2answers
65 views

Y-coordinates offset in Tilemill

I own a project created with TileMill in SRS 900913. The data source is a Postgis database with the same SRS. When I'm loading the file generated with TileMill (mbtiles) in QGIS and I'm putting under ...
0
votes
1answer
105 views

Mobac .mbtiles files get a no tile_data error

The symptom of my problems is that when my ios code tries to access the map I get a tile_data error. The maps appear to generate normally. I have a sample mobac created mbtiles file and it works in ...
0
votes
1answer
61 views

Mbtiles from dedicated server to mapbox account

I process Landsat Imagery on a dedicated server and generate mbtiles. Is there a way to upload the mbtiles files straight from my server to my Mapbox account?
0
votes
1answer
224 views

not able to view rendered mbtiles and mapbox base map remotely

I was able to display the HTML files locally which displays a base map from mapbox and a layer rendered from tile-stream. I had setup an apache server so that the HTML can be viewed remotely. There ...
0
votes
0answers
17 views

Problem installing MbTiles plugin for GeoServer

I have had trouble getting the MbTiles plugin to work with GeoServer. I installed each of GeoServer 2.5, 2.6 and 2.7 in turn. All three installations seemed to work fine on localhost without any ...
0
votes
0answers
30 views

Regroup SHP files and convert to one MBTiles file

I have a lot of shp files and i want to regroup all of them and export the whole thing in one mbtiles file (and display this with MapBox GL). I tried MapBox Studio but it's crash a lot ! Any ideas ?
0
votes
0answers
32 views

Suggestions for serving mbtiles packed with mb-util in GeoServer using MBTiles extension?

did you ever figure out a solution to the problem you were having: "I'm finding that once an .mbtiles file has been unpacked and repacked with this method, even if no changes are made to the tiles or ...
0
votes
0answers
48 views

mbutil export of mbtiles png files are all corrupt

I have an mbtiles file that I created with MapBox studio from a GeoTIFF source, and when trying to export the mbtiles with mbutil, all the images are corrupt, no matter if I try png or jpg. Has ...
0
votes
0answers
62 views

Creating geoTiff from MBTiles

I have mbtiles file with various zoom levels (8-14) and I want to create geotiff file from it. I think that this could be acomplished with gdal but I dont know how. Any suggestions on how to complete ...
0
votes
0answers
72 views

Change mbtiles projection with openlayers and proj4js

I've got mbtiles file whithin tileserver.php (klokantech) This file has got specific projection with in local coordinate system. +proj=tmerc +lat_0=0 +lon_0=49.05 +k=1 +x_0=2300001.7 ...
0
votes
0answers
31 views

How to Deploy TileStache at Apache in Windows

I want to develop a webgis,I have produce a mbtiles file by Tilemill.Now I prepare to use tilestache-seed.py to cut this mbtiles file as tiles by tilestache and show in Apache by mod_wsgi.I have some ...
0
votes
0answers
35 views

How to serve CADRG maps on the web?

I have a collection of different resolution CADRG maps that I want to be able to serve on the web. Which tools would allow me to do that quickly? And would it be possible to select a subset of the ...
0
votes
0answers
78 views

white outlying tiles in GeoServer MBTiles layer

I've been working on this issue for a while, and have found a workaround, but would still like to put the question out there. I have been using TileMill to create tile sets for a polygon, outside the ...