Hi listers,<br><br>I want  to set the following projection (which works perfectly in the mapfile)<br>dynamically in Mapscript. <br><br>PROJECTION<br> "proj=stere"<br> "ellps=WGS84"<br> "datum=WGS84"
<br> "lon_0=0"<br> "lat_0=-90"<br> "lat_ts=-71"<br> "units=m"<br>END<br><br>------  MapScript ----------------<br><br>$map->setProjection("proj=stere, ellps=WGS84, datum=WGS84, lon_0=0, lat_0=-90, lat_ts=-71, units=m");
<br>- or - <br>$layer->setProjection("proj=stere, ellps=WGS84, datum=WGS84, lon_0=0, lat_0=-90, lat_ts=-71, units=m");<br><br>------- Error -----------------------<br><br>Fatal error: [MapServer Error]: msProcessProjection(): major axis or radius = 0 or not given in .....php
<br><br>-----------------------------------------<br><br>The parameters are identical: What's the problem? Doc help on this subject is scarce...<br>I've tried to add several more parameters specified on the Proj4 site, for this projection
<br>(x_0 = 0,  y_0=0, k_0=1.0) to no avail.<br><br>Any suggestions extremely welcome,<br><br>Dan<br>