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

learn more… | top users | synonyms

16
votes
4answers
3k 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
1k 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
130 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
1k 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
237 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
414 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
857 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
761 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
479 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
154 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
150 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
154 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
384 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
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
257 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
665 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
763 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
977 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
94 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
141 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
761 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
910 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
472 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
105 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
651 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
0answers
48 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
51 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
215 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
99 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
1answer
281 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
366 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
129 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
101 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
579 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
63 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
97 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
60 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
210 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
11 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
16 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
24 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
30 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
55 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
24 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
25 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
59 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 ...
0
votes
1answer
76 views

Problem repacking tiles to mbtiles using mbutil

I've used mbutil successfully to unpack a .mbtiles file, but if I try to repack the same tiles, something goes wrong. I'm using the util module in a python script like so: from mbutil import util ...
0
votes
0answers
148 views

Using nginx to serve tiles

I created a map in Tilemill, exported to mbtiles, and created a cache of tiles using TileStache. Until now, I have been using Apache as a reverse proxy for TileStache to serve the tiles, but I'm ...
0
votes
1answer
25 views

Tilemill grey border on mbtiles export

I've got my final raster tile map (via vrt) into tilemill and am trying different mbtiles export options. No matter what boundary I specify for export - I always end up with the beige top and bottom ...
0
votes
1answer
549 views

How do I serve MBTiles with TileStache?

I'm am looking for a way to serve tiles while offline. I'm using Windows 7. Here's what I've done so far: -Uploaded a portion of OSM data into TileMill -Converted the OSM data into a file called ...