[mapserver-users] WMS image doesn't shows at major scales

Smith, Michael D ERDC-CRREL-NH michael.smith at usace.army.mil
Mon Dec 6 15:45:18 EST 2010


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?
Does this display properly is another viewer?

Also, you should reply back to the list as well. There are many people that
may be able to help.

M


-- 
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers
Hanover, NH


On 12/6/10  3:29 PM, "Carlos Ruiz" <boolean10001 at yahoo.com> wrote:

> Michael,
> 
> Thanks for the reply. I've set the DEBUG 5 config key at the LAYER section,
> I've reproduced 
> the steps to get nothing and this is the log's contents:
> 
> 
> mapserv request processing time (msLoadMap not incl.): 0.084s
> msFreeMap(): freeing map at 0xa029150.
> freeLayer(): freeing layer at 0xa030a28.
> mapserv request processing time (msLoadMap not incl.): 0.083s
> msFreeMap(): freeing map at 0x9dd6150.
> freeLayer(): freeing layer at 0x9ddda28.
> msDrawMap(): kicking into non-square pixel preserving mode.
> msDrawRasterLayerLow(imagen): entering.
> msResampleGDALToMap in effect: cellsize = 298.004345
> msDrawGDAL(imagen): using RAW_WINDOW=0 0 192034 184370, dst=0,0,1611,1546
> msDrawGDAL(): red,green,blue,alpha bands = 1,2,3,0
> msDrawMap(): Layer 0 (imagen), 0.897s
> msDrawMap(): Drawing Label Cache, 0.000s
> msDrawMap() total time: 0.898s
> msSaveImage() total time: 3.291s
> mapserv request processing time (msLoadMap not incl.): 4.214s
> msFreeMap(): freeing map at 0x92376f0.
> freeLayer(): freeing layer at 0x923efc8.
> msDrawMap(): kicking into non-square pixel preserving mode.
> msDrawRasterLayerLow(imagen): entering.
> msResampleGDALToMap in effect: cellsize = 22.479058
> msDrawGDAL(imagen): using RAW_WINDOW=70800 88927 17174 14962,
> dst=0,0,1910,1664
> msDrawGDAL(): red,green,blue,alpha bands = 1,2,3,0
> msDrawMap(): Layer 0 (imagen), 0.525s
> msDrawMap(): Drawing Label Cache, 0.000s
> msDrawMap() total time: 0.525s
> msSaveImage() total time: 1.415s
> mapserv request processing time (msLoadMap not incl.): 1.967s
> msFreeMap(): freeing map at 0x8bc96f0.
> freeLayer(): freeing layer at 0x8bd0fc8.
> msDrawMap(): kicking into non-square pixel preserving mode.
> msDrawRasterLayerLow(imagen): entering.
> msResampleGDALToMap in effect: cellsize = 22.479058
> msDrawGDAL(imagen): using RAW_WINDOW=70800 88927 17174 14962,
> dst=0,0,1910,1664
> msDrawGDAL(): red,green,blue,alpha bands = 1,2,3,0
> msDrawMap(): Layer 0 (imagen), 0.524s
> msDrawMap(): Drawing Label Cache, 0.000s
> msDrawMap() total time: 0.524s
> msSaveImage() total time: 1.528s
> mapserv request processing time (msLoadMap not incl.): 2.078s
> msFreeMap(): freeing map at 0x99ca6f0.
> freeLayer(): freeing layer at 0x99d1fc8.
> 
> 
> I didn't noticed about the EPSG matters, thanks, I just change it using
> init=epsg:32613.
> 
> IC Carlos Ruiz
> 
> 
> From: "Smith, Michael D ERDC-CRREL-NH" <michael.smith at usace.army.mil>
> To: Carlos Ruiz <boolean10001 at yahoo.com>; mapserver-users
> <mapserver-users at lists.osgeo.org>
> Sent: Mon, December 6, 2010 1:23:35 PM
> Subject: Re: [mapserver-users] WMS image doesn't shows at major scales
> 
> Re: [mapserver-users] WMS image doesn't shows at major scales Carlos,
> 
> Can you set DEBUG 5 at both the LAYER and MAP level and see what shows up in
> the error log?
> 
> 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.
> 
> Mike
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101206/0188033e/attachment-0001.html


More information about the mapserver-users mailing list