ros-geographic-info / geographic_info

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

Fix geopoint conversion from utm for southern hemisphere #53

Open PeterQFR opened 1 year ago

PeterQFR commented 1 year 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