<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19120">
</head>
<body>
<div dir="ltr" align="left"><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial">Hi,</font></span></div>
<div dir="ltr" align="left"><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial">It must come from this new feature, capture from
<a href="http://mapserver.org/ogc/wms_server.html">http://mapserver.org/ogc/wms_server.html</a></font></span></div>
<div dir="ltr" align="left"><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial">&quot;wms_extent<br>
WMS TAG Name: BoundingBox (WMS1.1.1, sect. 6.5.6)</font></span></div>
<div><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial">Description: (Optional) Used for the layer&#8217;s BoundingBox tag for cases where it is impossible (or very inefficient) for MapServer to probe the data source to figure its extents.
 The value for this metadata is &#8220;minx miny maxx maxy&#8221; separated by spaces, with the values in the layer&#8217;s projection units. If wms_extent is provided then it has priority and MapServer will NOT try to read the source file&#8217;s extents.</font></span></div>
<div><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial">For Rasters served through WMS, MapServer can now use the wms_extent metadata parameter to register the image. If a .wld file cannot be found, MapServer will then look for the
 wms_extent metadata parameter and use the extents of the image and the size of the image for georegistration&quot;<br>
</font></div>
</span><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial"></font></span>
<div dir="ltr" align="left"><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial">I would first&nbsp;remove the EXTENT from LAYER and wms_extent from layer metadata&nbsp;and see what happens then.&nbsp;You would get a visual hint about what happens
 by making the tileindex shapefile as a normal vector polygon layer and by showing it above the imagery layer.</font></span></div>
<div dir="ltr" align="left"><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial"></font></span>&nbsp;</div>
<div dir="ltr" align="left"><span class="359485605-28092011"><font color="#0000ff" size="2" face="Arial">-Jukka Rahkonen-</font></span></div>
<div dir="ltr" align="left"><font face="Tahoma"><font size="2"><span class="359485605-28092011"><font color="#0000ff" face="Arial">&nbsp;</font></span></font></font></div>
<div dir="ltr" align="left"><font face="Tahoma"><font size="2"><span class="359485605-28092011">&nbsp;</span>Simon Mercier<span class="359485605-28092011"><font color="#0000ff" face="Arial">&nbsp; wrote:</font></span></font></font></div>
<div><span style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial, sans-serif; FONT-SIZE: 13px"><span class="359485605-28092011"><font color="#0000ff" size="2">&nbsp;</font></span></span></div>
<div><span style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial, sans-serif; FONT-SIZE: 13px"><span class="359485605-28092011"><font color="#0000ff" size="2">&nbsp;&gt;&nbsp;</font></span>Hi list, I try to migrate a map service to Mapserver 6.0.1 that work perfectly
 with a Mapserver 5.0.3 and I have a strange behavior with a TILEINDEX layer.&nbsp; If you look the picture(in yellow you have the raster coverage)(<a href="http://mapcoop.org/www-demo/bugorthos.JPG" target="_blank">http://mapcoop.org/www-demo/bugorthos.JPG</a>),
 you see that</span><span style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial, sans-serif; FONT-SIZE: 13px">&nbsp;my image coverage is not the same scale? The raster coverage fit exactly with the WMS_EXTENT tag of my TILEINDEX layer.&nbsp; Moreover, if I comment
 the WMS_EXTENT tag no raster appears in my map.&nbsp; Images are ECW files and projection is EPSG:32187.&nbsp; The GETMAP is EPSG:32198.&nbsp; I had to compile GDAL 1.8.0 to use ECW driver.&nbsp; Did I miss something? &nbsp;Where should I look?</span></div>
<blockquote style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir="ltr">
<div><span style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial, sans-serif; FONT-SIZE: 13px"><br>
/cgi-bin/orthos_sim?REQUEST=
<div>GetMap&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;LAYERS=T_AN2000_MTM7&amp;STYLES=&amp;FORMAT=image/png&amp;BGCOLOR=0xFFFFFF&amp;TRANSPARENT=TRUE&amp;SRS=EPSG:32198&amp;BBOX=-452656.626506024,-11030.1204819277,279310.277253593,647379.518072289&amp;WIDTH=1015&amp;HEIGHT=913<br>
<br>
MAP<br>
&nbsp;&nbsp;&nbsp; NAME &quot;orthos_sim&quot;<br>
&nbsp;&nbsp;&nbsp; EXTENT -1100000 -23500 1100000 2253500<br>
&nbsp;&nbsp;&nbsp; CONFIG MS_ERRORFILE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/services/mapserv/logs/mapserv-sim.log&quot;<br>
&nbsp;&nbsp;&nbsp; WEB<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QUERYFORMAT &quot;text/xml&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BROWSEFORMAT &quot;text/xml&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEPATH&nbsp;&nbsp; &quot;/tmp/&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IMAGEURL&nbsp;&nbsp;&nbsp; &quot;/ms_tmp/&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; METADATA<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_title&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;orthos&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_abstract&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Service web d'imagerie Orthosphoto&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_description&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;Ce service &quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_keywordlist&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;orthophotographie&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_onlineresource&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;<a style="COLOR: rgb(28,81,168)" href="http://sigdev/cgi-bin/orthos_sim" target="_blank">http://sigdev/cgi-bin/orthos_sim</a>?&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_server_version&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;1.1.1&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_format&quot;&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; &quot;image/png&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_getcontext_enabled&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;1&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;ows_enable_request&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;*&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:32198&quot;<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LAYER<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;T_AN2000_MTM7&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE RASTER<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debug 5<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXTENT 160000 4960000 450000 5450000<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TILEINDEX &quot;/var/www/wms/tmp/AN2000_MTM07.shp&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TILEITEM &quot;location&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; METADATA<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_title&quot;&nbsp;&nbsp;&nbsp; &quot;T_AN2000_MTM7&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_name&quot;&nbsp; &quot;an 2000 mtm 07&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_kaywordlist&quot;&nbsp; &quot;orthos&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_abstract&quot;&nbsp; &quot;Couche d'orthos&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_srs&quot;&nbsp;&nbsp;&nbsp; &quot;EPSG:32198 EPSG:900913 EPSG:32184 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;wms_extent&quot;&nbsp;&nbsp; &quot;160000 4960000 450000 5450000&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PROJECTION<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:32187&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
END<br clear="all">
<font color="#888888"><br>
--&nbsp;<br>
Simon Mercier<br>
<div>Saint-Nicolas, QC<br>
</div>
<div>Canada G7A 4Y2<br>
<div><a style="COLOR: rgb(28,81,168)" href="http://www.mgeospatial.com/" target="_blank">www.mgeospatial.com</a><br>
linkedIn :&nbsp;<a style="COLOR: rgb(28,81,168)" href="http://ca.linkedin.com/in/simonmercier" target="_blank">http://ca.linkedin.com/in/simonmercier</a><br>
twitter :&nbsp;<a style="COLOR: rgb(28,81,168)" href="http://twitter.com/simonmercier" target="_blank">http://twitter.com/simonmercier</a></div>
</div>
</font></div>
</span></div>
</blockquote>
</body>
</html>