Opened 8 years ago

Closed 8 years ago

#1235 closed defect (fixed)

WCPS1.5_Returns more values from internal bands when using asterisk in trimming

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

Description

WCPS query

for c in ( rgb ) return encode( (c.red)[ i(*:1), j(340:*) ], "csv" )

with c bounding is [0:399, 0:343]. Then in WCPS 1.5 it will returns Rasql query

SELECT encode( ( c.0 ) [*:1,0:*], "csv" ) FROM rgb AS c

and a lot of more values for internal bands.

while WCPS 1.0 which returns Rasql query

select csv((c).0[0:1,0:3]) from rgb AS c where oid(c)=45057

and only 4 values for 4 bands of PNG.

{119,119,119,119},{119,119,119,119}

see diff here (WCPS 1.0 and WCPS 1.5)

https://www.diffchecker.com/azqfk7e2

Change History (2)

comment:1 by Dimitar Misev, 8 years ago

I think WCPS 1.5 doesn't handle the native CRS:1 properly here?

comment:2 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed

Patch was accepted, close ticket.

Note: See TracTickets for help on using tickets.