ros-geographic-info / geographic_info

ROS packages for geographic information
http://ros.org/wiki/geographic_info
66 stars 62 forks source link

Fix geopoint conversion from utm for southern hemisphere #53

Open PeterQFR opened 2 years ago

PeterQFR commented 2 years ago

Here is a Bug in the python library where the conversion from utm to lat lon in southern hemisphere does not work. In the CPP geodesy::UTM code there is a conversion where 10000000 is subtracted from the northings which correctly places the lat lon in southern hemisphere.

This fixes that for the python library which only correctly outputs for northern hemisphere