Skip to content

Commit

Permalink
Accept units in Elevation field
Browse files Browse the repository at this point in the history
The Elevation field is now of type roadheight, so that the user can explicitly specify a unit other than meters when appropriate without having to convert the quantity in their head. Technically, this is not a road height but rather a different height dimension, but it happens to be measured in the same units in both metric and customary countries.
  • Loading branch information
1ec5 committed May 8, 2024
1 parent 6de5f5f commit 096f5e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/fields/ele.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"key": "ele",
"type": "number",
"label": "Elevation (Meters)",
"type": "roadheight",
"label": "Elevation",
"geometry": [
"line",
"area",
Expand Down
4 changes: 2 additions & 2 deletions interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1970,9 +1970,9 @@ en:
terms: '[translate with synonyms or related terms for ''Duration'', separated by commas]'
ele:
# ele=*
label: Elevation (Meters)
label: Elevation
# 'terms: altitude,height'
terms: '[translate with synonyms or related terms for ''Elevation (Meters)'', separated by commas]'
terms: '[translate with synonyms or related terms for ''Elevation'', separated by commas]'
ele_node:
# ele=*
# 'terms: altitude,height'
Expand Down

0 comments on commit 096f5e1

Please sign in to comment.