From 43f1c10a9a5ae106cd66dd8503a6db73fc355d2a Mon Sep 17 00:00:00 2001 From: Kenn Cartier Date: Tue, 17 Dec 2024 17:10:20 -0800 Subject: [PATCH] Added larger sampling area --- tests/resources/bbox_constants.py | 6 ++++++ tests/resources/layer_dumps/conftest.py | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/resources/bbox_constants.py b/tests/resources/bbox_constants.py index 01b1e15..846f793 100644 --- a/tests/resources/bbox_constants.py +++ b/tests/resources/bbox_constants.py @@ -28,3 +28,9 @@ 4.9012,52.3720, 4.9083,52.3752 ) + +BBOX_NLD_AMSTERDAM_LARGE_TEST = ( + 4.884629880473071,52.34146514406914, + 4.914180290924863,52.359560786247165 +) + diff --git a/tests/resources/layer_dumps/conftest.py b/tests/resources/layer_dumps/conftest.py index 9340996..07faa75 100644 --- a/tests/resources/layer_dumps/conftest.py +++ b/tests/resources/layer_dumps/conftest.py @@ -4,13 +4,14 @@ import shutil from collections import namedtuple -from tests.resources.bbox_constants import BBOX_BRA_LAURO_DE_FREITAS_1, BBOX_NLD_AMSTERDAM_TEST +from tests.resources.bbox_constants import BBOX_BRA_LAURO_DE_FREITAS_1, BBOX_NLD_AMSTERDAM_TEST, \ + BBOX_NLD_AMSTERDAM_LARGE_TEST from tests.tools.general_tools import create_target_folder, is_valid_path # RUN_DUMPS is the master control for whether the writes and tests are executed # Setting RUN_DUMPS to True turns on code execution. # Values should normally be set to False in order to avoid unnecessary execution. -RUN_DUMPS = False +RUN_DUMPS = True # Multiplier applied to the default spatial_resolution of the layer # Use value of 1 for default resolution. @@ -18,8 +19,9 @@ # Both the tests and QGIS file are implemented for the same bounding box in Brazil. COUNTRY_CODE_FOR_BBOX = 'BRA' -# BBOX = BBOX_BRA_LAURO_DE_FREITAS_1 -BBOX = BBOX_NLD_AMSTERDAM_TEST +BBOX = BBOX_BRA_LAURO_DE_FREITAS_1 +# BBOX = BBOX_NLD_AMSTERDAM_TEST +# BBOX = BBOX_NLD_AMSTERDAM_LARGE_TEST # Specify None to write to a temporary default folder otherwise specify a valid custom target path. CUSTOM_DUMP_DIRECTORY = None