Skip to content

Commit fdb6a2b

Browse files
committed
Add test for XYZ Tiles algorithm
1 parent 285d4e0 commit fdb6a2b

File tree

9 files changed

+760
-0
lines changed

9 files changed

+760
-0
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading

python/plugins/processing/tests/testdata/qgis_algorithm_tests.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -7524,5 +7524,21 @@ tests:
75247524
name: expected/join_to_nearest_no_matches.gml
75257525
type: vector
75267526

7527+
- name: Generate XYZ tiles
7528+
algorithm: qgis:tilesxyz
7529+
project: ../../../../../tests/testdata/xyztiles.qgs
7530+
project_crs: EPSG:3857
7531+
params:
7532+
EXTENT: -12535000,-9883000,3360000,5349000 [EPSG:3857]
7533+
ZOOM_MIN: 1
7534+
ZOOM_MAX: 3
7535+
TILE_FORMAT: 0 # png
7536+
OUTPUT_FORMAT: 0 # directory
7537+
7538+
results:
7539+
OUTPUT_DIRECTORY:
7540+
type: directory
7541+
name: expected/xyztiles
7542+
75277543

75287544
# See ../README.md for a description of the file format

tests/testdata/xyztiles.qgs

+744
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)