[mapserver-users] blank image

Jamie Smedsmo jsmedsmo at gis.umn.edu
Thu Jan 10 11:13:51 EST 2002


The search capability on the list archive is working now.

Jamie


Daniel Ems wrote:

>I know this has been posted before, but the mailing list archive seems to
>be broken (no results on search word "map"!) so I have to post here...
>
>I keep getting a blank png with the following map file:
>
>---- begin map file -----
>
>  NAME TOPOVIEWER
>  STATUS ON
>  SIZE 400 400
>  EXTENT 97.229436 30.194935 71.869986 49.37173
>  UNITS METERS
>  SHAPEPATH "/var/www/html/topoviewer/data"
>  IMAGECOLOR 255 255 255
>  IMAGETYPE png
>  
>  WEB
>    TEMPLATE topo_template.html
>    MINSCALE 24000
>    MAXSCALE 24000
>    IMAGEPATH "/var/www/html/topoviewer/tmp/"
>    IMAGEURL "/topoviewer/tmp/"
>  END
>
>  QUERYMAP
>    SIZE 200 200
>    STATUS ON
>    STYLE SELECTED
>    COLOR 255 255 0
>  END
>
>  LEGEND
>    STATUS ON
>    LABEL 
>      TYPE TRUETYPE
>      FONT arial-bold
>      COLOR 0 0 0
>      SIZE 10
>      ANTIALIAS TRUE
>    END
>  END
>
>  SCALEBAR
>    STATUS ON
>    STYLE 1
>    INTERVALS 4
>    SIZE 200 2
>    COLOR 0 0 0
>    OUTLINECOLOR 0 0 0
>    UNITS miles
>    LABEL
>      COLOR 0 0 0
>      SIZE small
>    END
>  END
>
>#  REFERENCE
>#    STATUS ON
>#    IMAGE graphics/reference.gif
>#    SIZE 150 150
>#    EXTENT 97.229436 30.194935 71.869986 49.37173
>#  END
>
>  LAYER
>    NAME states
>    DATA /var/www/html/topoviewer/data/states
>    TYPE POLYGON
>    STATUS ON
>    CLASS
>      NAME 'states.shp'
>      COLOR 212 212 212
>      OUTLINECOLOR 0 55 0
>    END
>  END
>
>END
> 
>---- end map file ----
>
>Any suggestions?
>





More information about the mapserver-users mailing list