Exporting vector tiles
Exporting 2GIS vector tiles in the MVT (Mapbox Vector Tiles) format is an alternative way of getting the 2GIS map to be used in your GIS system. This document describes how to get vector tiles for further integration into the target system.
Mapbox Vector Tiles (MVT) is a public standard of presenting geographic vector data. This is a popular standard supported by most modern GIS systems.
Use the opportunity to export 2GIS vector tiles in the MVT format if both of the statements below are true:
- Your target GIS system does not support the 2GIS vector tile format or the MapGL JS API implementation.
- Your target GIS system can work with MVT vector tile format.
Data types
Exported 2GIS tiles in the MVT format contain the following data types:
- polygons (monochrome flat areas: regions, lakes, 2D buildings, and others)
- lines (roads, narrow rivers)
- points (icons, labels)
- polygons with elevation (3D buildings)
- dashed lines (zebra crossings, railways)
- labels along lines (street names)
The following data types are not available in exported tiles but are supported by MapGL JS API:
- lines with elevation (3D fences)
- arrows from lines (showing the direction of movement on roads)
- 3D models (trees, immersive buildings)
- points of physical size (road markings)
- 3D polygons (junctions, road embankments)
Getting tiles
-
Make sure that API Platform with the Tiles API service is installed in your environment.
In the configuration file for installing Tiles API, the
mapboxtile type must be specified:types:
- kind: mapbox -
Export the tiles using the link below:
https://<domain>/mapbox/mapbox/{z}/{x}/{y}.mvtWhere
domainis the Tiles API domain name that you specify during installation.Important
The size of exported tiles is 6-14 GB.