[Proj] Different lat/lon projections

Frank Warmerdam warmerdam at pobox.com
Thu May 5 07:27:42 PDT 2011


On 11-05-05 06:09 AM, Mikael Rittri wrote:
> Answer:
>
>      +proj=longlat +lon_wrap=180
>
> The +lon_wrap parameter is documented on http://trac.osgeo.org/proj/wiki/GenParms
> But it seems that the simple proj command recognizes but ignores +lon_wrap;
> the verbose option does not say that +lon_wrap is unused, but it has
> no effect (perhaps I am using it wrong):

Mikael,

+lon_wrap is only applied in the pj_transform() function which means it
is applied by cs2cs but not by the proj commandline program which directly
calls pj_fwd() and pj_inv().

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Proj mailing list