<div dir="ltr">Hi,<br><br>I&#39;m having some difficulty getting a map to show up. I&#39;ve setup the latest version of MapServer and I have a TIF with a TFW file.<br><br>I don&#39;t fully understand how EXTENT works, and I can&#39;t find any decent explanation in the documentation. I&#39;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 &quot;/var/www/html&quot;<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; &quot;proj=lcc&quot; <br>&nbsp;&nbsp;&nbsp; &quot;lat_1=46.666667&quot; <br>&nbsp;&nbsp;&nbsp; &quot;lat_2=41.333333&quot; <br>&nbsp;&nbsp;&nbsp; &quot;lon_0=-72.833333&quot; <br>&nbsp;&nbsp;&nbsp; &quot;lat_0=42.1&quot;<br>&nbsp;&nbsp;&nbsp; &quot;x_0=0.0&quot;<br>&nbsp;&nbsp;&nbsp; &quot;y_0=0.0&quot;<br>
&nbsp;&nbsp;&nbsp; &quot;ellps=GRS80&quot; <br>&nbsp;&nbsp;&nbsp; &quot;datum=NAD83&quot; <br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; WEB<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IMAGEPATH &quot;/var/www/html/tmp/&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; IMAGEURL &quot;/tmp/&quot;<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 &quot;chart&quot;<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 &quot;/var/www/html/NewYork77South.tif&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; END<br>END<br></div>