Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE][expression] Add a to_decimal() function to convert degree/m…
…inute/second strings
- Loading branch information
Showing
5 changed files
with
89 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "to_decimal", | ||
"type": "function", | ||
"groups": ["Conversions"], | ||
"description": "Converts a degree, minute, second coordinate to its decimal equivalent.", | ||
"arguments": [ | ||
{"arg":"value","description":"A degree, minute, second string."} | ||
], | ||
"examples": [ | ||
{ "expression":"to_decimal('6°21\\'16.445')", "returns":"6.3545680555"} | ||
] | ||
} |
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