[Proj] Projection conversion problem

Hermann Peifer peifer at gmx.eu
Mon Jun 27 11:14:54 PDT 2016


On 2016-06-27 11:43, Damian Rakowski wrote:
> 
> I have coordinates in WGS84 like:
> 
> 2.2945 48.858222
> 
> and I need to transform them to WGS84-like projection with different
> unit - encoded on integer.
> Basically what I need to do is to transform coordinates in the following
> way:
> 
> floor(coordinate * 2^32/360)
> 2^32/360 = 11930464,711111111111111111111111
> 
> 
> After conversion I expect to get the following coordinates:
> 
> 27374451 582901293
> 

This looks like Garmin's "semicircle units". You don't need proj for
calculating them. Any of awk/perl/python/ruby/... will do.

Hermann



More information about the Proj mailing list