[mapserver-users] blank image

Daniel Ems dems at sdimaps.com
Wed Jan 9 14:00:06 EST 2002


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?

-- 
Daniel Ems

AM/FM/GIS Technical Support
Spatial Data Integrations, Inc.




More information about the mapserver-users mailing list