Opened 9 years ago

Last modified 6 years ago

#1304 closed enhancement

3D coverages in WMS — at Version 1

Reported by: Dimitar Misev Owned by: Alex Dumitru
Priority: major Milestone: 9.7
Component: petascope Version: development
Keywords: Cc: Bang Pham Huu, Vlad Merticariu
Complexity: Medium

Description (last modified by Dimitar Misev)

WMS 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:

Change detection by putting NDVI indexes of different dates in each band of the output; tyrol_6 is a landsat cube with 6 time slices:

	for c in (tyrol_6) return encode(
	{
		red:   (((c.nir - c.red) / (c.nir + c.red))[ansi("2015-08-20")] * 255);
		green: (((c.nir - c.red) / (c.nir + c.red))[ansi("2015-07-19")] * 255);
		blue:  (((c.nir - c.red) / (c.nir + c.red))[ansi("2015-06-17")] * 255)
	}, 
	"png")

rasql fragment:

    { (($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 }

Change History (1)

comment:1 by Dimitar Misev, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.