Opened 3 years ago

Closed 3 years ago

#2407 closed defect (fixed)

petascope - wrong error for scaling if axis label does not exist in coverage

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

Description

For example, if a coverage's geo CRS is in EPSG:31467 with X and Y axes. But, a WCPS query contains Lat axis:

for c in (o2_4G_5G_Homespot_800) return
encode(scale(c, { Lat:"CRS:1"(0:1000) }), "jpeg")

the error is:

Index 1 out of bounds for length 1

Change History (2)

comment:1 by Dimitar Misev, 3 years ago

But also a more generic error, which is also wrong, is shown:

Cannot connect to petascope, please make sure that petascope is running.

comment:2 by Bang Pham Huu, 3 years ago

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