<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE>BODY {
BACKGROUND-COLOR: #ffffff; BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: repeat-y; COLOR: #000000; FONT-FAMILY: arial; FONT-SIZE: 12pt; MARGIN-LEFT: 8em
}
P.msoNormal {
BACKGROUND-COLOR: #ffffff; BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: repeat-y; COLOR: #000000; FONT-FAMILY: arial; FONT-SIZE: 12pt; MARGIN-LEFT: 8em
}
LI.msoNormal {
BACKGROUND-COLOR: #ffffff; BACKGROUND-POSITION: left top; BACKGROUND-REPEAT: repeat-y; COLOR: #000000; FONT-FAMILY: arial; FONT-SIZE: 12pt; MARGIN-LEFT: 8em
}
P.msoNormal {
COLOR: black; FONT-FAMILY: arial; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0em; MARGIN-LEFT: 8em; MARGIN-TOP: 0em
}
LI.msoNormal {
COLOR: black; FONT-FAMILY: arial; FONT-SIZE: 12pt; MARGIN-BOTTOM: 0em; MARGIN-LEFT: 8em; MARGIN-TOP: 0em
}
</STYLE>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR></HEAD>
<BODY background=cid:130143411@12052001-15ce>
<DIV><SPAN class=130143411-12052001>I setup a .map-file that creates a gif-file
containing an orthophoto and a simple shapefile using "shp2img".</SPAN></DIV>
<DIV><SPAN class=130143411-12052001>This works just fine, but when I try to
invoke the exact same .map-file with the "mapserv"-program using</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001><A
href="http://130.75.85.56/cgi-bin/mapserv?map=/home/httpd/cgi-bin/test2.map&template=/home/httpd/html/test1.htm&imgext=3480000.000+5399000.000+3481557.000+5400740.000">http://130.75.85.56/cgi-bin/mapserv?map=/home/httpd/cgi-bin/test2.map&template=/home/httpd/html/test1.htm&imgext=3480000.000+5399000.000+3481557.000+5400740.000</A></SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>...for example, the gif-files stay white!!.
</SPAN></DIV>
<DIV><SPAN class=130143411-12052001>There cannot be anything wrong with
directories or missing files, since the .map-file is already tested on that same
machine.</SPAN></DIV>
<DIV><SPAN class=130143411-12052001>This is also true for the
map-EXTENT.</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>I also tried to install binaries for GD,
libtiff and libjpeg using the "rpm"-command on redhat 6.2 for SPARC, but it
always said everything was in place just fine already, since I had compiled
these before on that machine.</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>I also tried to save the orthophoto as
unpacked gif, greyscale, of course, but at least the shapefile should show up,
right?</SPAN></DIV>
<DIV><SPAN class=130143411-12052001>It even works with the
windows-"shp2img"!!</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>-> Here is the .map-file:</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>NAME TEST2-<BR> EXTENT 3480000.0
5399000.0 3481557.0 5400740.0<BR> SIZE 400 400<BR> SHAPEPATH
"/home/arcims/Daten/shapes/"</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=130143411-12052001># PROJECTION<BR>#
"proj=utm"<BR># "ellps=GRS80"<BR># "zone=15"<BR>#
"north"<BR># "no_defs"<BR># END</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=130143411-12052001>WEB<BR> IMAGEPATH
"/home/httpd/MAPS/"<BR> IMAGEURL "<A
href="http://130.75.85.56/MAPS/">http://130.75.85.56/MAPS/</A>"<BR> LOG
"/home/httpd/cgi-bin/test2.log"<BR>END</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=130143411-12052001>LAYER<BR> NAME
ortho-0<BR> DATA
"/home/arcims/Daten/orthos/ortho_a1_100cm_gk3_0_0_grey.tif"<BR>
STATUS ON<BR> TYPE RASTER<BR>END # end of layer
object</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=130143411-12052001><BR> LAYER<BR> NAME
"bebauung1"<BR> DATA
beb_freudenst_1a_erw_gk3<BR> STATUS ON<BR>
TYPE POLYGON<BR> CLASS<BR> COLOR
60 60 60<BR> END # CLASS OBJECT<BR>END # end of layer
object</SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=130143411-12052001>END # end of mapfile</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>-> These are the last two
log-entries:</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>Sat May 12 11:03:32
2001,28358,217.80.69.247,TEST2-,0,3479908.421053 5399000.000000 3481648.578947
5400740.000000,-1.<BR>000000 -1.000000,,normal execution<BR>Sat May 12 11:25:07
2001,28382,217.80.69.247,TEST2-,0,3479908.421053 5399000.000000 3481648.578947
5400740.000000,-1.<BR>000000 -1.000000,,normal execution</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>Any ideas on this one?</SPAN></DIV>
<DIV><SPAN class=130143411-12052001>What does the "0" after the map-name
"TEST2-" mean?</SPAN></DIV>
<DIV><SPAN class=130143411-12052001></SPAN> </DIV>
<DIV><SPAN class=130143411-12052001>Regards,</SPAN></DIV>
<DIV><SPAN class=130143411-12052001>Robert</SPAN></DIV></BODY></HTML>