[Proj] proj=undef ??

support.mn at elisanet.fi support.mn at elisanet.fi
Sat Jun 25 12:42:41 EST 2011


Hello,

to be exact, we needed pseudo projections
for degrees and radians:

"proj=degr"

FORWARD(forward);
xy.x = lp.lam*RAD_TO_DEG;
xy.y = lp.phi*RAD_TO_DEG;
return xy;
}

INVERSE(inverse);
lp.phi = xy.y*DEG_TO_RAD;
lp.lam = xy.x*DEG_TO_RAD;
return lp;
}


and "proj=rad" or  "proj=undef"

FORWARD(forward);
xy.x = lp.lam;
xy.y = lp.phi;
return xy;
}

INVERSE(inverse);
lp.phi = xy.y;
lp.lam = xy.x;
return lp;
}

Regards: Janne.




More information about the Proj mailing list