You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 or 52°37'19" N
Proposed addition:
[F|G]ddd:mm:ss -> N52°37'19" or N 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 as 01°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
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.
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.
Activity
PaulWessel commentedon Apr 18, 2021
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.
anbj commentedon Apr 20, 2021
PS! #3562
KristofKoch commentedon Jan 11, 2023
I found myself needing the
W009°00'00"output format again and was about to write a feature request – turns out I wrote one already.Is this still considered a useful addition?
PaulWessel commentedon Jan 12, 2023
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.
KristofKoch commentedon Jan 12, 2023
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.
Allow format flags F and G to come first or last
Allow format flags F and G in FORMAT_GEO_MAP to come first or last (#…
WIP allow leading zeros in degree annotations
Leading zeros (#7655)