-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More FORMAT_GEO_MAP/OUT format options #5153
Comments
These are good suggestions, @KristofKoch. Once EGU is over etc I will have a look if your syntax is the best option or not, but I agree with the functionality. 6.3 though. |
PS! #3562 |
I found myself needing the Is this still considered a useful addition? |
Obviously this got lost in the shuffle when there are too many issues pending. I will refresh my memory of how this could be done. |
Good morning Paul, thank you for looking into this again. No worries, it is nothing a visit to a vector graphics program can't fix. It is just tedious work doing it manually. |
See #5153 for background. This PR seeks to implement that scheme.
* WIP allow leading zeros in degree annotations See #5153. * Get DDD working for latitudes * Added explanation for DDD to table (#7656) * Further implementation of #7475 * Another manual update related to #7475 * gmt.conf.rst: FORMAT_GEO_OUT, DDD means 3 digits for longitude, 2 digits for latitude --------- Co-authored-by: Paul Wessel <pwessel@hawaii.edu> Co-authored-by: KristofKoch <45796239+KristofKoch@users.noreply.github.com> Co-authored-by: andreas <panden@gmail.com>
Description of the desired feature
Currently the formatting options for geographic coordinates offers quite a few options but might benefit from some more.
Allow F and G in front of string
Currently the WESN sign is only allowed after the numbers. I could make good use of them in front of the numbers as well.
Current behaviour:
ddd:mm:ss[F|G]
->52°37'19"N
or52°37'19" N
Proposed addition:
[F|G]ddd:mm:ss
->N52°37'19"
orN 52°37'19"
The proposed leading
F
option is common in aviation context.Leading/trailing Zeroes
In aviation usually all places of a coordinate are written even if they are zero. This is done to make sure not digit is accidentally missing. To my knowledge currently single digit degree latitude and single or double digit degree longitude can only be written as
1°N
,3°E
,47°W
and not as01°N
,003°E
,047°W
. Similar with arc minutes and seconds. They are only plotted if not zero.Current behaviour (three degrees north latitude, nine degrees west longitude):
ddd:mm:ssF
->3°N
,9°W
Proposed addition:
DDD:MM:SSF
->03°00'00"N
,009°00'00"W
While you might have even better ideas how to implement this I found capitalising the letters quite nice as it maintains backwards compatibility
Both proposals together
FDDD:MM:SS
->W009°00'00"
The text was updated successfully, but these errors were encountered: