Opened 2 years ago

Closed 2 years ago

#2634 closed defect (fixed)

FIX - WCPS LET clause supports WKT expressions

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.1
Component: petascope Version: 10.0
Keywords: Cc:
Complexity: Medium

Description

LET clause in WCPS needs to support WKT expressions, e.g. this query should work:

for c in (test_eobstest)

let $lineString := LineString(26 41 "1950-01-01", 28 41 "1950-01-02"),
    $polygon := Polygon((25 40, 30 40, 30 45, 25 45))

 return encode( 
 clip( c, corridor( projection(Lat, Long), $lineString, $polygon ) ), "gml")

Change History (1)

comment:1 by Bang Pham Huu, 2 years ago

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