[mapserver-users] WMS image doesn't shows at major scales
Carlos Ruiz
boolean10001 at yahoo.com
Mon Dec 6 11:18:09 PST 2010
Hi to all,
I have a problem here with an WMS layer, and have no clue about what could be
happening. I have an ECW file
with the following info:
Driver: ECW/ERMapper Compressed Wavelets
Files: mosaico_spot_2009.ecw
Size is 192034, 184370
Coordinate System is `'
Origin = (425473.750000000000000,2527371.250000000000000)
Pixel Size = (2.500000000000000,-2.500000000000000)
Corner Coordinates:
Upper Left ( 425473.750, 2527371.250)
Lower Left ( 425473.750, 2066446.250)
Upper Right ( 905558.750, 2527371.250)
Lower Right ( 905558.750, 2066446.250)
Center ( 665516.250, 2296908.750)
Band 1 Block=192034x1 Type=Byte, ColorInterp=Red
Overviews: arbitrary
Metadata:
LAYER_TYPE=athematic
Band 2 Block=192034x1 Type=Byte, ColorInterp=Green
Overviews: arbitrary
Metadata:
LAYER_TYPE=athematic
Band 3 Block=192034x1 Type=Byte, ColorInterp=Blue
Metadata:
LAYER_TYPE=athematic
It is provided as a WMS and here is the MAP file contents:
MAP
NAME 'spot'
SIZE 800 600
UNITS meters
DEBUG 5
CONFIG "MS_ERRORFILE" "/var/www/html/spot.log"
EXTENT 425473 2066446 905559 2527371
PROJECTION
'proj=utm'
'ellps=WGS84'
'datum=WGS84'
'zone=13'
'north'
'nodefs'
END
OUTPUTFORMAT
NAME jpeg
DRIVER "GD/JPEG"
MIMETYPE "image/jpeg"
IMAGEMODE RGB
EXTENSION "jpg"
END
METADATA
'wms_title' 'SPOT'
'wms_onlineresource'
'http://sitel.jalisco.gob.mx/cgi-bin/spot'
'wms_srs' 'EPSG:32613'
'wms_fees' 'none'
'wms_contactperson' 'IC Carlos Ruiz'
'wms_contactelectronicmailaddress'
'cruizch at gmail.com'
END
LAYER
NAME 'spot'
TYPE RASTER
DATA '/var/www/html/raster/spot.ecw'
STATUS DEFAULT
PROJECTION
'proj=utm'
'ellps=WGS84'
'datum=WGS84'
'zone=13'
'north'
'no_defs'
END
METADATA
'wms_title' 'Imagen SPOT'
END
END
END
Everything works fine above the 1:152,000 scale, but when you try to reach major
scales, it shows nothing. The
map has no MINSCALEDENOM nor MAXSCALEDENOM.
Taking a look at the log file, nothing's wrong. If I set the "MS_NONSQUARE"
config key throws:
msDrawMap(): kicking into non-squarepixel preserving mode.
but nothing yet shows beyond 1:152,000.
Does anyone have a clue about what's wrong ? I'm using Mapserver 5.6.5
Thanks in advance
IC Carlos Ruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101206/41fb636c/attachment.htm>
More information about the MapServer-users
mailing list