# # Start of map file # MAP NAME LANDCOVER STATUS ON SIZE 600 600 EXTENT -180 -90 180 90 UNITS DD IMAGECOLOR 255 255 255 TEMPLATEPATTERN "main" IMAGETYPE PNG OUTPUTFORMAT NAME SVG MIMETYPE "image/svg+xml" DRIVER svg FORMATOPTION "COMPRESSED_OUTPUT=FALSE" FORMATOPTION "FULL_RESOLUTION=TRUE" END OUTPUTFORMAT NAME GTiff DRIVER "GDAL/GTiff" MIMETYPE "image/tiff" IMAGEMODE RGB EXTENSION "tif" END # # Start of web interface definition (including WMS enabling metadata) # WEB HEADER templates/header.html FOOTER templates/footer.html MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "/usr/local/apache2/htdocs/MODIS/tmp/" IMAGEURL "/tmp/" METADATA "wms_title" "UMN MapServer MODIS_FIRE" "wms_onlineresource" "http://zuluviz.telascience.org/cgi-bin/modis_fire?" "wms_abstract" "This is the UMN MapServer application for the MODIS FIRE DB" "wms_accessconstraints" "none" "wms_srs" "EPSG:4326" "wfs_title" "UMN MapServer MODIS_FIRE" "wfs_onlineresource" "http://zuluviz.telascience.org/cgi-bin/modis_fire?" "wfs_abstract" "This is the UMN MapServer application for the FlightGear Landcover-DB" "wfs_srs" "EPSG:4326" END END # # Projection definition, consult the PROJ.4 documentation for parameter discussion # PROJECTION # "proj=utm" # "ellps=GRS80" # "zone=15" # "north" # "no_defs" # # OR: # # "init=epsg:26915" "init=epsg:4326" END # # Start of symbol definitions (we're only using a few) # SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END SYMBOL NAME 'star' TYPE VECTOR FILLED TRUE POINTS 0 .375 .35 .375 .5 0 .65 .375 1 .375 .75 .625 .875 1 .5 .75 .125 1 .25 .625 END END SYMBOL NAME 'fire' TYPE ELLIPSE FILLED FALSE POINTS 5 5 END END SYMBOL NAME 'marker' TYPE ELLIPSE FILLED TRUE POINTS 6 6 END END # # Start of legend # LEGEND STATUS ON POSITION LL KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END END # # Start of scalebar # SCALEBAR STATUS ON UNITS KILOMETERS POSITION LL COLOR 255 255 255 OUTLINECOLOR 255 255 255 IMAGECOLOR 0 0 0 INTERVALS 5 SIZE 200 5 STYLE 0 LABEL TYPE BITMAP SIZE TINY COLOR 255 255 255 END TRANSPARENT TRUE END # # Start of layer definitions # LAYER NAME modis_fire TYPE POLYGON # TYPE POINT DUMP TRUE STATUS ON CONNECTION "user=webuser dbname=landcover host=zuluviz.optiputer.net" CONNECTIONTYPE postgis # DATA "wkb_geometry FROM modis_fire USING UNIQUE ogc_fid USING SRID=4326" # DATA "distinct buffer(wkb_geometry,500) FROM modis_fire where ogc_fid=4326" DATA "distinct buffer(wkb_geometry,500) FROM modis_fire" LABELITEM "temp" LABELMINSCALE 0 LABELMAXSCALE 10 CLASS NAME "modis_fire" COLOR 255 0 0 # OUTLINECOLOR 0 0 0 # SYMBOL 'fire' SYMBOL 0 LABEL COLOR 255 255 42 SIZE LARGE ANTIALIAS TRUE POSITION UR PARTIALS TRUE MINDISTANCE 0 BUFFER 2 END END METADATA "wms_title" "modis_fire" "wms_extent" "-180 -90 180 90" "wms_srs" "EPSG:4326" "wms_abstract" "MODIS Fire-DB - Source: See http://wiki.osgeo.org/index.php/Geodata_Repository#PostGIS_serving_vector_data for more information." "wfs_title" "modis_fire" "wfs_extent" "-180 -90 180 90" "wfs_srs" "EPSG:4326" "wfs_featureid" "ID" "wfs_abstract" "MODIS Fire-DB - Source: See http://wiki.osgeo.org/index.php/Geodata_Repository#PostGIS_serving_vector_data for more information." "gml_include_items" "all" END END # modis_fire END # Map File