Vector tiles: Difference between revisions

From OpenStreetMap Wiki
Jump to navigation Jump to search
(add History section and remove GeoJSON section ... afaik no maintained software uses GeoJSON tiles)
(move the mention of the OSM API to #See also and elaborate that the API is only meant for editing)
Line 6: Line 6:


The [https://www.mapbox.com/vector-tiles/specification/ Mapbox Vector Tile Specification] defines a file format commonly used for serving vector data (2.5D, incl. OpenStreetMap).
The [https://www.mapbox.com/vector-tiles/specification/ Mapbox Vector Tile Specification] defines a file format commonly used for serving vector data (2.5D, incl. OpenStreetMap).

== OpenStreetMap API ==

The [[API v0.6#Retrieving map data by bounding box: GET /api/0.6/map|OpenStreetMap API]] can also be used as an ad-hoc vector tile source for OSM XML data by creating appropriate bounding box queries; the [[iD|iD editor]] uses this mechanism to access OSM source data.


== History ==
== History ==
Line 19: Line 15:
== See also ==
== See also ==


* The [[OSM Editing API]] can also return tiled [[OSM XML]] data via [[API v0.6#Retrieving map data by bounding box: GET /api/0.6/map|bounding box queries]]; the [[iD|iD editor]] uses this mechanism to access OSM source data. Note however that as per the [https://operations.osmfoundation.org/policies/api/ API Usage policy] the API should only be used for editing, and explicitly not for read-only purposes or projects.
* [[/Links]] — a page with many links about vector tiles
* [[/Links]] — a page with many links about vector tiles

Revision as of 08:43, 5 October 2022

Vector tiles are a way to deliver geographic data in small chunks to a browser or other client application. Vector tiles are similar to raster tiles, but instead of raster images, the data returned is a vector representation of the features in the tile. Some vector tile sources are clipped so that all geometry is bounded in the tiles, potentially chopping features in half. Other vector tile sources serve unclipped geometry so that a whole lake may be returned even if only a small part of it intersects the tile.

Mapbox Vector Tiles

The Mapbox Vector Tile Specification defines a file format commonly used for serving vector data (2.5D, incl. OpenStreetMap).

History

  • 2016-01-19: Mapbox Vector Tile Specification 2.1 is released
  • 2014-04-13: Mapbox Vector Tile Specification 1.0.0 is released
  • 2010-11-29: TileStache can serve clipped GeoJSON tiles to Polymaps

See also