Skip to content

Commit

Permalink
Add height to infrastructure type (towers, etc.)
Browse files Browse the repository at this point in the history
  • Loading branch information
jenningsanderson committed Sep 6, 2024
1 parent 7a82c77 commit a62c4f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions schema/base/defs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@ title: Base layer properties
description: Common schema definitions the base theme (primarily from OSM)
"$defs":
propertyDefinitions:
sourceTags:
description: Any attributes/tags from the original source data that should be passed through.
type: object
elevation:
description: Elevation above sea level (in meters) of the feature.
type: integer
maximum: 9000
height:
description: >-
Height of the feature in meters.
type: number
exclusiveMinimum: 0
sourceTags:
description: Any attributes/tags from the original source data that should be passed through.
type: object
surface:
description: Surface material, mostly from the OSM tag, with some normalization.
type: string
Expand Down
1 change: 1 addition & 0 deletions schema/base/infrastructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,5 @@ properties:
- watchtower
- water_tower
- weir
height: { "$ref": ./defs.yaml#/$defs/propertyDefinitions/height }
surface: { "$ref": ./defs.yaml#/$defs/propertyDefinitions/surface }

0 comments on commit a62c4f6

Please sign in to comment.