[Mapserver-users] blank images from mapserv cgi, not php/mapscript, shp2img, etc.

Jerritt Collord collord at linuxfund.org
Sun Apr 13 11:51:37 PDT 2003


For the life of me (yes, after searching archives, etc.) I can't get the
mapserv CGI to produce anything but blank PNGs... though I can set
IMAGECOLOR and get a colored blank PNG.

PHP/mapscript with similar mapfiles and the command line shp2img and
shp2pdf can produce correct PNGs.

Both 3.6.5 and 3.7 versions attempted. Both with html TEMPLATE and
directly with mode=map in the GET. Logging, when enabled, indicates
"normal execution".

Thanks,

Jerritt Collord

------

NAME SHIZZLE
SIZE 400 400
STATUS ON
SYMBOLSET symbols.sym
EXTENT -5000000 -4000000 3000000 10000000
UNITS METERS
SHAPEPATH "/usr/lib/cgi-bin/maps"
WEB
IMAGEPATH "/var/www/tmp/"
IMAGEURL "/tmp/"
END
LAYER
NAME europa_shapes
TYPE POLYGON
STATUS ON
DATA europa
        CLASS
                COLOR 110 50 100
                OUTLINECOLOR 200 200 200
        END
END
END
END



More information about the MapServer-users mailing list