[mapserver-users] OK, another blank gif-file...

Robert Schmitz-Hübsch robert.schmitz-huebsch at web.de
Sat May 12 05:28:14 PDT 2001


I setup a .map-file that creates a gif-file containing an orthophoto and a
simple shapefile using "shp2img".
This works just fine, but when I try to invoke the exact same .map-file with
the "mapserv"-program using

http://130.75.85.56/cgi-bin/mapserv?map=/home/httpd/cgi-bin/test2.map&templa
te=/home/httpd/html/test1.htm&imgext=3480000.000+5399000.000+3481557.000+540
0740.000

...for example, the gif-files stay white!!.
There cannot be anything wrong with directories or missing files, since the
.map-file is already tested on that same machine.
This is also true for the map-EXTENT.

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.

I also tried to save the orthophoto as unpacked gif, greyscale, of course,
but at least the shapefile should show up, right?
It even works with the windows-"shp2img"!!


-> Here is the .map-file:


NAME TEST2-
  EXTENT 3480000.0 5399000.0 3481557.0 5400740.0
  SIZE 400 400
  SHAPEPATH "/home/arcims/Daten/shapes/"

#  PROJECTION
#  "proj=utm"
#  "ellps=GRS80"
#  "zone=15"
#  "north"
#  "no_defs"
#  END

WEB
  IMAGEPATH "/home/httpd/MAPS/"
  IMAGEURL "http://130.75.85.56/MAPS/"
  LOG "/home/httpd/cgi-bin/test2.log"
END

LAYER
    NAME ortho-0
    DATA "/home/arcims/Daten/orthos/ortho_a1_100cm_gk3_0_0_grey.tif"
    STATUS ON
    TYPE RASTER
END # end of layer object


 LAYER
    NAME "bebauung1"
    DATA beb_freudenst_1a_erw_gk3
    STATUS ON
    TYPE POLYGON
    CLASS
      COLOR 60 60 60
    END # CLASS OBJECT
END # end of layer object

END # end of mapfile



-> These are the last two log-entries:

Sat May 12 11:03:32 2001,28358,217.80.69.247,TEST2-,0,3479908.421053
5399000.000000 3481648.578947 5400740.000000,-1.
000000 -1.000000,,normal execution
Sat May 12 11:25:07 2001,28382,217.80.69.247,TEST2-,0,3479908.421053
5399000.000000 3481648.578947 5400740.000000,-1.
000000 -1.000000,,normal execution


Any ideas on this one?
What does the "0" after the map-name "TEST2-" mean?

Regards,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20010512/d8bf1388/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Schach.gif
Type: application/octet-stream
Size: 2947 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20010512/d8bf1388/attachment.obj>


More information about the MapServer-users mailing list