[Mapserver-users] Problem with drawing tif files
VILLOIN Franck DSIC BMS
Franck.VILLOIN at interieur.gouv.fr
Wed Apr 21 01:07:30 PDT 2004
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C42777.B18E6FF0
Content-Type: text/plain
Hello,
I had the same problem .
I have changed only the Mapserver.exe module.
I put the news DLLs delivered with the new version and the problem
disappeared.
The tifs have can be need for module GDAL ?
I do not know more.
Good luck
Franck
Date: Tue, 20 Apr 2004 16:32:21 +0200
From: Norbert Thieme <norbert.thieme at ilmenau.baw.de>
Reply-To: norbert.thieme at ilmenau.baw.de
Organization: Bundesanstalt =?ISO-8859-1?Q?f=FCr_Wasserbau?=
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Problem with drawing tif files
Hi,
I'm still testing the new version and now I got a new problem. When
map->draw() (in php/mapscript) is called then the script seems to be
aborted but without an error. With the version 4.0.2 the same
mapfile
and script works fine.
Because of that I tried to send the mapfile directly to the mapserv
-
cgi with mode=map and there I get a apache error:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
And in the log say:
.... Premature end of script headers: /srv/www/cgi-bin/mapserv4
I think it's strange that only the old version of the mapscript
works
with the *.tif. Because of that I thought that the mapfile is OK but
now
I'm not sure.
Has anyone an idea? Could there be something wrong with the
permission?
Or something with the mapfile?:
MAP
IMAGETYPE PNG
STATUS ON
SIZE 400 400
EXTENT 3250470.029539 5221162.578925 3942023.41747 6113902.660721
UNITS METERS
TRANSPARENT ON
SHAPEPATH '../daten/shapes'
IMAGECOLOR 255 255 255
PROJECTION
"init=epsg:31467"
END
WEB
MINSCALE 100
MAXSCALE 8200000
IMAGEPATH '/srv/www/htdocs/mapserv_tmp/'
IMAGEURL '/mapserv_tmp/'
LOG '/srv/www/htdocs/mapserv_anw/mapserv_log.log'
END
LAYER
NAME "TK2"
STATUS DEFAULT
TYPE RASTER
DEBUG ON
DATA "../tk500/kachel/s3_01_03.tif"
PROJECTION
"init=epsg:31468"
END
END
END
Thanks in advance,
Norbert
------_=_NextPart_001_01C42777.B18E6FF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>[Mapserver-users] Problem with drawing tif files</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I had the same problem .</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I have changed only the Mapserver.exe =
module.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I put the news DLLs delivered with =
the new version and the problem disappeared.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">The tifs have can be need for module =
GDAL=A0?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I do not know more.</FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">Good luck</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Franck</FONT>
</P>
<BR>
<UL>
<P><A NAME=3D"_MailData"><FONT SIZE=3D2 FACE=3D"Arial">Date: Tue, 20 =
Apr 2004 16:32:21 +0200</FONT></A>
<BR><FONT SIZE=3D2 FACE=3D"Arial">From: Norbert Thieme =
<norbert.thieme at ilmenau.baw.de></FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Reply-To: =
norbert.thieme at ilmenau.baw.de</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Organization: Bundesanstalt =
=3D?ISO-8859-1?Q?f=3DFCr_Wasserbau?=3D</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">To: =
mapserver-users at lists.gis.umn.edu</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Subject: [Mapserver-users] Problem =
with drawing tif files</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">I'm still testing the new version and =
now I got a new problem. When </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">map->draw() (in php/mapscript) is =
called then the script seems to be </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">aborted but without an error. With =
the version 4.0.2 the same mapfile </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">and script works fine.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Because of that I tried to send the =
mapfile directly to the mapserv - </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">cgi with mode=3Dmap and there I get a =
apache error:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Internal Server Error</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">The server encountered an internal =
error or misconfiguration and was </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">unable to complete your =
request.</FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">And in the log say:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">.... Premature end of script =
headers: /srv/www/cgi-bin/mapserv4</FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">I think it's strange that only the old =
version of the mapscript works </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">with the *.tif. Because of that I =
thought that the mapfile is OK but now </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I'm not sure.</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Has anyone an idea? Could there be =
something wrong with the permission?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Or something with the =
mapfile?:</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">MAP</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> =
IMAGETYPE PNG</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> STATUS ON</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> SIZE 400 400</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> EXTENT 3250470.029539 =
5221162.578925 3942023.41747 6113902.660721</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> UNITS METERS</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> TRANSPARENT ON</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> =
SHAPEPATH '../daten/shapes'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> =
IMAGECOLOR 255 255 255</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial"> PROJECTION</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> =
"init=3Depsg:31467"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> END</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial"> WEB</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> MINSCALE =
100</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> MAXSCALE =
8200000</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> IMAGEPATH =
'/srv/www/htdocs/mapserv_tmp/'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> IMAGEURL =
'/mapserv_tmp/'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> LOG =
'/srv/www/htdocs/mapserv_anw/mapserv_log.log'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> END</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial"> LAYER</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> NAME =
"TK2"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> STATUS =
DEFAULT</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> TYPE =
RASTER</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> DEBUG =
ON</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> DATA =
"../tk500/kachel/s3_01_03.tif"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> =
PROJECTION</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial"> =
"init=3Depsg:31468"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> END</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial"> END</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">END</FONT>
</P>
<BR>
<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks in advance,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Norbert</FONT>
</P>
</UL>
</BODY>
</HTML>
------_=_NextPart_001_01C42777.B18E6FF0--
More information about the MapServer-users
mailing list