Hi Ed,<br><br><div><span class="gmail_quote">On 8/9/06, <b class="gmail_sendername">Ed McNierney</b> &lt;<a href="mailto:ed@topozone.com">ed@topozone.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>



<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Bruno -</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">I would suggest not mixing problems at this point - let's 
not worry about ows_ metadata settings until you get the simple image display to 
work properly.&nbsp; Please leave out the METADATA statements until the image 
displays properly; then you'll be able to add the METADATA back in without being 
confused about what settings are helping and what settings are causing 
trouble.</font></span></div></div></div></blockquote><div><br>My original motivation to adjust the <span style="font-family: courier new,monospace;">ows_extent</span> was to treat this problem but following your advice e changing the units to decimal degrees my zoom problem was solved, thanks a lot!&nbsp;
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div><span><font color="#0000ff" face="Arial" size="2">Yes, I suggested UNITS DD because your output and input 
image units are decimal degrees.</font></span><br>&nbsp;</div></div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">You should have EXTENT and UNITS statements at the top 
level in your map file,</font></span></div></div></div></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div dir="ltr" align="left">
<span><font color="#0000ff" face="Arial" size="2"> and a PROJECTION block there, too (with the same 
settings as below, as you seem to want to display the image in its native 
unprojected coordinates).&nbsp; Is that the case?&nbsp; Can you post the whole 
map file?&nbsp;</font></span></div></div></div></blockquote><div><br>I did not had a PROJECTION element other than the one in my LAYER element. Now based on the lines bellow outputted by <span style="font-family: courier new,monospace;">
gdalinfo</span>:<br><div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">GEOGCS[&quot;WGS 84&quot;,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; DATUM[&quot;WGS_1984&quot;,<br><br></span></div>I've created the following PROJECTION element:<br><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; PROJECTION</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;proj=latlong&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;ellps=WGS84&quot;</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;datum=WGS84&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; END<br><br style="font-family: courier new,monospace;"></span>But I'm not sure if that's correct.<br><br>Here goes my hole mapfile (<span style="font-style: italic;">based on the mapserver demo Itasca mapfile</span>):
<br><div style="margin-left: 40px;"><font size="2"><span style="font-family: courier new,monospace;">MAP</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; NAME ITASCA
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; STATUS ON</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; SIZE 600 600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; EXTENT -48.0004159 -25.0004164 -46.5004159 -24.0004163</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; UNITS DD</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; SHAPEPATH &quot;data&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; IMAGECOLOR 255 255 255</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; TEMPLATEPATTERN &quot;itasca&quot;</span>
<br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; IMAGETYPE PNG</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; PROJECTION</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;proj=latlong&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;ellps=WGS84&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;datum=WGS84&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; END</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; # Start of web interface definition (including WMS enabling metadata)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; #</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; WEB</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HEADER templates/header.html</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TEMPLATE &quot;set in index.html&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FOOTER templates/footer.html&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINSCALE 1000</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXSCALE 1550000</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEPATH &quot;set in index.html&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEURL &quot;set in index.html&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; METADATA</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WMS_TITLE &quot;UMN MapServer Itasca Demo&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WMS_ABSTRACT &quot;This is a UMN MapServer application for Itasca County located in north central Minnesota.&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WMS_ACCESSCONSTRAINTS &quot;none&quot;</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # change this value to match your setup
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WMS_ONLINERESOURCE &quot;<a href="http://10.10.5.171/cgi-bin/mapserv.exe">http://10.10.5.171/cgi-bin/mapserv.exe
</a>&quot;</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WMS_SRS &quot;EPSG:26915&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; END</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; #</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; # Start of reference map
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; #</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; REFERENCE
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGE graphics/reference.png</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
</span><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXTENT 324152.222 7384541.141 336175.222 7392179.141</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 120 120</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS ON</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINBOXSIZE 5</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAXBOXSIZE 100</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 255 0 0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MARKERSIZE 8</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MARKER 'star'</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; END</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; OUTPUTFORMAT</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME GEOTIFFINT16</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DRIVER &quot;GDAL/GTiff&quot;</span>
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MIMETYPE &quot;image/tiff&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEMODE &quot;INT16&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXTENSION &quot;tif&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; LAYER</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;MyLayer&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS OFF</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE RASTER</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DUMP TRUE</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA &quot;SG-23-V-A.tif&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PROJECTION</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">END </span><br></font></div></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"> Are there other LAYER statements in the 
file?</font></span></div></div></div></blockquote><div><br>No, I'm just trying with one at the moment for the sake of simplicity.<br><br>In fact I want to display a DEM (Digital Elevation Model) image through WCS (Web Coverage Service) in order to open it in the OpenJUMP application (
<span style="font-style: italic;">The use of OpenJUMP is a mandatory requirement</span>). For that I want first to test the availability of WCS of this DEM in the MapServer Demo application.<br><br>That's my current strategy to achieve this objective, any suggestions would be most appreciated :) (
<span style="font-style: italic;">but I know, this can be a subject for a hole new post to this list</span>).<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><span class="q"><div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">&nbsp;&nbsp;&nbsp;&nbsp; - Ed</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span>
<p><font size="2">Ed McNierney<br>President and Chief Mapmaker<br>TopoZone.com / 
Maps a la carte, Inc.<br>73 Princeton Street, Suite 305<br>North Chelmsford, 
MA&nbsp; 01863<br>Phone: +1 (978) 251-4242<br>Fax: +1 (978) 
251-1396<br><a href="mailto:ed@topozone.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ed@topozone.com</a></font> </p></span></div><br>
</span></div><div><div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Bruno Patini Furtado 
[mailto:<a href="mailto:bpfurtado@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bpfurtado@gmail.com</a>] <br><b>Sent:</b> Wednesday, August 09, 2006 1:47 
PM<br><b>To:</b> Ed McNierney<br><b>Cc:</b> 
<a href="mailto:MAPSERVER-USERS@lists.umn.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">MAPSERVER-USERS@lists.umn.edu</a><br><b>Subject:</b> Re: [UMN_MAPSERVER-USERS] Image 
location inside its corner coordinates<br></font><br></div></div><div><span class="e" id="q_10cf4802619d2aa9_3">
<div></div>Hi Ed, <br><span style="font-family: courier new,monospace;"></span><br>
<div><span class="gmail_quote">On 8/9/06, <b class="gmail_sendername">Ed 
McNierney</b> &lt;<a href="mailto:ed@topozone.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ed@topozone.com</a>&gt; 
wrote: </span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  <div>
  <div>
  <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Bruno 
  -</font></span></div>
  <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
  <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Could you 
  post the EXTENT statement you're using?&nbsp; Two things to check - UNITS DD 
  should be there (should not affect this problem, however) and your EXTENT 
  needs to be in the order MINX MINY MAXX MAXY, so it should 
  be:<br></font></span></div>
  <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">EXTENT 
  -48.0004159 -25.0004164 -46.5004159 
-24.0004163</font></span></div></div></div></blockquote>
<div>My extent is indeed like you said it should be:<br><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; EXTENT -48.0004159 
-25.0004164 -46.5004159 -24.0004163<br><br></span></div>It was because of the 
line below that you state that the units should be Decimal Degrees?<br><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; 
UNIT[&quot;degree&quot;,0.0174532925199433],<br><br></span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  <div>
  <div>
  <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Your image 
  is 1.5 degrees wide (X dimension) and 1 degree tall (Y dimension) so your 
  output image size should also be that shape (600 pixels wide by 400 pixels 
  high, for example) or you will see the map shrunk to fit the shape of the 
  image.</font></span></div></div></div></blockquote>
<div><br>Your example shows the right proportion as <span style="font-family: courier new,monospace;">gdalinfo </span>tells the image is 
[1800, 1200] but I would like to set the layer metadata <span style="font-weight: bold; font-family: courier new,monospace;">ows_extent</span> 
with the actual image coordinates, not size, in order to show the image a bit 
better in the MapServer demo. Below goes my mapinfo layer element as I'm trying 
to configure it. <br><br><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; LAYER</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NAME &quot;my DEM Image&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
STATUS OFF</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
TYPE RASTER</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
DUMP TRUE</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
DATA &quot;SG-23-V-A.tif&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
PROJECTION</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&quot;init=epsg:4326&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
METADATA</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
wcs_label &quot;Some label&quot;</span><br style="font-family: courier new,monospace;"><span style="font-weight: bold; font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ows_extent &quot;- 48.000416 -24.000416 -48.001816 -24.001816&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
wcs_resolution &quot;0.00083 -0.00083&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ows_srs &quot;EPSG:4326&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
wcs_formats &quot;GEOTIFFINT16&quot; </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
wcs_nativeformat &quot;geotiff&quot;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
END</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; 
END<br><br></span><br></div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
  <div>
  <div>
  <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">&nbsp;&nbsp;&nbsp; - Ed</font></span></div>
  <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">
  <p><font size="2">Ed McNierney<br>President and Chief Mapmaker<br>TopoZone.com / 
  Maps a la carte, Inc.<br>73 Princeton Street, Suite 305<br>North Chelmsford, 
  MA&nbsp; 01863<br>Phone: +1 (978) 251-4242<br>Fax: +1 (978) 251-1396<br><a href="mailto:ed@topozone.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ed@topozone.com</a></font> 
  </p></font></span></div><br>
  <div dir="ltr" align="left" lang="en-us">
  <hr>
  <font face="Tahoma" size="2"><b>From:</b> UMN MapServer Users List [mailto:<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">MAPSERVER-USERS@LISTS.UMN.EDU
</a>] <b>On Behalf Of </b>Bruno 
  Patini Furtado<br><b>Sent:</b> Wednesday, August 09, 2006 10:59 
  AM<br><b>To:</b> <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">MAPSERVER-USERS@LISTS.UMN.EDU</a><br><b>Subject:</b> 
  [UMN_MAPSERVER-USERS] Image location inside its corner 
  coordinates<br></font><br></div></div>
  <div><span>
  <div></div>I have a DEM image of which below I've copied the <span style="font-family: courier new,monospace;">gdalinfo </span>output. <br><br style="font-family: courier new,monospace;">
  <div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">Driver: GTiff/GeoTIFF</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Size is 1800, 1200 
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Coordinate System is:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
GEOGCS[&quot;WGS 84&quot;,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; 
  DATUM[&quot;WGS_1984&quot;,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  SPHEROID[&quot;WGS 84&quot;,6378137,298.2572235630016,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]], </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; 
  PRIMEM[&quot;Greenwich&quot;,0],</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; 
  UNIT[&quot;degree&quot;,0.0174532925199433],</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; 
  AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Origin = 
  (-48.000416,-24.000416)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Pixel Size = 
  (0.00083333,-0.00083333 )</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Metadata:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp; AREA_OR_POINT=Area 
  </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; TIFFTAG_SOFTWARE=IMAGINE 
  TIFF Support</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Copyright 1991 - 1999 by ERDAS, 
  Inc. All Rights Reserved</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">@(#)$RCSfile: etif.c $ $Revision: 
  <a href="http://1.10.1.9" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">1.10.1.9</a> $ $Date: 2003/11/13 
  19:25:49EST $</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; 
  TIFFTAG_XRESOLUTION=1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; 
  TIFFTAG_YRESOLUTION=1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; TIFFTAG_RESOLUTIONUNIT=1 
  (unitless)</span> <br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Corner Coordinates:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
Upper Left&nbsp; ( -48.0004159, 
  -24.0004163) ( 48d 0'1.50&quot;W, 24d 0'1.50&quot;S)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Lower Left&nbsp; ( -48.0004159, 
  -25.0004164 ) ( 48d 0'1.50&quot;W, 25d 0'1.50&quot;S)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Upper Right ( -46.5004159, 
  -24.0004163) ( 46d30'1.50&quot;W, 24d 0'1.50&quot;S) </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Lower Right ( -46.5004159, 
  -25.0004164) ( 46d30'1.50&quot;W, 25d 0'1.50&quot;S)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ( -47.2504159, -24.5004163) ( 47d15'1.50&quot;W, 24d30'1.50&quot;S)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Band 1 Block=1800x2 Type=UInt16, 
  ColorInterp=Gray</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp; Overviews: 450x300, 225x150, 
  113x75, 57x38</span><br clear="all"></div><br>I could take from it the EXTENT to 
  use in my Mapfile using the <span style="font-style: italic;">Lower Left 
  </span>and <span style="font-style: italic;">Upper Right </span>coordinates. 
  But the problem is that the image is to small inside this coordinates and I 
  can't find the image location inside then by this output. Is there some other 
  utility to get this coordinates? <br><br><br>-- <br>&quot;Minds are like 
  parachutes, they work best when open.&quot;<br><br>Bruno Patini Furtado<br>Software 
  Developer<br>webpage: <a href="http://bpfurtado.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bpfurtado.net</a><br>software 
  development blog: <a href="http://bpfurtado.livejournal.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bpfurtado.livejournal.com</a> </span></div>
  <div></div></div></blockquote></div><br><br clear="all"><br>-- <br>&quot;Minds are like 
parachutes, they work best when open.&quot;<br><br>Bruno Patini Furtado<br>Software 
Developer<br>webpage: <a href="http://bpfurtado.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bpfurtado.net 
</a><br>software development blog: <a href="http://bpfurtado.livejournal.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bpfurtado.livejournal.com</a> 
</span></div><div></div>

</div></blockquote></div><br><br clear="all"><br>-- <br>&quot;Minds are like parachutes, they work best when open.&quot;<br><br>Bruno Patini Furtado<br>Software Developer<br>webpage: <a href="http://bpfurtado.net">http://bpfurtado.net
</a><br>software development blog: <a href="http://bpfurtado.livejournal.com">http://bpfurtado.livejournal.com</a>