Opened 5 weeks ago

Last modified 5 weeks ago

#1490 assigned defect

Generate rasqlTransformFragment for WMS from WCPS query

Reported by: dmisev Owned by: dmisev
Priority: major Milestone: 9.4
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.

Change History (3)

comment:1 Changed 5 weeks 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 5 weeks 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 5 weeks 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.

Note: See TracTickets for help on using tickets.