[mapserver-users] Troubleshooting a cascading mapserver install.

Gregory glp at xplornet.com
Sat Feb 19 11:30:59 PST 2011


Hi all, I've recently setup a mapserver install on a linux machine. So
far the mapfile is written to pull other images from other servers. But
unfortunately I get a blank return image and using google earth to
display shows a big red "X"!

Here's the mapfile:
#
# Start of map file
#
MAP
  NAME BLACKBERRY
  STATUS ON
  SIZE 1000 1000
  EXTENT -180 -90 180 90
  IMAGECOLOR 139 137 137
  IMAGETYPE PNG24
  UNITS DD


WEB
    IMAGEPATH "/home/greg/public_html/mapserverdemo/tmp"
    IMAGEURL "/tmp/"

    METADATA
      WMS_TITLE "Blackberry WMS Server"
      WMS_ABSTRACT "This is a WMS application for display on a blackberry."
      WMS_ACCESSCONSTRAINTS "none"
      WMS_SRS "EPSG:4326"
    END
END
 
LAYER
    NAME "CONUS NEXRAD Base Reflectivity (n0r)"
    STATUS ON
    TYPE RASTER
    CONNECTION
"http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi?"
    CONNECTIONTYPE WMS
    METADATA
        "wms_format"    "image/png"
        "wms_srs"    "EPSG:4326"
        "wms_name"    "nexrad-n0r-m05m"
        "wms_server_version" "1.1.1"
    END
END

LAYER
    NAME "CONUS NEXRAD Storm Total Precipitation (ntp)"
    STATUS ON
    TYPE RASTER
    CONNECTION
"http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/ntp.cgi?"
    CONNECTIONTYPE WMS
    METADATA
        "wms_format"    "image/png"
        "wms_srs"    "EPSG:4326"
        "wms_name"    "nexrad-ntp"
        "wms_server_version" "1.1.1"
    END
END

LAYER
    NAME "NWS Current Polygon Warnings"
    STATUS ON
    TYPE RASTER
    CONNECTION "http://mesonet.agron.iastate.edu/cgi-bin/wms/us/wwa.cgi?"
    CONNECTIONTYPE WMS
    METADATA
        "wms_format"    "image/png"
        "wms_srs"    "EPSG:4326"
        "wms_name"    "warnings_p"
        "wms_server_version" "1.1.1"
    END
END

END # Map File

Testing with shp2img works and I get some nice outputs from my mapfile.
But once I pop it into a wms client, nothing seems to show. Is it my
extents boundaries?



More information about the MapServer-users mailing list