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

learn more… | top users | synonyms

35
votes
5answers
10k 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.
5
votes
2answers
777 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 ...
4
votes
1answer
191 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
488 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
1k 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
920 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
1answer
84 views

Create my own MapBox Vector tile and self hosting

I understood hosting mbtiles is possible and some solutions are available. I not sure that I can find the answer; How can I create my own vector tiles (mapbox vector tile format) which from my data ...
2
votes
2answers
612 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
1answer
93 views

Which Image format is recommended/ best for geoserver raster wms services?

I have very high resolution image of vast area(true color RGB bands). I am planning to to reduce the image size by reducing it to 16 bits (or less). which image format is best for performance point of ...
2
votes
1answer
99 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
1answer
951 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: ...
2
votes
3answers
526 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
278 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
245 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
911 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?
2
votes
1answer
461 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
82 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
350 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
911 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
2answers
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
344 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 ...
1
vote
1answer
279 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 ...
1
vote
2answers
2k 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
2answers
42 views

Is TileMill as a service restricted to PNG? Or is JPEG an option?

Is TileMill as a service restricted to PNG? Or is JPEG an option? I setup TIleMill as a service as documented here: https://www.mapbox.com/tilemill/docs/guides/ubuntu-service/ Tiles are rendering ...
1
vote
1answer
185 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
217 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
1k 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
982 views

Where can I find a 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 ...
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
115 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
729 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
393 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
2answers
62 views

Tiles with Leaflet from Qgis

I tried QTILES plugin for QGIS and it works very well. I can export tiles in .mbtiles or zip format. Now I'm trying to know how call these tiles from leaflet in this way: ...
1
vote
0answers
38 views

How can I config/use MapCache/MapServer to serve my MBtiles as WMS service?

Currently I am using GeoServer for my Map Service as WMS. I use TileMill for creating a customised map with styling and SHP files and then export as mbtiles. I have tried TileServer-PHP & ...
1
vote
0answers
39 views

Issue with TileStream Tile URL

First of all I'm new to Tilestream, MBTiles and GIS. As a part of of learning purpose I set up Tilestream with the help of tilestream tutorial and copied two MBTiles file to the tiles folder I am ...
1
vote
0answers
95 views

Geoserver MBTiles plugins performance issues

I am using the latest stable 2.7.2 version of GeoServer and I am trying to play with the MBTiles plugin, I have installed also WPS plugin that is needed by the MBTiles one (otherwise I got error when ...
1
vote
0answers
52 views

Count Tiles loaded from MBTiles

I have created a MBTiles file from Tilemill and I am visualizing it through php MBTiles server. Its working fine. Now I want to count the loaded tiles and store it to a database. In a simple word I ...
1
vote
0answers
71 views

How to run Mapbox Vector Tile Mini Server?

I am trying to make an offline map for the vector tiles that I've exported from Mapbox Studio (mbtiles). I found this : https://github.com/BergWerkGIS/mini-server I have it downloaded on my ...
1
vote
0answers
101 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
113 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
323 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
146 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
235 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
393 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
726 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
1answer
20 views

TileServer PHP Performance - MBTiles vs “static files in a directory”

I have OSM basemap tiles being served using Klokantech TileServer using WMTS. I have multiple users using them through ArcMAP. The performance is already way better than using the usual ArcGIS Online ...
0
votes
1answer
144 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 ...
0
votes
1answer
118 views

How do i create.MBtiles from geoserver?

I'm using geoserver version of 2.7.1.1 and installed plugin for MB tiles,now i want to know that how to generate MBtiles after installing the plugins