Raster image issue

Frank Warmerdam warmerdam at POBOX.COM
Wed Jun 28 00:35:42 EDT 2006


Hooi wrote:
> Hi, all. I am new here.
> I access to 
> http://localhost/cgi-bin/mapserv?map=test.map&layer=lakespy2&mode=map 
> <http://localhost/cgi-bin/mapserv?map=test.map&layer=lakespy2&mode=map>
> but JPEG was displayed. FYI, I able to see vector image. Need help on 
> this, thanks.
> 
> Below is my mapserver version output:-
> MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
> OUTPUT=SVG SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=OGR INPUT=GDAL 
> INPUT=SHAPEFILE

Hooi,

I skimmed through your whole email message but was unable to determine
what sort of problem you are having.  You mention a jpeg was
displayed.  What something wrong with it?

I am guessing that your raster layer didn't display properly, is that
right?

It is a bit odd to have a single class for a raster layer.  As far as I
know the current arrangement would just cause the whole raster to
be render in color 49 117 185.  Is that your intention?

If the problem is with your raster layer it might also be helpful
to see a gdalinfo report on the raster file (map.tif) as opposed
to map.jpg.  Was map.jpg the output file?

PS. I often try with full absolute paths when I suspect problems with
how the data is being found.  You might want to try that.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the mapserver-users mailing list