-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from OnroerendErfgoed/release/0.4.0
Release/0.4.0
- Loading branch information
Showing
39 changed files
with
1,527 additions
and
1,278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.3.0" | ||
__version__ = "0.4.0" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,45 @@ | ||
# Thresholds | ||
# Area in m² for excluding candidate reference when overlap(m²) is smaller than the | ||
# threshold | ||
THRESHOLD_EXCLUSION_AREA = 0 | ||
# Percentage for excluding candidate reference when overlap(%) is smaller than the | ||
# threshold | ||
THRESHOLD_EXCLUSION_PERCENTAGE = 0 | ||
|
||
# Buffer parameters: | ||
# Explanation and examples: | ||
# https://shapely.readthedocs.io/en/stable/reference/shapely.buffer.html | ||
# https://postgis.net/docs/ST_Buffer.html | ||
# Distance to limit a buffered corner (MITER-join-style parameter) | ||
MITRE_LIMIT = 10 | ||
# Used in buffer-operations to define a quarter circle | ||
QUAD_SEGMENTS = 5 | ||
|
||
# Correction-parameters (technical) | ||
|
||
# Multiplication-factor used in OD-strategy 2 (SNAP-BOTH SIDED) when calculating | ||
# OD-area to take into account | ||
BUFFER_MULTIPLICATION_FACTOR = 1.01 | ||
# Threshold-value to exclude circles getting processed (perfect circle = 1) based on | ||
# POLSPY-POPPER algorithm | ||
THRESHOLD_CIRCLE_RATIO = 0.98 | ||
# Distance used in a pos_neg_buffer to remove slivers (technical correction) | ||
CORR_DISTANCE = 0.01 | ||
|
||
# Download-settings: when extracting features by URL | ||
# max buffer around thematic geometry to download reference parcels | ||
MAX_REFERENCE_BUFFER = 10 | ||
# Limit used when extracting features by URL, using the feature API (f.e. from GRB) | ||
DOWNLOAD_LIMIT = 10000 | ||
|
||
# default CRS: | ||
DEFAULT_CRS = "EPSG:31370" # BelgianLambert72 | ||
|
||
# MULTI_SINGLE_ID_SEPARATOR #separator to split multipolygon_ids to single polygons | ||
MULTI_SINGLE_ID_SEPARATOR = "*$*" | ||
|
||
|
||
FORMULA_FIELD_NAME = "brdr_formula" | ||
EVALUATION_FIELD_NAME = "brdr_evaluation" | ||
NR_CALCULATION_FIELD_NAME = "brdr_nr_calculations" | ||
RELEVANT_DISTANCE_FIELD_NAME = "brdr_relevant_distance" | ||
PREFIX_FIELDNAME = "brdr_" | ||
BASE_FORMULA_FIELD_NAME = ( | ||
PREFIX_FIELDNAME + "base_formula" | ||
) # for use in grb_actualisation | ||
FORMULA_FIELD_NAME = PREFIX_FIELDNAME + "formula" | ||
EVALUATION_FIELD_NAME = PREFIX_FIELDNAME + "evaluation" | ||
DIFF_PERCENTAGE_FIELD_NAME = PREFIX_FIELDNAME + "diff_percentage" | ||
DIFF_AREA_FIELD_NAME = PREFIX_FIELDNAME + "diff_area" | ||
FULL_BASE_FIELD_NAME = PREFIX_FIELDNAME + "full_base" | ||
FULL_ACTUAL_FIELD_NAME = PREFIX_FIELDNAME + "full_actual" | ||
EQUAL_REFERENCE_FEATURES_FIELD_NAME = PREFIX_FIELDNAME + "equal_reference_features" | ||
OD_ALIKE_FIELD_NAME = PREFIX_FIELDNAME + "od_alike" | ||
|
||
NR_CALCULATION_FIELD_NAME = PREFIX_FIELDNAME + "nr_calculations" | ||
RELEVANT_DISTANCE_FIELD_NAME = PREFIX_FIELDNAME + "relevant_distance" | ||
REMARK_FIELD_NAME = PREFIX_FIELDNAME + "remark" | ||
LAST_VERSION_DATE = "last_version_date" | ||
VERSION_DATE = "version_date" | ||
|
||
DATE_FORMAT = "%Y-%m-%d" | ||
|
||
# GRB_CONSTANTS | ||
# max buffer (m) around thematic geometry to download reference parcels | ||
GRB_MAX_REFERENCE_BUFFER = 10 | ||
# URL of the OGC feature API of actual GRB to extract collections | ||
GRB_FEATURE_URL = "https://geo.api.vlaanderen.be/GRB/ogc/features/collections" | ||
|
||
# URL of the OGC feature API of GRB fiscal parcels (situation of 1st of January) to | ||
# extract collections | ||
GRB_FISCAL_PARCELS_URL = "https://geo.api.vlaanderen.be/Adpf/ogc/features/collections" | ||
|
||
# Property-name of version_date | ||
GRB_VERSION_DATE = "VERSDATUM" | ||
|
||
# Property-name of id of GRB-parcels | ||
GRB_PARCEL_ID = "CAPAKEY" | ||
|
||
# Property-name of id of GRB-parcels | ||
GRB_BUILDING_ID = "OIDN" | ||
|
||
# Property-name of id of GRB-parcels | ||
GRB_KNW_ID = "OIDN" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.