Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#743 closed defect (fixed)

Do not set any default nodata value

Reported by: Dimitar Misev Owned by: uadhikari
Priority: major Milestone: 9.0.x
Component: qlparser Version: development
Keywords: Cc: Peter Baumann, Piero Campalani, James Passmore, Marcus Sen
Complexity: Trivial

Description

The encode function sets by default nodata=0 to the output image. This is probably a bad idea and should be removed.

Systemtest oracles will need to be updated as well, or better yet, queries in the systemtest should be updated with explicit nodata=0.

Ticket spawn from #741

Change History (5)

comment:1 by Marcus Sen, 11 years ago

Cc: Marcus Sen added

comment:2 by Dimitar Misev, 11 years ago

Owner: changed from Dimitar Misev to uadhikari
Status: newassigned

The source code that should be fixed is source:qlparser/qtencode.cc

In source:systemtest use

grep -R ' encode(' *

to find all testcases that use encode, and add a third parameter "nodata=0", if not present already. Make sure that the testcases_services are running and petascope is deployed beforehand.

comment:4 by uadhikari, 10 years ago

Resolution: fixed
Status: assignedclosed

comment:5 by Dimitar Misev, 10 years ago

I submitted additional patch to fix the WCS oracles.

Note: See TracTickets for help on using tickets.