Ważne
Tłumaczenie jest wysiłkiem społeczności QGISa przyłącz się. Ta strona jest obecnie przetłumaczona w 61.33%.
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.
Parametry
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwa wejściowa |
|
[vector tiles] |
A vector tile layer to extract some tiles from |
Zasięg |
|
[zasięg] |
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] Domyślnie: 10 |
Defines how far to zoom in and fetch data from the tiles |
Tile limit |
|
[numeric: integer] Domyślnie: 100 |
Maximum number of tiles to download, considering the zoom levels and the extent. |
Wynik |
|
[vector tiles] Domyślnie: [Zapisz do pliku tymczasowego] |
Specification of the output vector tile file. One of:
|
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Wynik |
|
[vector tiles] |
A local vector tile file storing the downloaded tiles. |
Kod pythona
ID algorytmu: native:downloadvectortiles
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python 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.
Parametry
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Warstwy wejściowe |
|
[vector: any] [list] |
A list of layers to combine to generate the vector tiles |
Minimum zoom level |
|
[numeric: integer] Domyślnie: 0 |
The lowest zoom level for which the tileset provides data. Set between 0 and 24. |
Maximum zoom level |
|
[numeric: integer] Domyślnie: 3 |
The highest zoom level for which the tileset provides data. Set between 0 and 24. |
Zasięg Opcjonalne |
|
[zasięg] Domyślnie: Nie ustawiono |
The maximum extent of the rendered map area. Bounds must define an area covered by all zoom levels. |
Metadata: Name Opcjonalne |
|
[ciąg tekstowy] |
Name of the tileset |
Metadata: Description Opcjonalne |
|
[ciąg tekstowy] |
A description of the tileset’s contents |
Metadata: Attribution Opcjonalne |
|
[ciąg tekstowy] |
An attribution string, which explains the sources of data and/or style for the map. |
Metadata: Version Opcjonalne |
|
[ciąg tekstowy] |
The version of the tileset. This refers to a revision of the tileset itself, not of the MBTiles specification. |
Metadata: Type Opcjonalne |
|
[ciąg tekstowy] |
Type of tileset. Possible values are |
Metadata: Center Opcjonalne |
|
[ciąg tekstowy] |
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] Domyślnie: [Zapisz do pliku tymczasowego] |
Specification of the output MBTiles file. One of:
|
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Destination MBTiles |
|
[plik] |
Output vector tiles |
Kod pythona
ID algorytmu: native:writevectortiles_mbtiles
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python 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.
Parametry
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
File template |
|
[ciąg tekstowy] Domyślnie: «{z}/{x}/{y}.pbf» |
Template to generate the vector tiles url |
Warstwy wejściowe |
|
[vector: any] [list] |
A list of layers to combine to generate the vector tiles |
Minimum zoom level |
|
[numeric: integer] Domyślnie: 0 |
The lowest zoom level for which the tileset provides data. Set between 0 and 24. |
Maximum zoom level |
|
[numeric: integer] Domyślnie: 3 |
The highest zoom level for which the tileset provides data. Set between 0 and 24. |
Zasięg Opcjonalne |
|
[zasięg] Domyślnie: Nie ustawiono |
The maximum extent of the rendered map area. Bounds must define an area covered by all zoom levels. |
Katalog wynikowy |
|
[folder] Domyślnie: [Zapisz do katalogu tymczasowego] |
Specification of the output vector tiles folder. One of:
|
Wyniki
Etykieta |
Nazwa |
Typ |
Opis |
---|---|---|---|
Katalog wynikowy |
|
[folder] |
A folder containing different subsets of the vector tiles files
( |
Kod pythona
ID algorytmu: native:writevectortiles_xyz
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Using processing algorithms from the console for details on how to run processing algorithms from the Python console.