• 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开放的标准

    On this page本页

    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图像切片描述了曼哈顿的一角,包含道路、建筑物和公园:

    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>
    

    As the name suggests, vector tiles contain vector data instead of the rendered image. They contain geometries and metadata — like road names, place names, house numbers — in a compact, structured format. Vector tiles are rendered only when requested by a client, like a web browser or a mobile app. Rendering happens either in the client (Mapbox GL JSMapbox iOS SDKMapbox Android SDK) or dynamically on the server (map API). Read the Mapbox Vector Tile Specification to learn more.

    顾名思义,矢量平铺包含矢量数据,而不是渲染图像。它们以紧凑、结构化的格式包含几何图形和元数据,如道路名称、地名、房屋编号。矢量图块仅在客户端(如web浏览器或移动应用程序)请求时呈现。渲染可以在客户端(Mapbox GL JS、Mapbox iOS SDK、Mapbox Android SDK)中进行,也可以在服务器(map API)上动态进行。阅读Mapbox矢量平铺规范以了解更多信息。(矢量切片可以提前切好,也可以实时生成)

    Benefits of vector tiles矢量切片的好处

    Vector tiles have two important advantages over fully rendered image tiles:

    与完全渲染的图像分片相比,矢量分片有两个重要的优点:

    • Styling: as vectors, tiles can be styled when requested, allowing for many map styles on global data

               样式:作为向量,可以在请求时设置样式,允许在全局数据上使用多种地图样式

    • Size: vector tiles are really small, enabling global high resolution maps, fast map loads, and efficient caching

              尺寸:矢量图块非常小,支持全局高分辨率地图、快速地图加载和高效缓存

    Mapbox Streets, our global basemap, is entirely made of vector tiles. Any map data you upload with Mapbox Studio is converted into vector tiles before styling.

    地图盒街道,我们的全球基础地图,是完全由矢量切片制作的。使用Mapbox Studio上载的任何地图数据在设置样式之前都会转换为矢量分幅。

    Open standard开放标准

    Vector tiles are an open standard under a Creative Commons Attribution 3.0 US License. We support vector tiles across our products and there is a large list of vector tile implementation by other vendors.

    矢量切片是一个开放标准。我们支持矢量切片,并且有一个由其他供应商实现的矢量切片的大列表。

    Read the Mapbox Vector Tile Spec on GitHub and get in touch with us there with feedback and improvements.

    阅读GitHub上的Mapbox矢量切片规范,并与我们联系,提供反馈和改进。

  • 相关阅读:
    014、BOM与DOM对象的应用
    013、BOM对象的应用
    001.JS特效
    开发技巧
    AndroidStudio中使用SVN
    AndroidStudio碰到的各种问题
    Activity的生命周期和启动模式
    03.Java多线程并发库API使用2
    php的memcache和memcached扩展区别
    js:关于IE6/7下new Date(值)输出为NaN的解决方案
  • 原文地址:https://www.cnblogs.com/2008nmj/p/15060008.html
Copyright © 2020-2023  润新知