Opened 8 years ago

Last modified 7 years ago

#1490 closed feature

Support wcpsTransformQuery in WMS InsertStyle requests — at Version 4

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

Description (last modified by Dimitar Misev)

Users wanting to use rasqlTransformFragment in WMS are not typically familiar with rasql.

I propose to implement a tool for them, that given a WCPS query will generate a corresponding rasql fragment that can be used for a WMS style.

It could be part of the WCS client for example, ProcessCoverages tab (or WMS tab)? The tool translates WCPS to rasql, substitutes the coverage variable with $Iterator and removes the select and from ... parts from it.

Alternatively, a better/cleaner way: support wcpsTransformQuery parameter in the InsertStyle request? Internally this can be translated to rasql I guess.

Change History (4)

comment:1 by Dimitar Misev, 8 years ago

Cc: Bang Pham Huu added
Description: modified (diff)
Owner: changed from Bang Pham Huu to Dimitar Misev
Status: newassigned
Summary: Generate rasqlStyleFragment for WMS from WCPS queryGenerate rasqlTransformFragment for WMS from WCPS query

It's assigned to me until we decide how/where to put this.

comment:2 by Dimitar Misev, 8 years ago

Perhaps a better/cleaner way: support wcpsTransformQuery parameter in the InsertStyle request? Internally this can be translated to rasql I guess.

What do you think?

comment:3 by Bang Pham Huu, 8 years ago

I prefer not to touch WCS client as this is quite complex to make any new feature, your later solution seems better.

comment:4 by Dimitar Misev, 8 years ago

Description: modified (diff)
Milestone: 9.49.5
Summary: Generate rasqlTransformFragment for WMS from WCPS querySupport wcpsTransformQuery in WMS InsertStyle requests
Type: defectfeature
Note: See TracTickets for help on using tickets.