Skip to content

Commit

Permalink
rename layer ideal_vgi_infrastructure to basic_infrastructure (#416)
Browse files Browse the repository at this point in the history
* rename layer ideal_vgi_infrastructure to infrastructure_line
  • Loading branch information
Gigaszi authored Sep 7, 2022
1 parent 73cffef commit 12ca6f6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

# Current Main

## Breaking Changes

- Rename layer `ideal_vgi_infrastructure` to `infrastructure_lines` ([#416])

[#416]: https://github.com/GIScience/ohsome-quality-analyst/pull/416


## 0.11.0

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion workers/ohsome_quality_analyst/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class RasterDataset:
("MappingSaturation", "mapaction_rail_length"),
("MappingSaturation", "mapaction_lakes_area"),
("MappingSaturation", "mapaction_rivers_length"),
("MappingSaturation", "ideal_vgi_infrastructure"),
("MappingSaturation", "infrastructure_lines"),
("MappingSaturation", "poi"),
("MappingSaturation", "lulc"),
("Currentness", "major_roads_count"),
Expand Down
6 changes: 3 additions & 3 deletions workers/ohsome_quality_analyst/ohsome/layer_definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,9 @@ mapaction_rivers_length:
endpoint: elements/length
filter: waterway in (riverbank,river) and type:way

ideal_vgi_infrastructure:
name: IDEAL-VGI Infrastructure
description: Objects related to infrastructure
infrastructure_lines:
name: Infrastructure Lines
description: Line objects related to infrastructure
endpoint: elements/length
filter: (aerialway=* or aeroway=* or highway=* or power=* or railway=* or telecom=*) and geometry:line

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class MultilevelMappingSaturation(BaseReport):
def set_indicator_layer(self):
self.indicator_layer = (
IndicatorLayer("MappingSaturation", "ideal_vgi_infrastructure"),
IndicatorLayer("MappingSaturation", "infrastructure_lines"),
IndicatorLayer("MappingSaturation", "poi"),
IndicatorLayer("MappingSaturation", "lulc"),
IndicatorLayer("MappingSaturation", "building_count"),
Expand Down

0 comments on commit 12ca6f6

Please sign in to comment.