Skip to main content

As title says, unable to convert lat/long to MGRS when latitude is -80.01 through -81. e.g., x= ‘100’, y= ’-80.1’ . I’m sure this isn’t the exact range but am able to reproduce the error.

Was wondering if someone had additional information on how transformer calculated polar zones and, if there is preprocessing required for points located in south and north polar regions?

Additionally, lmk as comment if you’re able to reproduce error in other FME version

FME Form 2023.2

 

I am able to reproduce this in FME 2021. I am also seeing it with lat -82.5 but not -83. Changing lon also seems to make a difference as -82.5 works if x=110. Unfortunately I am not very familiar with polar coordinate systems, so I am not exactly sure what is going on.


@liamfez Thank you for your detailed response! happy fmeing


@liamfez Thank you for your detailed response! happy fmeing

You’re welcome, sorry I could not be of more help. If nobody else has any ideas you may want to submit a help ticket to safe as it could possible be a bug in the calculation.


Hi Alex.

As far as I can tell, the UTM projections, on which MGRS is based, are only defined between 80d south and 84d north. So you’re outside the definition area, and unexpected results are to be expected.

Maybe you should use an Antarctic polar projection instead ?

Hope this helps.

Cheers

Lars I.


@lifalin2016 I thought that as well, but when I looked it up it seems that MGRS switches to universal polar stereographic (UPS) for those regions. And perhaps that is part of the problem. With -81 and -82 being close to where the definitions are switching maybe something is wrong with that conversion?


submitted and confirmed. . . It’s a bug. 


Reply