Skip to content

More FORMAT_GEO_MAP/OUT format options #5153

@KristofKoch

Description

@KristofKoch

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 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

Both proposals together

FDDD:MM:SS -> W009°00'00"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions