MBTiles: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) K |
Stefan (Diskussion | Beiträge) K (→Converting MBTiles) |
||
(20 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | MBTiles is a storage and exchange format | + | MBTiles is a storage and exchange format which arranges raster and vector tiles in a [[SQLite]] file. |
− | See http://mapbox.com/developers/mbtiles/ | + | Specs. and references: |
+ | * [https://github.com/mapbox/mbtiles-spec MBTiles Specification] | ||
+ | * See also http://mapbox.com/developers/mbtiles/ | ||
− | MBTiles | + | == 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) |
− | MBTiles can be read from: | + | == Reading and Writing MBTiles == |
− | * | + | |
− | * ArcGIS Dynamic Map Services ( | + | Generating MBTiles: |
− | * | + | * [[TileMill]] and MBUtil |
+ | * 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. | ||
+ | * MapCache - (part of UMN MapServer) http://mapserver.org/mapcache/caches.html | ||
+ | |||
+ | 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 [http://mapbox.com/]. Publishes maps in the cloud. MapBox Hosting uses TileStream but adds many features and is a hosted service. | ||
+ | * TileServer-PHP [https://github.com/klokantech/tileserver-php] (PHP). Deliveres pre-rendered map tiles in OGC WMTS standard made with MapTiler, GDAL, or available as MBTiles files. | ||
+ | * TileStream [https://github.com/mapbox/tilestream] - 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 [http://tilestache.org/] (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]] [http://www.gdal.org/frmt_mbtiles.html]. GDAL2Tiles utility. Is used in turn e.g. by [[QGIS]] and [[UMN MapServer]]. | ||
+ | * MBUtil [https://github.com/klokantech/mbutil] (Python) by klokantech. Exports MBTiles to disk (as plain raster files) and imports/packages from disk to MBTiles format. | ||
+ | * python-mbtiles [https://github.com/perrygeo/python-mbtiles] (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 ([http://spatialnetworks.com/blog/2012/07/using-mbtiles-on-android-with-osmdroid/ OsmDroid]). | One can also use MBTiles files offline on mobile devices with the MapBox iOS SDK or on Android ([http://spatialnetworks.com/blog/2012/07/using-mbtiles-on-android-with-osmdroid/ OsmDroid]). | ||
− | [[Kategorie: | + | [[Kategorie:Dateiformat]] [[Kategorie:Raster]] |
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
- GDAL - Converter to read MBTiles, especially From WMS to MBTiles and 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
- TileStache - see below
- TileCutter [1] - Generates MBTiles from ArcGIS Dynamic Map Services.
- MapCache - (part of UMN MapServer) http://mapserver.org/mapcache/caches.html
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).