Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAP
- NAME ""
- IMAGETYPE "PNG"
- EXTENT -180 -90 180 90
- MAXSIZE 4096
- SIZE 500 300
- CONFIG "PROJ_LIB" "./"
- CONFIG "MS_ERRORFILE" "stdout"
- PROJECTION
- "+proj=longlat +datum=WGS84 +no_defs"
- END
- DEBUG 5
- OUTPUTFORMAT
- NAME GRIB
- DRIVER "GDAL/GRIB"
- MIMETYPE "application/x-grib2"
- IMAGEMODE Float32
- EXTENSION "grib2"
- FORMATOPTION "DATA_ENCODING=SIMPLE_PACKING"
- END
- OUTPUTFORMAT
- NAME GEOTIFF_16
- DRIVER "GDAL/GTiff"
- MIMETYPE "image/tiff"
- IMAGEMODE FLOAT32
- EXTENSION "tif"
- END
- OUTPUTFORMAT
- NAME "NETCDF"
- DRIVER "GDAL/netCDF"
- MIMETYPE "image/netcdf"
- IMAGEMODE FLOAT32
- EXTENSION "nc"
- END
- WEB
- METADATA
- "ows_srs" "EPSG:4326"
- "ows_enable_request" "*"
- "ows_extent" "-180 -90 180 90"
- END
- END
- LAYER
- NAME "TEST"
- STATUS ON
- DEBUG 5
- TYPE RASTER
- TOLERANCE 15
- TEMPLATE "ttt.html"
- PROJECTION
- "+proj=longlat +R=6371229 +no_defs"
- END
- DATA "tmp.grib2"
- METADATA
- "ows_title" "test"
- "ows_extent" "-180.075 -90.075 179.925 90.075"
- END
- CLASSGROUP "TEMPERATURE-LINEAR"
- CLASS
- NAME ".. -40"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( [pixel] < -40 )
- STYLE
- COLORRANGE "#00007f" "#00007f"
- DATARANGE -100.0 -40.0
- END
- END
- CLASS
- NAME "-40 -35"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= -40 ) AND ( [pixel] < -35 ) )
- STYLE
- COLORRANGE "#00007f" "#0000b7"
- DATARANGE -40.0 -35.0
- END
- END
- CLASS
- NAME "-35 -30"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= -35 ) AND ( [pixel] < -30 ) )
- STYLE
- COLORRANGE "#0000b7" "#0000ef"
- DATARANGE -35.0 -30.0
- END
- END
- CLASS
- NAME "-30 -25"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= -30 ) AND ( [pixel] < -25 ) )
- STYLE
- COLORRANGE "#0000ef" "#003ffe"
- DATARANGE -30.0 -25.0
- END
- END
- CLASS
- NAME "-25 -20"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= -25 ) AND ( [pixel] < -20 ) )
- STYLE
- COLORRANGE "#003ffe" "#0093fe"
- DATARANGE -25.0 -20.0
- END
- END
- CLASS
- NAME "-20 -15"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= -20 ) AND ( [pixel] < -15 ) )
- STYLE
- COLORRANGE "#0093fe" "#00e7fe"
- DATARANGE -20.0 -15.0
- END
- END
- CLASS
- NAME "-15 -10"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= -15 ) AND ( [pixel] < -10 ) )
- STYLE
- COLORRANGE "#00e7fe" "#33fd87"
- DATARANGE -15.0 -10.0
- END
- END
- CLASS
- NAME "-10 -5"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= -10 ) AND ( [pixel] < -5 ) )
- STYLE
- COLORRANGE "#33fd87" "#77fd87"
- DATARANGE -10.0 -5.0
- END
- END
- CLASS
- NAME "-5 0"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= -5 ) AND ( [pixel] < 0 ) )
- STYLE
- COLORRANGE "#77fd87" "#bbfe43"
- DATARANGE -5.0 0.0
- END
- END
- CLASS
- NAME "0 5"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= 0 ) AND ( [pixel] < 5 ) )
- STYLE
- COLORRANGE "#bbfe43" "#ffff00"
- DATARANGE 0.0 5.0
- END
- END
- CLASS
- NAME "5 10"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= 5 ) AND ( [pixel] < 10 ) )
- STYLE
- COLORRANGE "#ffff00" "#febb00"
- DATARANGE 5.0 10.0
- END
- END
- CLASS
- NAME "10 15"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= 10 ) AND ( [pixel] < 15 ) )
- STYLE
- COLORRANGE "#febb00" "#fe7700"
- DATARANGE 10.0 15.0
- END
- END
- CLASS
- NAME "15 20"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= 15 ) AND ( [pixel] < 20 ) )
- STYLE
- COLORRANGE "#fe7700" "#fe3200"
- DATARANGE 15.0 20.0
- END
- END
- CLASS
- NAME "20 25"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= 20 ) AND ( [pixel] < 25 ) )
- STYLE
- COLORRANGE "#fe3200" "#ef0000"
- DATARANGE 20.0 25.0
- END
- END
- CLASS
- NAME "25 30"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= 25 ) AND ( [pixel] < 30 ) )
- STYLE
- COLORRANGE "#ef0000" "#b70000"
- DATARANGE 25.0 30.0
- END
- END
- CLASS
- NAME "30 35"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= 30 ) AND ( [pixel] < 35 ) )
- STYLE
- COLORRANGE "#b70000" "#7f0000"
- DATARANGE 30.0 35.0
- END
- END
- CLASS
- NAME "35 40"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( ( [pixel] >= 35 ) AND ( [pixel] < 40 ) )
- STYLE
- COLORRANGE "#7f0000" "#550000"
- DATARANGE 35.0 40.0
- END
- END
- CLASS
- NAME ">= 40"
- GROUP "TEMPERATURE-LINEAR"
- EXPRESSION ( [pixel] >= 40 )
- STYLE
- COLORRANGE "#550000" "#550000"
- DATARANGE 40.0 60.0
- END
- END
- END
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement