Skip to content

Commit e8e623b

Browse files
Add topic power (#942)
* added topic power (work in progress) * added ohmygrid to projects * added attributes for power_lines and power_substation * added project ohmygrid * modified topics power_lines and power_substation * implement suggestions * fix spelling * fix typo in power_substations * Update ohsome_quality_api/topics/presets.yaml Co-authored-by: Matthias (~talfus-laddus) <83658582+matthiasschaub@users.noreply.github.com> * Update ohsome_quality_api/topics/presets.yaml Co-authored-by: Matthias (~talfus-laddus) <83658582+matthiasschaub@users.noreply.github.com> * Update ohsome_quality_api/topics/presets.yaml Co-authored-by: Matthias (~talfus-laddus) <83658582+matthiasschaub@users.noreply.github.com> * correct spelling and punctuation --------- Co-authored-by: Matthias (~talfus-laddus) <83658582+matthiasschaub@users.noreply.github.com>
1 parent 2d45def commit e8e623b

File tree

3 files changed

+95
-24
lines changed

3 files changed

+95
-24
lines changed

ohsome_quality_api/attributes/attributes.yaml

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,9 +381,41 @@ public-transport-stops:
381381
filter: wheelchair=*
382382
bus-lines:
383383
name: Bus Lines
384-
description: List of all bus lines stopping at a certain stop
384+
description: List of all bus lines stopping at a certain stop.
385385
filter: route_ref=*
386386
departures-board:
387387
name: Departures Board
388388
description: TODO
389-
filter: departures_board=*
389+
filter: departures_board=*
390+
391+
power_lines:
392+
voltage:
393+
name: Voltage
394+
description: Describing the voltage of power lines.
395+
filter: voltage=*
396+
cable:
397+
name: Cable
398+
description: Number of electrically separated, individual or bundled, power-carrying conductors in a power line or cable.
399+
filter: cable=*
400+
frequency:
401+
name: Frequency
402+
description: Describes the frequency of power infrastructure in the unit herz.
403+
filter: frequency=*
404+
operator:
405+
name: Operator
406+
description: Сompany, corporation, person or any other entity who is directly in charge of the current operation of a map object.
407+
filter: operator=*
408+
409+
power_substation:
410+
voltage:
411+
name: Voltage
412+
description: For describing the voltage of substations.
413+
filter: voltage=*
414+
operator:
415+
name: Operator
416+
description: Сompany, corporation, person or any other entity who is directly in charge of the current operation of a map object.
417+
filter: operator=*
418+
location:
419+
name: Location
420+
description: To define the location of a feature which may be above or under ground or in relation to objects such as roofs, bridges or buildings.
421+
filter: location=*

ohsome_quality_api/projects/projects.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ bkg:
5151
description: >-
5252
something that is still a TODO
5353
54+
ohmygrid:
55+
name: ohmygrid
56+
description: >-
57+
https://mapyourgrid.org/
5458
silverways:
5559
name: Silver Ways
5660
description: >-

ohsome_quality_api/topics/presets.yaml

Lines changed: 57 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ bridges_all_ways:
124124
bridges_count:
125125
name: Bridges (count)
126126
description: >-
127-
Count of all polygons labelled as bridge
127+
Count of all polygons labelled as bridge.
128128
endpoint: elements
129129
aggregation_type: count
130130
filter: >-
@@ -164,6 +164,40 @@ cycleway:
164164
- core
165165
- bkg
166166

167+
power_lines:
168+
name: power_lines
169+
description: >-
170+
All linear OSM features referring to power lines.
171+
endpoint: elements
172+
aggregation_type: length
173+
filter: >-
174+
(power=line)
175+
or (power=minor_line)
176+
and geometry:line
177+
indicators:
178+
- attribute-completeness
179+
- mapping-saturation
180+
- currentness
181+
projects:
182+
- ohmygrid
183+
- core
184+
185+
power_substations:
186+
name: power_substation
187+
description: >-
188+
A facility which controls the flow of electricity in a power network with transformers, switchgear or compensators.
189+
endpoint: elements
190+
aggregation_type: count
191+
filter: >-
192+
power=substation
193+
indicators:
194+
- attribute-completeness
195+
- mapping-saturation
196+
- currentness
197+
projects:
198+
- ohmygrid
199+
- core
200+
167201
footpath:
168202
name: Footpath
169203
description: >-
@@ -194,7 +228,8 @@ footpath:
194228

195229
poi:
196230
name: POI
197-
description: Points of interest
231+
description: >-
232+
Points of interest.
198233
endpoint: elements
199234
aggregation_type: count
200235
source: https://github.com/GIScience/openpoiservice/blob/master/openpoiservice/server/categories/categories.yml
@@ -450,7 +485,7 @@ forests:
450485

451486
industrial-landuse-count:
452487
name: Industrial Landuse (count)
453-
description: Industrial landsites
488+
description: Industrial landsites.
454489
endpoint: elements
455490
aggregation_type: count
456491
filter: landuse=industrial and type:way
@@ -463,7 +498,7 @@ industrial-landuse-count:
463498

464499
industrial-landuse-area:
465500
name: Industrial Landuse (area)
466-
description: Industrial areas
501+
description: Industrial areas.
467502
endpoint: elements
468503
aggregation_type: area
469504
filter: landuse=industrial and type:way
@@ -560,7 +595,7 @@ healthcare-primary:
560595
mapaction-settlements-count:
561596
name: MapAction Settlements Count
562597
description: >-
563-
Number of settlements (cities)
598+
Number of settlements (cities).
564599
endpoint: elements
565600
aggregation_type: count
566601
filter: place=city and type:node
@@ -573,7 +608,7 @@ mapaction-settlements-count:
573608
mapaction-capital-city-count:
574609
name: MapAction Capital City Count
575610
description: >-
576-
Number of capital cities
611+
Number of capital cities.
577612
endpoint: elements
578613
aggregation_type: count
579614
filter: place=city and (is_capital=country or admin_level=2 or capital=yes) and type:node
@@ -584,7 +619,7 @@ mapaction-capital-city-count:
584619
mapaction-rail-length:
585620
name: MapAction Rail Length
586621
description: >-
587-
Length of objects identified as rails (large railways)
622+
Length of objects identified as rails (large railways).
588623
endpoint: elements
589624
aggregation_type: length
590625
filter: railway=rail and type:way
@@ -597,7 +632,7 @@ mapaction-rail-length:
597632
mapaction-major-roads-length:
598633
name: MapAction Major Roads length
599634
description: >-
600-
Length of objects identified as major roads (primary, motorway and trunk)
635+
Length of objects identified as major roads (primary, motorway and trunk).
601636
endpoint: elements
602637
aggregation_type: length
603638
filter: highway in (motorway, trunk, primary) and type:way
@@ -610,7 +645,7 @@ mapaction-major-roads-length:
610645
mapaction-lakes-count:
611646
name: MapAction Lakes Count
612647
description: >-
613-
Number of objects identified as lakes, lagoons and reservoirs
648+
Number of objects identified as lakes, lagoons and reservoirs.
614649
endpoint: elements
615650
aggregation_type: count
616651
filter: (water in (lagoon,lake,reservoir) or landuse=reservoir) and type:way
@@ -622,7 +657,7 @@ mapaction-lakes-count:
622657
mapaction-lakes-area:
623658
name: MapAction Lakes Area
624659
description: >-
625-
Area of objects identified as lakes, lagoons and reservoirs
660+
Area of objects identified as lakes, lagoons and reservoirs.
626661
endpoint: elements
627662
aggregation_type: area
628663
filter: (water in (lagoon,lake,reservoir) or landuse=reservoir) and type:way
@@ -634,7 +669,7 @@ mapaction-lakes-area:
634669
mapaction-rivers-length:
635670
name: MapAction Rivers Length
636671
description: >-
637-
Length of objects identified as rivers (or riverbanks)
672+
Length of objects identified as rivers (or riverbanks).
638673
endpoint: elements
639674
aggregation_type: length
640675
filter: waterway in (riverbank,river) and type:way
@@ -673,7 +708,7 @@ land-cover:
673708

674709
local-food-shops:
675710
name: Local food shops
676-
description: Count of local food shops
711+
description: Count of local food shops.
677712
endpoint: elements
678713
aggregation_type: count
679714
filter: shop=bakery or shop=butcher or shop=greengrocer or shop=seafood or shop=cheese or shop=dairy
@@ -685,7 +720,7 @@ local-food-shops:
685720

686721
fast-food-restaurants:
687722
name: Fast food restaurants
688-
description: Count of fast food restaurants
723+
description: Count of fast food restaurants.
689724
endpoint: elements
690725
aggregation_type: count
691726
filter: amenity=fast_food
@@ -697,7 +732,7 @@ fast-food-restaurants:
697732

698733
restaurants:
699734
name: Restaurants
700-
description: Count of restaurants
735+
description: Count of restaurants.
701736
endpoint: elements
702737
aggregation_type: count
703738
filter: amenity=restaurant or amenity=cafe
@@ -709,7 +744,7 @@ restaurants:
709744

710745
convenience-stores:
711746
name: Convenience stores
712-
description: Count of convenience stores
747+
description: Count of convenience stores.
713748
endpoint: elements
714749
aggregation_type: count
715750
filter: shop=convenience
@@ -721,7 +756,7 @@ convenience-stores:
721756

722757
pubs-and-biergartens:
723758
name: Pubs and biergartens
724-
description: Count of pubs and biergartens
759+
description: Count of pubs and biergartens.
725760
endpoint: elements
726761
aggregation_type: count
727762
filter: amenity=pub or amenity=biergarten or amenity=bar
@@ -733,7 +768,7 @@ pubs-and-biergartens:
733768

734769
alcohol-and-beverages:
735770
name: Alcohol and beverages
736-
description: Count of shops selling alcohol
771+
description: Count of shops selling alcohol.
737772
endpoint: elements
738773
aggregation_type: count
739774
filter: shop=alcohol or shop=beverages
@@ -744,8 +779,8 @@ alcohol-and-beverages:
744779
- expanse
745780

746781
sweets-and-pasteries:
747-
name: Sweets and pasteries
748-
description: Count of shops selling sweets and pasteries
782+
name: Sweets and pastries
783+
description: Count of shops selling sweets and pastries.
749784
endpoint: elements
750785
aggregation_type: count
751786
filter: shop=pastry or amenity=ice_cream or shop=confectionery
@@ -810,7 +845,7 @@ clc-forest-area:
810845

811846
clc-leaf-type:
812847
name: Leaf Types of Forests CLC
813-
description: frequency of forests according to Corine Land Cover Category "Forests" (level 2) tagged with Leaf Type.
848+
description: Frequency of forests according to Corine Land Cover Category "Forests" (level 2) tagged with Leaf Type.
814849
endpoint: elements
815850
aggregation_type: area
816851
filter: >-
@@ -893,7 +928,7 @@ clc-waterway-len:
893928

894929
minimal:
895930
name: Minimal
896-
description: A minimal topic definition for testing purposes
931+
description: A minimal topic definition for testing purposes.
897932
endpoint: elements
898933
aggregation_type: count
899934
filter: building=* and building!=no and geometry:polygon
@@ -906,7 +941,7 @@ minimal:
906941

907942
infrastructure-lines:
908943
name: Infrastructure Lines
909-
description: Line objects related to infrastructure
944+
description: Line objects related to infrastructure.
910945
endpoint: elements
911946
aggregation_type: length
912947
filter: (aerialway=* or aeroway=* or highway=* or power=* or railway=* or telecom=*) and geometry:line

0 commit comments

Comments
 (0)