MBTiles: Unterschied zwischen den Versionen

Aus Geoinformation HSR
Wechseln zu: Navigation, Suche
K
K (Converting MBTiles)
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
MBTiles is a storage and exchange format where tiles are managed in a [[SQLite]] file.
+
MBTiles is a storage and exchange format which arranges raster and vector tiles in a [[SQLite]] file.
  
 
Specs. and references:
 
Specs. and references:
Zeile 5: Zeile 5:
 
* See also http://mapbox.com/developers/mbtiles/
 
* See also http://mapbox.com/developers/mbtiles/
  
MBTiles can be generated by:  
+
== Converting MBTiles ==
 +
* [[GDAL]] - Converter to read MBTiles, especially [[GDAL_-_Tipps_und_Tricks#From_WMS_to_MBTiles|From WMS to MBTiles]] and  [[GDAL_-_Tipps_und_Tricks#From_GeoTIFF_to_MBTiles_using_GDAL_and_mbutil|From GeoTIFF to MBTiles]]
 +
* MBUtil - see below.
 +
* "Convert ESRI's Vector Tile Package (VTPK) to MBTiles" (Austrian basemap): https://github.com/BergWerkGIS/vtpk2mbtiles (CSharp)
 +
 
 +
== Reading and Writing MBTiles ==
 +
 
 +
Generating MBTiles:  
 
* [[TileMill]] and MBUtil  
 
* [[TileMill]] and MBUtil  
 
* TileStache - see below
 
* TileStache - see below
 
* TileCutter [http://viswaug.wordpress.com/2011/06/12/tilecutter-a-small-utility-to-generate-tile-cache-in-the-mbtiles-format-from-arcgis-dynamic-map-services/] - Generates MBTiles from ArcGIS Dynamic Map Services.
 
* TileCutter [http://viswaug.wordpress.com/2011/06/12/tilecutter-a-small-utility-to-generate-tile-cache-in-the-mbtiles-format-from-arcgis-dynamic-map-services/] - Generates MBTiles from ArcGIS Dynamic Map Services.
 
* MapCache - (part of UMN MapServer) http://mapserver.org/mapcache/caches.html
 
* MapCache - (part of UMN MapServer) http://mapserver.org/mapcache/caches.html
 
MBTiles can be converted by:
 
* [[GDAL]] - Converter to read MBTiles.
 
* MBUtil - see below.
 
  
 
MBTiles can be read from and/or is delivered by:  
 
MBTiles can be read from and/or is delivered by:  

Aktuelle Version vom 8. März 2020, 16:47 Uhr

MBTiles is a storage and exchange format which arranges raster and vector tiles in a SQLite file.

Specs. and references:

Converting MBTiles

Reading and Writing MBTiles

Generating MBTiles:

MBTiles can be read from and/or is delivered by:

  • MapCache
  • mbtilesviewer - http://viswaug.wordpress.com/2011/06/28/mbtilesviewer/
  • ArcGIS Dynamic Map Services. See TileCutter.
  • MapBox Online [2]. Publishes maps in the cloud. MapBox Hosting uses TileStream but adds many features and is a hosted service.
  • TileServer-PHP [3] (PHP). Deliveres pre-rendered map tiles in OGC WMTS standard made with MapTiler, GDAL, or available as MBTiles files.
  • TileStream [4] - High-performance map tile server powered by MBTiles files (Serverside Javascript). Can be used in OpenLayers, Google Maps, Modest Maps, and other Javascript APIs. Wax (Javascript lib) enhances it.
  • TileStache [5] (Python). Is aka successor of TileCache, based on Mapnik; reads MBTiles (metatiles) format. Generates vector tiles from OGR datasources in GeoJSON (usable in Polymaps). Writes (caches) to disk, Memcache, Amazon S3, MBTiles. Serves tiles in Google-style spherical mercator projection and WGS84 lat/lon projection. Runs from CGI, mod_python, or Gunicorn WSGI.
  • GDAL [6]. GDAL2Tiles utility. Is used in turn e.g. by QGIS and UMN MapServer.
  • MBUtil [7] (Python) by klokantech. Exports MBTiles to disk (as plain raster files) and imports/packages from disk to MBTiles format.
  • python-mbtiles [8] (Python) by PerryGeo.
  • https://github.com/pbarry/MBTiles-extractor

One can also use MBTiles files offline on mobile devices with the MapBox iOS SDK or on Android (OsmDroid).