Changes between Version 2 and Version 3 of WMSGuide


Ignore:
Timestamp:
May 10, 2016 6:27:56 PM (17 months ago)
Author:
mdumitru
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WMSGuide

    v2 v3  
    3434&layer=dessert_area
    3535&abstract=This style marks the areas where fires are in progress with the color red
    36 &rasqlTransformFragment=case $Iterator when $Iterator > 200 then {255, 0, 0} else $Iterator
     36&rasqlTransformFragment=case $Iterator when ($Iterator + 2) > 200 then {255, 0, 0} else $Iterator
    3737}}}
    3838
    3939The rasqlTransformFragment contains the query fragment that can modify the normal result of the layer. The variable $Iterator will be replaced with the actual name of the rasdaman collection and the whole fragment will be integrated inside the regular GetMap query
    4040
     41Beware of the plus sign encoding. Several servers including Tomcat considers a "+" symbol in an URL as an encoding for space and replaces it as such. Please properly encode your rasql before submitting the request using one of the tools online (for example http://meyerweb.com/eric/tools/dencoder/).
     42E.g.
     43{{{
     44case $Iterator when ($Iterator + 2) > 200 then {255, 0, 0} else $Iterator
     45
     46should be:
     47
     48case%20%24Iterator%20when%20(%24Iterator%20%2B%202)%20%3E%20200%20then%20%7B255%2C%200%2C%200%7D%20else%20%24Iterator%0A
     49
     50}}}
    4151== Testing the WMS ==
    4252