Advertisement
Guest User

Untitled

a guest
Jul 14th, 2021
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.30 KB | None | 0 0
  1. MAP
  2. NAME ""
  3. IMAGETYPE "PNG"
  4. EXTENT -180 -90 180 90
  5. MAXSIZE 4096
  6. SIZE 500 300
  7. CONFIG "PROJ_LIB" "./"
  8. CONFIG "MS_ERRORFILE" "stdout"
  9. PROJECTION
  10. "+proj=longlat +datum=WGS84 +no_defs"
  11. END
  12. DEBUG 5
  13. OUTPUTFORMAT
  14. NAME GRIB
  15. DRIVER "GDAL/GRIB"
  16. MIMETYPE "application/x-grib2"
  17. IMAGEMODE Float32
  18. EXTENSION "grib2"
  19. FORMATOPTION "DATA_ENCODING=SIMPLE_PACKING"
  20. END
  21. OUTPUTFORMAT
  22. NAME GEOTIFF_16
  23. DRIVER "GDAL/GTiff"
  24. MIMETYPE "image/tiff"
  25. IMAGEMODE FLOAT32
  26. EXTENSION "tif"
  27. END
  28. OUTPUTFORMAT
  29. NAME "NETCDF"
  30. DRIVER "GDAL/netCDF"
  31. MIMETYPE "image/netcdf"
  32. IMAGEMODE FLOAT32
  33. EXTENSION "nc"
  34. END
  35. WEB
  36. METADATA
  37. "ows_srs" "EPSG:4326"
  38. "ows_enable_request" "*"
  39. "ows_extent" "-180 -90 180 90"
  40. END
  41. END
  42. LAYER
  43. NAME "TEST"
  44. STATUS ON
  45. DEBUG 5
  46. TYPE RASTER
  47. TOLERANCE 15
  48. TEMPLATE "ttt.html"
  49. PROJECTION
  50. "+proj=longlat +R=6371229 +no_defs"
  51. END
  52. DATA "tmp.grib2"
  53. METADATA
  54. "ows_title" "test"
  55. "ows_extent" "-180.075 -90.075 179.925 90.075"
  56. END
  57. CLASSGROUP "TEMPERATURE-LINEAR"
  58. CLASS
  59. NAME ".. -40"
  60. GROUP "TEMPERATURE-LINEAR"
  61. EXPRESSION ( [pixel] < -40 )
  62. STYLE
  63. COLORRANGE "#00007f" "#00007f"
  64. DATARANGE -100.0 -40.0
  65. END
  66. END
  67. CLASS
  68. NAME "-40 -35"
  69. GROUP "TEMPERATURE-LINEAR"
  70. EXPRESSION ( ( [pixel] >= -40 ) AND ( [pixel] < -35 ) )
  71. STYLE
  72. COLORRANGE "#00007f" "#0000b7"
  73. DATARANGE -40.0 -35.0
  74. END
  75. END
  76. CLASS
  77. NAME "-35 -30"
  78. GROUP "TEMPERATURE-LINEAR"
  79. EXPRESSION ( ( [pixel] >= -35 ) AND ( [pixel] < -30 ) )
  80. STYLE
  81. COLORRANGE "#0000b7" "#0000ef"
  82. DATARANGE -35.0 -30.0
  83. END
  84. END
  85. CLASS
  86. NAME "-30 -25"
  87. GROUP "TEMPERATURE-LINEAR"
  88. EXPRESSION ( ( [pixel] >= -30 ) AND ( [pixel] < -25 ) )
  89. STYLE
  90. COLORRANGE "#0000ef" "#003ffe"
  91. DATARANGE -30.0 -25.0
  92. END
  93. END
  94. CLASS
  95. NAME "-25 -20"
  96. GROUP "TEMPERATURE-LINEAR"
  97. EXPRESSION ( ( [pixel] >= -25 ) AND ( [pixel] < -20 ) )
  98. STYLE
  99. COLORRANGE "#003ffe" "#0093fe"
  100. DATARANGE -25.0 -20.0
  101. END
  102. END
  103. CLASS
  104. NAME "-20 -15"
  105. GROUP "TEMPERATURE-LINEAR"
  106. EXPRESSION ( ( [pixel] >= -20 ) AND ( [pixel] < -15 ) )
  107. STYLE
  108. COLORRANGE "#0093fe" "#00e7fe"
  109. DATARANGE -20.0 -15.0
  110. END
  111. END
  112. CLASS
  113. NAME "-15 -10"
  114. GROUP "TEMPERATURE-LINEAR"
  115. EXPRESSION ( ( [pixel] >= -15 ) AND ( [pixel] < -10 ) )
  116. STYLE
  117. COLORRANGE "#00e7fe" "#33fd87"
  118. DATARANGE -15.0 -10.0
  119. END
  120. END
  121. CLASS
  122. NAME "-10 -5"
  123. GROUP "TEMPERATURE-LINEAR"
  124. EXPRESSION ( ( [pixel] >= -10 ) AND ( [pixel] < -5 ) )
  125. STYLE
  126. COLORRANGE "#33fd87" "#77fd87"
  127. DATARANGE -10.0 -5.0
  128. END
  129. END
  130. CLASS
  131. NAME "-5 0"
  132. GROUP "TEMPERATURE-LINEAR"
  133. EXPRESSION ( ( [pixel] >= -5 ) AND ( [pixel] < 0 ) )
  134. STYLE
  135. COLORRANGE "#77fd87" "#bbfe43"
  136. DATARANGE -5.0 0.0
  137. END
  138. END
  139. CLASS
  140. NAME "0 5"
  141. GROUP "TEMPERATURE-LINEAR"
  142. EXPRESSION ( ( [pixel] >= 0 ) AND ( [pixel] < 5 ) )
  143. STYLE
  144. COLORRANGE "#bbfe43" "#ffff00"
  145. DATARANGE 0.0 5.0
  146. END
  147. END
  148. CLASS
  149. NAME "5 10"
  150. GROUP "TEMPERATURE-LINEAR"
  151. EXPRESSION ( ( [pixel] >= 5 ) AND ( [pixel] < 10 ) )
  152. STYLE
  153. COLORRANGE "#ffff00" "#febb00"
  154. DATARANGE 5.0 10.0
  155. END
  156. END
  157. CLASS
  158. NAME "10 15"
  159. GROUP "TEMPERATURE-LINEAR"
  160. EXPRESSION ( ( [pixel] >= 10 ) AND ( [pixel] < 15 ) )
  161. STYLE
  162. COLORRANGE "#febb00" "#fe7700"
  163. DATARANGE 10.0 15.0
  164. END
  165. END
  166. CLASS
  167. NAME "15 20"
  168. GROUP "TEMPERATURE-LINEAR"
  169. EXPRESSION ( ( [pixel] >= 15 ) AND ( [pixel] < 20 ) )
  170. STYLE
  171. COLORRANGE "#fe7700" "#fe3200"
  172. DATARANGE 15.0 20.0
  173. END
  174. END
  175. CLASS
  176. NAME "20 25"
  177. GROUP "TEMPERATURE-LINEAR"
  178. EXPRESSION ( ( [pixel] >= 20 ) AND ( [pixel] < 25 ) )
  179. STYLE
  180. COLORRANGE "#fe3200" "#ef0000"
  181. DATARANGE 20.0 25.0
  182. END
  183. END
  184. CLASS
  185. NAME "25 30"
  186. GROUP "TEMPERATURE-LINEAR"
  187. EXPRESSION ( ( [pixel] >= 25 ) AND ( [pixel] < 30 ) )
  188. STYLE
  189. COLORRANGE "#ef0000" "#b70000"
  190. DATARANGE 25.0 30.0
  191. END
  192. END
  193. CLASS
  194. NAME "30 35"
  195. GROUP "TEMPERATURE-LINEAR"
  196. EXPRESSION ( ( [pixel] >= 30 ) AND ( [pixel] < 35 ) )
  197. STYLE
  198. COLORRANGE "#b70000" "#7f0000"
  199. DATARANGE 30.0 35.0
  200. END
  201. END
  202. CLASS
  203. NAME "35 40"
  204. GROUP "TEMPERATURE-LINEAR"
  205. EXPRESSION ( ( [pixel] >= 35 ) AND ( [pixel] < 40 ) )
  206. STYLE
  207. COLORRANGE "#7f0000" "#550000"
  208. DATARANGE 35.0 40.0
  209. END
  210. END
  211. CLASS
  212. NAME ">= 40"
  213. GROUP "TEMPERATURE-LINEAR"
  214. EXPRESSION ( [pixel] >= 40 )
  215. STYLE
  216. COLORRANGE "#550000" "#550000"
  217. DATARANGE 40.0 60.0
  218. END
  219. END
  220. END
  221. END
  222.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement