ros-geographic-info / geographic_info

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

Fix for UTM Conversion to LatLon in southern hemisphere. #54

Open PeterQFR opened 1 year ago

PeterQFR commented 1 year ago

The python Geodey package does not correctly recreate lat lon from a utm in the southern hemisphere. It seems pyProj needs a specific hemisphere tag in the definition.

However another fix is provided in the cpp code for geodesy::UTM that I've replicated in the python code to ensure both are consisted with each other. (and as far as I can tell with google maps)

I've opened a PR #53