<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Frank Warmerdam wrote:
<blockquote cite="mid931f8ea9050728115470ddd5c@mail.gmail.com"
type="cite">
<pre wrap="">Douglass,
In what way did it not work?
Try adding "ellps=sphere" to your definition. Your current definition has
no earthmodel definition and depending on your setup there may be no
default.
Note that most projections on a sphere don't map well to conventional
ellpisoid coordinate systems. You may find you need to use "ellps=WGS84"
instead to get good correspondence.
Good luck,
</pre>
</blockquote>
Thanks.<br>
<br>
Now I have:<br>
LAYER <br>
NAME elevation<br>
DATA "elevation/05539624.tif"<br>
TYPE RASTER<br>
STATUS ON<br>
PROJECTION<br>
"proj=laea"<br>
"lon_0=100w"<br>
"lat_0=45n"<br>
"ellps=sphere"<br>
END<br>
END<br>
<br>
Before, it gave an error when trying to do the projection.<br>
<b>Warning</b>: [MapServer Error]: msProcessProjection(): major axis or
radius = 0 or not given in <b>c:\program files\apache
group\apache\htdocs\mapserver\nc.php</b> on line <b>4</b><br>
<br>
<br>
Now I get a map and that error went away (progress :-) . But, still,
no tif layer.<br>
<br>
my (lat/lon) extent for the whole thing is:<br>
EXTENT -85 32 -75 38<br>
<br>
Should the extent be in meters? Isn't putting the projection in the
layer supposed to make that transformation? All of my other layers
just use lat/lon not LAEA and they work fine. So, I'm mixing two types
of coordinates here, and it's still a mystery to me as far as how this
is supposed to work.<br>
<br>
<dl>
<dt><em>Spatial_Domain:</em> </dt>
<dd>
<dl>
<dt><em>Bounding_Coordinates:</em> </dt>
<dd>
<dl>
<dt><em>West_Bounding_Coordinate:</em>-84.84957627 </dt>
<dt><em>East_Bounding_Coordinate:</em>-74.99646893 </dt>
<dt><em>North_Bounding_Coordinate:</em>37.47563559 </dt>
<dt><em>South_Bounding_Coordinate:</em>33.16490113</dt>
</dl>
</dd>
</dl>
</dd>
<dd>
<dl>
<>
</dl>
</dd>
<dd>
<dl>
<>
</dl>
</dd>
<dd>
<dl>
<><br>
<><dt><em>Spatial_Reference_Information:</em> </dt>
<dd>
<dl>
<dt><em>Horizontal_Coordinate_System_Definition:</em> </dt>
<dd>
<dl>
<dt><em>Planar:</em> </dt>
<dd>
<dl>
<dt><em>Map_Projection:</em> </dt>
<dd>
<dl>
<dt><em>Map_Projection_Name:</em> Lambert
Azimuthal Equal Area </dt>
<dt><em>Lambert_Azimuthal_Equal_Area:</em> </dt>
<dd>
<dl>
<dt><em>Longitude_of_Projection_Center:</em>
-100.00 </dt>
<dt><em>Latitude_of_Projection_Center:</em>
45.00 </dt>
<dt><em>False_Easting:</em> 0.0 </dt>
<dt><em>False_Northing:</em> 0.0</dt>
</dl>
</dd>
</dl>
</dd>
<dt><em>Planar_Coordinate_Information:</em> </dt>
<dd>
<dl>
<dt><em>Planar_Coordinate_Encoding_Method:</em>
Row and column </dt>
<dt><em>Coordinate_Representation:</em> </dt>
<dd>
<dl>
<dt><em>Abscissa_Resolution:</em> 1000.0 </dt>
<dt><em>Ordinate_Resolution:</em> 1000.0</dt>
</dl>
</dd>
<dt><em>Planar_Distance_Units:</em> Meters</dt>
</dl>
</dd>
</dl>
</dd>
<dt><em>Geodetic_Model:</em> </dt>
<dd>
<dl>
<dt><em>Horizontal_Datum_Name:</em> None </dt>
<dt><em>Ellipsoid_Name:</em> Sphere </dt>
<dt><em>Semi-major_Axis:</em> 6370997.0 </dt>
<dt><em>Denominator_of_Flattening_Ratio:</em> 1.0</dt>
</dl>
</dd>
</dl>
</dd>
</dl>
</dd>
<dt><br>
</dt>
</dl>
</dd>
</dl>
<br>
</body>
</html>