天天看點

Mapbox之vector tiles(矢量切片)

Mapbox之vector tiles(矢量切片)

​​ https://docs.mapbox.com/vector-tiles/reference/​​

Vector tiles矢量切片

  • A broad collection of natural, built, and place data廣泛收集的自然、建築和地點資料
  • Global elevation data全球高程資料
  • Constantly updating traffic data不斷更新交通資料
  • Open standard開放的标準
Mapbox之vector tiles(矢量切片)

Vector tiles make huge maps fast while offering full design flexibility. The vector tile format is the vector data equivalent of raster image tiles for web mapping, with the strengths of tiling: optimized for caching, scaling, and serving map imagery rapidly.

矢量切片可以讓巨大的地圖變得更快,同時提供充分的設計靈活性。矢量切片格式是矢量資料,相當于用于web地圖的光栅圖像平鋪,具有平鋪的優點:針對緩存、縮放和快速服務地圖圖像進行了優化。

The Mapbox-owned vector tilesets described in this documentation are freely available for developers to use as data sources. Mapbox-maintained styles use these tilesets as data sources.

本文檔中描述的Mapbox擁有的向量tileset可提供給開發人員用作資料源。Mapbox維護的樣式将這些平鋪集用作資料源。

These vector tile reference documents include information to help you style the data from each tileset. You can refer to these documents to find information about layers, data fields, data sources, and more.

這些矢量切片參考文檔包含幫助您設定每個平鋪集資料樣式的資訊。您可以參考這些文檔來查找有關圖層、資料字段、資料源等的資訊。

How web maps work網絡地圖是如何工作的

Traditionally, maps are created from image tiles. Like for instance this PNG image tile depicting the corner of lower Manhattan with roads, building footprints, and parks:

傳統地,地圖是使用圖檔切片制作的。例如這張PNG圖像切片描述了曼哈頓的一角,包含道路、建築物和公園:

Mapbox之vector tiles(矢量切片)

To get the underlying vector tile data that makes up this image, you can request it specifically:

要擷取構成此圖像的底層矢量平鋪資料,可以特别請求它:

http://a.tiles.mapbox.com/v4/mapbox.mapbox-streets-v8/14/4823/6160.mvt?access_token=<your access token>