Svarbu
Vertimas yra bendruomenės pastangos, prie kurių jūs galite prisijungti. Šis puslapis šiuo metu išverstas 48.07%.
24.1.27. Vector Tiles
24.1.27.1. Download vector tiles
Downloads vector tiles of an input vector tile layer and saves them in a local vector tile file.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
Įvesties sluoksnis |
|
[vector tiles] |
A vector tile layer to extract some tiles from |
Extent |
|
[extent] |
Specify the spatial extent of the downloaded area. It will internally be extended to a multiple of the tile size. Available methods are:
|
Maximum zoom level to download |
|
[numeric: integer] Default: 10 |
Defines how far to zoom in and fetch data from the tiles |
Tile limit |
|
[numeric: integer] Default: 100 |
Maximum number of tiles to download, considering the zoom levels and the extent. |
Output |
|
[vector tiles] Default: [Save to temporary file] |
Specification of the output vector tile file. One of:
|
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
Output |
|
[vector tiles] |
A local vector tile file storing the downloaded tiles. |
Pythono kodas
Algorithm ID: native:downloadvectortiles
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.
24.1.27.2. Write vector tiles (MBTiles)
Exports one or more vector layers to vector tiles, a data format optimized for fast map rendering and small data size.
MBTiles is a specification for storing tiled map data in SQLite databases for immediate usage and for transfer. MBTiles files are known as tilesets.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
Input layers |
|
[vector: any] [list] |
A list of layers to combine to generate the vector tiles |
Minimum zoom level |
|
[numeric: integer] Numatytas: 0 |
The lowest zoom level for which the tileset provides data. Set between 0 and 24. |
Maximum zoom level |
|
[numeric: integer] Default: 3 |
The highest zoom level for which the tileset provides data. Set between 0 and 24. |
Extent Pasirinktinis |
|
[extent] Numatytas: jokio |
The maximum extent of the rendered map area. Bounds must define an area covered by all zoom levels. |
Metadata: Name Pasirinktinis |
|
[string] |
Name of the tileset |
Metadata: Description Pasirinktinis |
|
[string] |
A description of the tileset’s contents |
Metadata: Attribution Pasirinktinis |
|
[string] |
An attribution string, which explains the sources of data and/or style for the map. |
Metadata: Version Pasirinktinis |
|
[string] |
The version of the tileset. This refers to a revision of the tileset itself, not of the MBTiles specification. |
Metadata: Type Pasirinktinis |
|
[string] |
Type of tileset. Possible values are |
Metadata: Center Pasirinktinis |
|
[string] |
The center (string of comma-separated numbers: the longitude, latitude, and zoom level)
of the default view of the map. Example: |
Destination MBTiles |
|
[vector tiles] Default: [Save to temporary file] |
Specification of the output MBTiles file. One of:
|
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
Destination MBTiles |
|
[file] |
Output vector tiles |
Pythono kodas
Algorithm ID: native:writevectortiles_mbtiles
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.
24.1.27.3. Write vector tiles (XYZ)
Exports one or more vector layers to vector tiles, a data format optimized for fast map rendering and small data size.
Parametrai
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
File template |
|
[string] Default: ‚{z}/{x}/{y}.pbf‘ |
Template to generate the vector tiles url |
Input layers |
|
[vector: any] [list] |
A list of layers to combine to generate the vector tiles |
Minimum zoom level |
|
[numeric: integer] Numatytas: 0 |
The lowest zoom level for which the tileset provides data. Set between 0 and 24. |
Maximum zoom level |
|
[numeric: integer] Default: 3 |
The highest zoom level for which the tileset provides data. Set between 0 and 24. |
Extent Pasirinktinis |
|
[extent] Numatytas: jokio |
The maximum extent of the rendered map area. Bounds must define an area covered by all zoom levels. |
Output directory |
|
[folder] Default: [Save to temporary folder] |
Specification of the output vector tiles folder. One of:
|
Išvestys
Užrašas |
Pavadinimas |
Tipas |
Aprašymas |
---|---|---|---|
Output directory |
|
[folder] |
A folder containing different subsets of the vector tiles files
( |
Pythono kodas
Algorithm ID: native:writevectortiles_xyz
import processing
processing.run("algorithm_id", {parameter_dictionary})
algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.