4 ms·
Can you elaborate? I'm really interested in knowing more...
by pouta 9y ago
Can you elaborate? I'm really interested in knowing more...
- colek42 9y agoPolar regions are tough, not many libraries support them. Lat/Lon represents a point, MGRS represents an area. This causes issues when converting between MGRS and lat/long and back again. Also, a single location can be represented by several MGRS coordinates since the numerical value is an offset from a line, the letters represent where this line is. Then we get into other issues. When converting from lat/lon we need to know what projection the data is in. I often have to make assumptions here, if my assumptions are wrong it could cause an error of many km, depending on how far away from the equator you are. There are several other edge cases I am probably no stating. If you are interested there is some pretty good sample code here: https://svn.osgeo.org/gdal/trunk/gdal/frmts/nitf/mgrs.c https://svn.osgeo.org/gdal/trunk/gdal/frmts/nitf/mgrs.c