<!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> </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. The values need to be expressed in the same units as your output
spatial reference system. (e.g. if your data is in decimal degrees of
lat/long, your extent should be in decimal degrees). The format is
[minimum x value] [minimum y value] [maximum x value] [maximum y
value] . UNITS also needs to reflect the units of your output
SRS. </FONT></SPAN></DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff
size=2>Try: </FONT></SPAN></DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </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> </DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff size=2>Unless
you are calling the layer by name in the URL request, change STATUS to
DEFAULT to ensure that the layer shows up.</FONT></SPAN></DIV>
<DIV><SPAN class=776164213-18082008></SPAN> </DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff
size=2>David.</FONT></SPAN><SPAN class=776164213-18082008> </SPAN></DIV>
<DIV><SPAN class=776164213-18082008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </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> NAME
NY77SOUTH<BR> STATUS ON<BR> IMAGETYPE
PNG<BR> SIZE 500 500<BR> SHAPEPATH
"/var/www/html"<BR> #West South East
North<BR> EXTENT -421692.82776298042
-15874.371420191659 0 0<BR> UNITS
METERS<BR> PROJECTION <BR> "proj=lcc"
<BR> "lat_1=46.666667" <BR>
"lat_2=41.333333" <BR> "lon_0=-72.833333"
<BR> "lat_0=42.1"<BR>
"x_0=0.0"<BR> "y_0=0.0"<BR> "ellps=GRS80"
<BR> "datum=NAD83" <BR>
END<BR> WEB<BR>
IMAGEPATH
"/var/www/html/tmp/"<BR>
IMAGEURL "/tmp/"<BR>
END<BR><BR> LAYER<BR>
NAME "chart"<BR>
TYPE RASTER<BR>
STATUS ON<BR>
DATA
"/var/www/html/NewYork77South.tif"<BR>
END<BR>END<BR></DIV></BLOCKQUOTE></BODY></HTML>