[Feature] #9060: Centralize conversion units in a unique function

This PR define a new global function to convert between two units.
Also it adds support to xxx-degrees conversion but without latitude adjustment.