<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt">After several tests, spliting in 4 file the original ECW file and using gdaltindex, solved the problem. The original <br>ECW sizes 1.99 GB (2147420380 bytes) so I guess it was a memory matter.<br><br>Thanks to all<br><br>Cheers from Guadalajara, México<br>&nbsp;<br><div style="font-weight: bold; color: rgb(0, 96, 191);">IC Carlos Ruiz</div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "Smith, Michael D ERDC-CRREL-NH" &lt;michael.smith@usace.army.mil&gt;<br><b><span style="font-weight: bold;">To:</span></b> Carlos Ruiz &lt;boolean10001@yahoo.com&gt;; mapserver-users
 &lt;mapserver-users@lists.osgeo.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, December 6, 2010 2:45:18 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [mapserver-users] WMS image doesn't shows at major scales<br></font><br>


<title>Re: [mapserver-users] WMS image doesn't shows at major scales</title>

<font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">It appears that it is reading the data. Could be be that the color values are not between 0 and 255? Perhaps you need to add a PROCESSING section?<br>
Does this display properly is another viewer?<br>
<br>
Also, you should reply back to the list as well. There are many people that may be able to help.<br>
<br>
M<br>
<br>
<br>
-- <br>
Michael Smith<br>
Remote Sensing/GIS Center<br>
US Army Corps of Engineers<br>
Hanover, NH<br>
<br>
<br>
On 12/6/10 &nbsp;3:29 PM, "Carlos Ruiz" &lt;<a rel="nofollow">boolean10001@yahoo.com</a>&gt; wrote:<br>
<br>
</span></font><blockquote><font size="1"><font face="Courier New"><span style="font-size: 8pt;">Michael,<br>
<br>
Thanks for the reply. I've set the DEBUG 5 config key at the LAYER section, I've reproduced <br>
the steps to get nothing and this is the log's contents:<br>
<br>
<br>
mapserv request processing time (msLoadMap not incl.): 0.084s<br>
msFreeMap(): freeing map at 0xa029150.<br>
freeLayer(): freeing layer at 0xa030a28.<br>
mapserv request processing time (msLoadMap not incl.): 0.083s<br>
msFreeMap(): freeing map at 0x9dd6150.<br>
freeLayer(): freeing layer at 0x9ddda28.<br>
msDrawMap(): kicking into non-square pixel preserving mode.<br>
msDrawRasterLayerLow(imagen): entering.<br>
msResampleGDALToMap in effect: cellsize = 298.004345<br>
msDrawGDAL(imagen): using RAW_WINDOW=0 0 192034 184370, dst=0,0,1611,1546<br>
msDrawGDAL(): red,green,blue,alpha bands = 1,2,3,0<br>
msDrawMap(): Layer 0 (imagen), 0.897s<br>
msDrawMap(): Drawing Label Cache, 0.000s<br>
msDrawMap() total time: 0.898s<br>
msSaveImage() total time: 3.291s<br>
mapserv request processing time (msLoadMap not incl.): 4.214s<br>
msFreeMap(): freeing map at 0x92376f0.<br>
freeLayer(): freeing layer at 0x923efc8.<br>
msDrawMap(): kicking into non-square pixel preserving mode.<br>
msDrawRasterLayerLow(imagen): entering.<br>
msResampleGDALToMap in effect: cellsize = 22.479058<br>
msDrawGDAL(imagen): using RAW_WINDOW=70800 88927 17174 14962, dst=0,0,1910,1664<br>
msDrawGDAL(): red,green,blue,alpha bands = 1,2,3,0<br>
msDrawMap(): Layer 0 (imagen), 0.525s<br>
msDrawMap(): Drawing Label Cache, 0.000s<br>
msDrawMap() total time: 0.525s<br>
msSaveImage() total time: 1.415s<br>
mapserv request processing time (msLoadMap not incl.): 1.967s<br>
msFreeMap(): freeing map at 0x8bc96f0.<br>
freeLayer(): freeing layer at 0x8bd0fc8.<br>
msDrawMap(): kicking into non-square pixel preserving mode.<br>
msDrawRasterLayerLow(imagen): entering.<br>
msResampleGDALToMap in effect: cellsize = 22.479058<br>
msDrawGDAL(imagen): using RAW_WINDOW=70800 88927 17174 14962, dst=0,0,1910,1664<br>
msDrawGDAL(): red,green,blue,alpha bands = 1,2,3,0<br>
msDrawMap(): Layer 0 (imagen), 0.524s<br>
msDrawMap(): Drawing Label Cache, 0.000s<br>
msDrawMap() total time: 0.524s<br>
msSaveImage() total time: 1.528s<br>
mapserv request processing time (msLoadMap not incl.): 2.078s<br>
msFreeMap(): freeing map at 0x99ca6f0.<br>
freeLayer(): freeing layer at 0x99d1fc8.<br>
<br>
<br>
I didn't noticed about the EPSG matters, thanks, I just change it using init=epsg:32613.<br>
<br>
IC Carlos Ruiz<br>
<br>
</span></font></font><font face="Tahoma, Verdana, Helvetica, Arial"><span style="font-size: 11pt;"><hr width="100%" align="CENTER" size="1"><b>From:</b></span><span style="font-size: 12pt;"> "Smith, Michael D ERDC-CRREL-NH" &lt;<a rel="nofollow">michael.smith@usace.army.mil</a>&gt;<br>
<b>To:</b> Carlos Ruiz &lt;<a rel="nofollow">boolean10001@yahoo.com</a>&gt;; mapserver-users &lt;<a rel="nofollow">mapserver-users@lists.osgeo.org</a>&gt;<br>
<b>Sent:</b> Mon, December 6, 2010 1:23:35 PM<br>
<b>Subject:</b> Re: [mapserver-users] WMS image doesn't shows at major scales<br>
</span></font><span style="font-size: 12pt;"><font face="Times New Roman"><br>
Re: [mapserver-users] WMS image doesn't shows at major scales </font></span><font face="Calibri, Verdana, Helvetica, Arial"><span style="font-size: 11pt;">Carlos,<br>
<br>
Can you set DEBUG 5 at both the LAYER and MAP level and see what shows up in the error log?<br>
<br>
Also I note that you are specifying the projection at the WMS level in EPSG terms but not at the MAP and LAYER levels. You should use the EPSG code at the MAP and LAYER projection blocks as MapServer does not know that your projection text and the EPSG codes are equivalent so you will be undergoing reprojection on each call.<br>
<br>
Mike<br>
<br>
</span></font></blockquote>
</div></div>
</div><br>







      </body></html>