Opened 6 years ago

Closed 6 years ago

#1885 closed defect (fixed)

Petascope_Result's size of WMS GetMap request should always be set to width and height parameters

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

Description

In case of WMS requests which needs to use project() in rasql, the generated Rasql query with width and height parameters (256x256) is

project(scale(..., [0:255, 0:255]), ...)

However, as project from a CRS to a different CRS will return more or less pixels so the result is not 256x256 pixels (e.g: 300x320). Hence, scale() should be the wrapper operation() instead of being added underneath project().

Change History (3)

comment:1 by Dimitar Misev, 6 years ago

Hence, scale() should be the wrapper operation()

scale or subset?

in reply to:  1 comment:2 by Bang Pham Huu, 6 years ago

Replying to dmisev:

Hence, scale() should be the wrapper operation()

scale or subset?

scale()! subset can be anything.

comment:3 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.