Thank you for your reply Jukka<br><br>I tried but still dont work.  My raster is ecw file with an .xml file for the spatial reference specification.  I try to add a .wld extension but no result.  If I remove the WMS_EXTENT tag, no raster appears on my map.  In my previous message you can see the raster index shapefile.  Realy strange ! <br>
<br>/mnt/EntrepotImageJPG/BDImages_JPG_1M/ECW/Images_AN2000_MTM07_MRN_100cm/05400_00800054f07_u.ecw<br>/mnt/EntrepotImageJPG/BDImages_JPG_1M/ECW/Images_AN2000_MTM07_MRN_100cm/05400_00800054f07_u.ecw.aux.xml<br>/mnt/EntrepotImageJPG/BDImages_JPG_1M/ECW/Images_AN2000_MTM07_MRN_100cm/05400_00800054f07_u.wld<br>
<br><br>My log with NO  WMS_EXTENT <br>[Wed Sep 28 12:52:38 2011].74323 msDrawRasterLayerLow(T_AN2000_MTM7): entering.<br>[Wed Sep 28 12:52:38 2011].90072 msResampleGDALToMap(): no overlap ... no result.<br>[Wed Sep 28 12:52:38 2011].156145 msResampleGDALToMap(): no overlap ... no result.<br>
[Wed Sep 28 12:52:38 2011].224133 msResampleGDALToMap(): no overlap ... no result.<br>[Wed Sep 28 12:52:38 2011].280705 msDrawMap(): Layer 0 (T_AN2000_MTM7), 0.211s<br><br>My log with WMS_EXTENT <br>[Wed Sep 28 12:53:32 2011].877755 msDrawRasterLayerLow(T_AN2000_MTM7): entering.<br>
[Wed Sep 28 12:53:32 2011].895340 msResampleGDALToMap in effect: cellsize = 36.250000<br>[Wed Sep 28 12:53:32 2011].896076 msDrawGDAL(T_AN2000_MTM7): using RAW_WINDOW=2618 4796 188 102, dst=0,0,188,102<br>[Wed Sep 28 12:53:32 2011].896184 msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,0,0,0<br>
[Wed Sep 28 12:53:33 2011].149187 msResampleGDALToMap in effect: cellsize = 36.250000<br>[Wed Sep 28 12:53:33 2011].149416 msDrawGDAL(T_AN2000_MTM7): using RAW_WINDOW=2618 4796 188 102, dst=0,0,188,102<br>[Wed Sep 28 12:53:33 2011].149445 msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,0,0,0<br>
[Wed Sep 28 12:53:33 2011].268406 msResampleGDALToMap in effect: cellsize = 36.250000<br>[Wed Sep 28 12:53:33 2011].268784 msDrawGDAL(T_AN2000_MTM7): using RAW_WINDOW=2618 4796 188 102, dst=0,0,188,102<br>[Wed Sep 28 12:53:33 2011].268825 msDrawRasterLayerGDAL(): red,green,blue,alpha bands = 1,0,0,0<br>
[Wed Sep 28 12:53:33 2011].444422 msDrawMap(): Layer 0 (T_AN2000_MTM7), 0.571s<br><br><br><br><div class="gmail_quote">2011/9/28 Rahkonen Jukka <span dir="ltr">&lt;<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>





<div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">Hi,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">It must come from this new feature, capture from
<a href="http://mapserver.org/ogc/wms_server.html" target="_blank">http://mapserver.org/ogc/wms_server.html</a></font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">&quot;wms_extent<br>
WMS TAG Name: BoundingBox (WMS1.1.1, sect. 6.5.6)</font></span></div>
<div><span><font face="Arial" size="2" color="#0000ff">Description: (Optional) Used for the layer’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 “minx miny maxx maxy” separated by spaces, with the values in the layer’s projection units. If wms_extent is provided then it has priority and MapServer will NOT try to read the source file’s extents.</font></span></div>

<div><span><font face="Arial" size="2" color="#0000ff">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></span></div>
<span><font face="Arial" size="2" color="#0000ff"></font></span>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">I would first remove the EXTENT from LAYER and wms_extent from layer metadata and see what happens then. 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><font face="Arial" size="2" color="#0000ff"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" size="2" color="#0000ff">-Jukka Rahkonen-</font></span></div>
<div dir="ltr" align="left"><font face="Tahoma"><font size="2"><span><font face="Arial" color="#0000ff"> </font></span></font></font></div>
<div dir="ltr" align="left"><font face="Tahoma"><font size="2"><span> </span>Simon Mercier<span><font face="Arial" color="#0000ff">  wrote:</font></span></font></font></div>
<div><span style="background-color:rgb(255,255,255);font-family:arial, sans-serif;font-size:13px"><span><font size="2" color="#0000ff"> </font></span></span></div>
<div><span style="background-color:rgb(255,255,255);font-family:arial, sans-serif;font-size:13px"><span><font size="2" color="#0000ff"> &gt; </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.  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"> my image coverage is not the same scale? The raster coverage fit exactly with the WMS_EXTENT tag of my TILEINDEX layer.  Moreover, if I comment
 the WMS_EXTENT tag no raster appears in my map.  Images are ECW files and projection is EPSG:32187.  The GETMAP is EPSG:32198.  I had to compile GDAL 1.8.0 to use ECW driver.  Did I miss something?  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>
    NAME &quot;orthos_sim&quot;<br>
    EXTENT -1100000 -23500 1100000 2253500<br>
    CONFIG MS_ERRORFILE         &quot;/var/services/mapserv/logs/mapserv-sim.log&quot;<br>
    WEB<br>
        QUERYFORMAT &quot;text/xml&quot;<br>
        BROWSEFORMAT &quot;text/xml&quot;<br>
        IMAGEPATH   &quot;/tmp/&quot;<br>
        IMAGEURL    &quot;/ms_tmp/&quot;<br>
        METADATA<br>
            &quot;wms_title&quot;                      &quot;orthos&quot;<br>
            &quot;wms_abstract&quot;                &quot;Service web d&#39;imagerie Orthosphoto&quot;<br>
            &quot;wms_description&quot;             &quot;Ce service &quot;<br>
            &quot;wms_keywordlist&quot;             &quot;orthophotographie&quot;<br>
            &quot;wms_onlineresource&quot;         &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>
            &quot;wms_server_version&quot;                    &quot;1.1.1&quot;<br>
            &quot;wms_format&quot;                            &quot;image/png&quot;<br>
            &quot;wms_getcontext_enabled&quot;                &quot;1&quot;<br>
            &quot;ows_enable_request&quot;                    &quot;*&quot;<br>
        END<br>
    END<br>
    PROJECTION<br>
        &quot;init=epsg:32198&quot;<br>
    END<br>
        LAYER<br>
                NAME &quot;T_AN2000_MTM7&quot;<br>
                TYPE RASTER<br>
                debug 5<br>
                EXTENT 160000 4960000 450000 5450000<br>
                TILEINDEX &quot;/var/www/wms/tmp/AN2000_MTM07.shp&quot;<br>
                TILEITEM &quot;location&quot;<br>
                METADATA<br>
                        &quot;wms_title&quot;    &quot;T_AN2000_MTM7&quot;<br>
                        &quot;wms_name&quot;  &quot;an 2000 mtm 07&quot;<br>
                        &quot;wms_kaywordlist&quot;  &quot;orthos&quot;<br>
                        &quot;wms_abstract&quot;  &quot;Couche d&#39;orthos&quot;<br>
                        &quot;wms_srs&quot;    &quot;EPSG:32198 EPSG:900913 EPSG:32184 EPSG:32186 EPSG:32187 EPSG:32188 EPSG:32189 EPSG:32190&quot;<br>
                        &quot;wms_extent&quot;   &quot;160000 4960000 450000 5450000&quot;<br>
                END<br>
                PROJECTION<br>
                        &quot;init=epsg:32187&quot;<br>
                END<br>
        END<br>
END<br clear="all">
<font color="#888888"><br>
-- <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 : <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 : <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>
</div>

</blockquote></div><br><br clear="all"><br>-- <br>Simon Mercier<br><div><br>LinkedIn : <a href="http://ca.linkedin.com/in/simonmercier" target="_blank">http://ca.linkedin.com/in/simonmercier</a><br>Twitter : <a href="http://twitter.com/simonmercier" target="_blank">http://twitter.com/simonmercier</a></div>
<br>