<!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>
Ethan Alpert wrote:
<blockquote
 cite="mid1FB6937A87F9074C9A2B8F9D9137EB1603A8CC96@COMAIL01.digitalglobe.com"
 type="cite">
  <title>Message</title>
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2900.2604" name="GENERATOR">
  <div><span class="451275519-28072005"><font color="#0000ff"
 face="Arial" size="2">You should be using the units of the laea
projection rather than decimal degrees to set the EXTENT. </font></span></div>
  <div><span class="451275519-28072005"></span>&nbsp;</div>
  <div><span class="451275519-28072005"><font color="#0000ff"
 face="Arial" size="2">It's very difficult to know from a lat/long box
what the output of the projection will be. It's best to use the units
of the projected coordinate system.</font></span></div>
  <div><span class="451275519-28072005"></span>&nbsp;</div>
  <div><span class="451275519-28072005"><font color="#0000ff"
 face="Arial" size="2">-e</font></span>&nbsp;</div>
</blockquote>
Thanks.&nbsp; That worked....&nbsp; For all the other newbies, and since this was
so confusing to me, I thought I would post the solution for people to
google later.<br>
<br>
My previous extent was in lat/lon<br>
EXTENT -85 32 -75 3<br>
<br>
Since I just wanted the North Carolina area, so I used the cs2cs
conversion program to convert from Lat Lon to Lambert Azimuthal Equal
Area Projection coordinates.<br>
<br>
C:\mapserver\data&gt;cs2cs +proj=latlong +datum=WGS84 +to +proj=laea
+ellps=clrk66<br>
+lat_0=45 +lon_0=-100<br>
-85 32&nbsp; &lt;---type lower left coords here<br>
1417368.72&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1316195.76 0.000&nbsp; <br>
-75 38&nbsp; &lt;--- type upper right coords here<br>
2159115.16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -450114.08 0.000<br>
<br>
New extent is <br>
&nbsp; EXTENT 1417368.72&nbsp; -1316195.76 2159115.16 -450114.08<br>
<br>
# Projection (global, in Map object)<br>
&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp; # Projection parameters can be defined in two ways...<br>
&nbsp;&nbsp;&nbsp; # This is the traditional Proj.4 definition of Lambert Azimuthal
Equal-Area<br>
&nbsp;&nbsp;&nbsp; # projection for the Continental U.S.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "proj=laea"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "ellps=clrk66"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "lat_0=45"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "lon_0=-100"<br>
&nbsp; END<br>
<br>
# My tif layer:<br>
&nbsp;LAYER <br>
&nbsp;&nbsp; NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; elevation<br>
&nbsp;&nbsp; DATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "elevation/05539624.tif"<br>
&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RASTER<br>
&nbsp;&nbsp; STATUS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ON<br>
&nbsp;END<br>
<br>
# Another layer with the a projection:<br>
<br>
&nbsp; LAYER<br>
&nbsp;&nbsp;&nbsp;&nbsp; NAME counties<br>
&nbsp;&nbsp;&nbsp;&nbsp; DATA "counties/co37_d00"<br>
&nbsp;&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>
&nbsp;&nbsp;&nbsp;&nbsp; STATUS ON<br>
&nbsp;&nbsp;&nbsp;&nbsp; CLASSITEM "STATE"<br>
&nbsp;&nbsp;&nbsp;&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME counties<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXPRESSION "37"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR -1 -1 -1<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 5 5 5<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "init=epsg:4326"<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp; END<br>
<br>
<br>
--<br>
PHP Stuff:<br>
<a class="moz-txt-link-freetext" href="http://www.douglassdavis.com/">http://www.douglassdavis.com/</a><br>
</body>
</html>