<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff size=2>Felix, 
</FONT></SPAN></DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff size=2>Extent 
defines the bounding box that you want do display as a default for your 
map.&nbsp; The values need to be expressed in the same units as your output 
spatial reference system.&nbsp; (e.g. if your data is in decimal degrees of 
lat/long, your extent should be in decimal degrees).&nbsp; The format is 
[minimum x value] [minimum y value] [maximum x value] [maximum y 
value]&nbsp;.&nbsp; UNITS also needs to reflect the units of&nbsp;your output 
SRS.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff 
size=2>Try:&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff size=2>EXTENT 
<FONT face="Times New Roman" color=#000000 size=3>-73.795132 40.685928 
-74.153979 40.846823 </FONT></FONT></SPAN></DIV>
<DIV><SPAN class=776164213-18082008>UNITS dd</SPAN></DIV>
<DIV><SPAN class=776164213-18082008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff size=2>Unless 
you are&nbsp;calling the layer by name in the URL request,&nbsp;change STATUS to 
DEFAULT to ensure that the layer shows up.</FONT></SPAN></DIV>
<DIV><SPAN class=776164213-18082008></SPAN>&nbsp;</DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN><SPAN class=776164213-18082008>&nbsp;</SPAN></DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> 
  mapserver-users-bounces@lists.osgeo.org 
  [mailto:mapserver-users-bounces@lists.osgeo.org] <B>On Behalf Of 
  </B>Felix<BR><B>Sent:</B> Saturday, August 16, 2008 10:49 AM<BR><B>To:</B> 
  mapserver-users@lists.osgeo.org<BR><B>Subject:</B> [mapserver-users] Mapserver 
  TIF Layer<BR><BR></FONT></DIV>
  <DIV dir=ltr>Hi,<BR><BR>I'm having some difficulty getting a map to show up. 
  I've setup the latest version of MapServer and I have a TIF with a TFW 
  file.<BR><BR>I don't fully understand how EXTENT works, and I can't find any 
  decent explanation in the documentation. I'm trying to display a portion of my 
  map based on latitude and longitude. What do I need to put in my EXTENT field 
  so that I can get a map with top-left (40.846823/-74.153979) and bottom-right 
  (40.685928/-73.795132).<BR><BR>Thank you for any 
  assistance!<BR><BR>Felix<BR><BR>Here is my TFW 
  file:<BR><BR>63.545941999999989<BR>0.0<BR>0.0<BR>-63.545941999999989<BR>-421692.82776298042<BR>-15874.371420191659<BR><BR>And 
  my Map File:<BR><BR>MAP<BR>&nbsp;&nbsp;&nbsp; NAME 
  NY77SOUTH<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; IMAGETYPE 
  PNG<BR>&nbsp;&nbsp;&nbsp; SIZE 500 500<BR>&nbsp;&nbsp;&nbsp; SHAPEPATH 
  "/var/www/html"<BR>&nbsp;&nbsp;&nbsp; #West South East 
  North<BR>&nbsp;&nbsp;&nbsp; EXTENT&nbsp; -421692.82776298042 
  -15874.371420191659 0 0<BR>&nbsp;&nbsp;&nbsp; UNITS 
  METERS<BR>&nbsp;&nbsp;&nbsp; PROJECTION <BR>&nbsp;&nbsp;&nbsp; "proj=lcc" 
  <BR>&nbsp;&nbsp;&nbsp; "lat_1=46.666667" <BR>&nbsp;&nbsp;&nbsp; 
  "lat_2=41.333333" <BR>&nbsp;&nbsp;&nbsp; "lon_0=-72.833333" 
  <BR>&nbsp;&nbsp;&nbsp; "lat_0=42.1"<BR>&nbsp;&nbsp;&nbsp; 
  "x_0=0.0"<BR>&nbsp;&nbsp;&nbsp; "y_0=0.0"<BR>&nbsp;&nbsp;&nbsp; "ellps=GRS80" 
  <BR>&nbsp;&nbsp;&nbsp; "datum=NAD83" <BR>&nbsp;&nbsp;&nbsp; 
  END<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; WEB<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IMAGEPATH 
  "/var/www/html/tmp/"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; IMAGEURL "/tmp/"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  END<BR><BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LAYER<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME "chart"<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE RASTER<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DATA 
  "/var/www/html/NewYork77South.tif"<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  END<BR>END<BR></DIV></BLOCKQUOTE></BODY></HTML>