Opened 3 years ago

Closed 3 years ago

#2446 closed enhancement (fixed)

Petascope removes wcsXML from the WCPS query posted by raswct

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 (last modified by Bang Pham Huu)

raswct sends WCPS query in the XML as below

/rasdaman/ows?request=wcsXML&service=WCS&version=2.0.1&version=2.1.0&
 requestBody=<?xml version="1.0" encoding="UTF-8"
 ?><ProcessCoveragesRequest xmlns="http://www.opengis.net/wcps/1.0"
 service="WCPS"version="1.0.0">  <query>    <abstractSyntax>      for $c in
 (S2_L2A_32633_B04_60m),
            $d in (S2_L2A_32633_B03_60m),
            $e in (S2_L2A_32633_B02_60m)

 let $sub := [ansi("2019-06-16"), E(332796:380817), N(6029000:6055000)]

 return encode(
           (unsigned char) (
                (
                  {
                    red:   $c[ $sub ];
                        green: $d[ $sub ];
                        blue:  $e[ $sub ]
                  }
                 ) / 10 )
        , "jpeg")    </abstractSyntax>  </query></ProcessCoveragesRequest>

Petascope should handle it without adding "wcsXML" separately, but the WCPS query instead

else {
                kvpParameters.put(KVPSymbols.KEY_REQUEST, new String[] {KVPSymbols.VALUE_REQUEST_WCS_XML});
            }

Change History (2)

comment:1 by Bang Pham Huu, 3 years ago

Description: modified (diff)

comment:2 by Bang Pham Huu, 3 years ago

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