[gdal-dev] OgrSpatialReference scaling polg stereographic

Kees Kling ckling at upcmail.nl
Sun Jan 20 02:10:45 PST 2013


Hi,

I defined a projection
     proj = new OGRSpatialReference();
     OGRErr error = proj->importFromProj4(projString.c_str());
where projString = "+proj=stere +lon_0=0 +lat_0=90.0 +lat_ts=60.0 
+a=6378.388 +b=6356.906"

from inside my program i want to do zooming so
     proj->SetProjParm(SRS_PP_SCALE_FACTOR,scale);
but doesn't seems to work. If I do it with a mercator projection it works.
What is wrong, do I need to use another param instead of SRS_PP_SCALE_FACTOR

Regards
Kees Kling


More information about the gdal-dev mailing list