-
Notifications
You must be signed in to change notification settings - Fork 7
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 #673 from GIScience/get_template
refactor(indicators): separate templates from metadata and merge all metadata files
- Loading branch information
Showing
33 changed files
with
282 additions
and
269 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
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
22 changes: 0 additions & 22 deletions
22
ohsome_quality_api/indicators/attribute_completeness/metadata.yaml
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
ohsome_quality_api/indicators/attribute_completeness/templates.yaml
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
label_description: | ||
red: >- | ||
Less than 25% of the features match the expected tags. | ||
yellow: >- | ||
Around 25-75% of the features match the expected tags. | ||
green: >- | ||
More than 75% of the features match the expected tags. | ||
undefined: >- | ||
The quality level could not be calculated for this indicator. | ||
result_description: >- | ||
The ratio of the features (all: $all) compared to features with | ||
expected tags (matched: $matched) is $result. |
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
20 changes: 0 additions & 20 deletions
20
ohsome_quality_api/indicators/building_comparison/metadata.yaml
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
ohsome_quality_api/indicators/building_comparison/templates.yaml
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
label_description: | ||
red: >- | ||
The completeness of OSM buildings in your area-of-interest is low. | ||
yellow: >- | ||
The completeness of OSM buildings in your area-of-interest is medium. | ||
green: >- | ||
The completeness of OSM buildings in your area-of-interest is high. | ||
undefined: >- | ||
Comparison could not be made. | ||
result_description: >- | ||
The completeness in comparison to $dataset is $ratio%. |
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 was deleted.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
label_description: | ||
red: >- | ||
Many features are out-of-date. | ||
yellow: >- | ||
Some features are up-to-date and some features are out-of-date. | ||
green: >- | ||
Most features are up-to-date. | ||
undefined: >- | ||
The quality level could not be calculated for this indicator. | ||
result_description: >- | ||
In the area of interest $up_to_date_contrib_rel% of the $num_of_elements features were edited (created or modified) for the last time in the period between $from_timestamp and $to_timestamp. |
Oops, something went wrong.