Opened 3 months ago

Last modified 2 weeks ago

#1490 assigned feature

Support wcpsTransformQuery in WMS InsertStyle requests

Reported by: dmisev Owned by: dmisev
Priority: major Milestone: 9.5
Component: petascope Version: development
Keywords: Cc: vmerticariu, bphamhuu
Complexity: Medium

Description (last modified by dmisev)

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 Changed 3 months ago by dmisev

  • Cc bphamhuu added
  • Description modified (diff)
  • Owner changed from bphamhuu to dmisev
  • Status changed from new to assigned
  • Summary changed from Generate rasqlStyleFragment for WMS from WCPS query to Generate rasqlTransformFragment for WMS from WCPS query

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

comment:2 Changed 3 months ago by dmisev

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 Changed 3 months ago by bphamhuu

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

comment:4 Changed 2 weeks ago by dmisev

  • Description modified (diff)
  • Milestone changed from 9.4 to 9.5
  • Summary changed from Generate rasqlTransformFragment for WMS from WCPS query to Support wcpsTransformQuery in WMS InsertStyle requests
  • Type changed from defect to feature
Note: See TracTickets for help on using tickets.