Changes between Initial Version and Version 1 of Ticket #1304


Ignore:
Timestamp:
May 10, 2016, 2:50:59 PM (8 years ago)
Author:
Dimitar Misev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1304 – Description

    initial v1  
    1 WMS doesn't seem to support 3D coverages? It would be useful to allow them in some way, perhaps by a mandatory rasql style.
     1WMS doesn't seem to support 3D coverages? It would be useful to allow them in some way, perhaps by a mandatory rasql style. E.g. consider this example:
     2
     3Change detection by putting NDVI indexes of different dates in each band of the output; tyrol_6 is a landsat cube with 6 time slices:
     4{{{
     5        for c in (tyrol_6) return encode(
     6        {
     7                red:   (((c.nir - c.red) / (c.nir + c.red))[ansi("2015-08-20")] * 255);
     8                green: (((c.nir - c.red) / (c.nir + c.red))[ansi("2015-07-19")] * 255);
     9                blue:  (((c.nir - c.red) / (c.nir + c.red))[ansi("2015-06-17")] * 255)
     10        },
     11        "png")
     12}}}
     13rasql fragment:
     14{{{
     15    { (($Iterator[*:*,*:*,5].3 - $Iterator[*:*,*:*,5].2) / ($Iterator[*:*,*:*,5].3 - -$Iterator[*:*,*:*,5].2)) * 255, (($Iterator[*:*,*:*,3].3 - $Iterator[*:*,*:*,3].2) / ($Iterator[*:*,*:*,3].3 - -$Iterator[*:*,*:*,3].2)) * 255, (($Iterator[*:*,*:*,1].3 - $Iterator[*:*,*:*,1].2) / ($Iterator[*:*,*:*,1].3 - -$Iterator[*:*,*:*,1].2)) * 255 }
     16}}}