[Mapserver-users] GMAP does not work with TIFF
Alexander Pucher
pucher at atlas.gis.univie.ac.at
Fri Nov 7 06:18:17 PST 2003
Hi Frank,
to give some more information. I'm using the standard GMAP-MS40
application.
To be more correct then my first mail, execution of gmap75.phtml stops
before this line (not the RosaApplet entry, which comes after this line):
<input TYPE=HIDDEN NAME=minx VALUE="-2594561.353333"><input TYPE=HIDDEN
NAME=miny VALUE="-712631.000000">
<input TYPE=HIDDEN NAME=maxx VALUE="3467361.353333"><input TYPE=HIDDEN
NAME=maxy VALUE="3840000.000000">
<input TYPE=HIDDEN NAME=imagewidth VALUE="400"><input TYPE=HIDDEN
NAME=imageheight VALUE="300">
<input TYPE=image SRC=/ms_tmp/10682105003751.gif BORDER=0 WIDTH=400
HEIGHT=300 NAME=mainmap>
<input TYPE="HIDDEN" NAME="CMD" VALUE=""></td>
This is what I get when I turn the TIFF layer OFF.
Thanks,
alex.
Frank Warmerdam wrote:
> Alexander Pucher wrote:
>
>> HI,
>>
>> following my previous mail about logging, the actual problem I have
>> right now is a different one (I was hoping to get it solved by
>> reading the logging information...)
>>
>> I installed MS 4.0.1 today with most of the available functionality
>> (PostGIS, SDE, ming, PDF, GDAL/OGR etc.) To test the installation, I
>> installed GMAP-MS40. Everything works, except the displaying of the
>> TIFF layer.
>>
>> gmap75.phtml is rendered, but stops right at the point where the
>> RosaApplet is included. No error is shown!
>> If I however turn off the 'Elevation/Bathymetry' layer, everything
>> works just fine.
>>
>> Testing the mapfile with shp2img gives me a correct image and this
>> debug info:
>>
>> [Fri Nov 7 13:48:44 2003].930293 msDrawRasterLayerLow(bathymetry):
>> entering.
>> [Fri Nov 7 13:48:44 2003].936846 msDrawGDAL(): red,green,blue,alpha
>> bands = 1,0,0,0
>
>
> Alex,
>
> If the map file works with shp2img but not in a web environment then
> issues
> to watch are permissions, and path handling. Try using a complete path
> for
> the file. Is the file in the same directory as the other data?
>
> Good luck,
More information about the MapServer-users
mailing list