Opened 8 years ago

Closed 7 years ago

#1496 closed defect (fixed)

WCSClient_Show text output in WCPS console instead of downloading file

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.5
Component: wcsclient Version: development
Keywords: wcsclient Cc: Dimitar Misev
Complexity: Medium

Description

First, you need to install Rasdaman correctly which also could run a Java application named Petascope in Tomcat, then you can see WCS-client in http://localhost:8080/rasdaman/ows (a user GUI with HTML, Javascript (Angular JS) which was built with TypeScript).

You can find this application from rasdaman/applications/wcs-client, read the README.txt in this folder to get some ideas.

Run the script in systemtest/testcases_services/test_all_wcst_import/test.sh to import some coverages to rasdaman then you can run the below WCPS queries.

After that go to the address above, change to the tab "ProcessCoverages" of WCS-Client, and paste this query in the console below (a textbox). This query does not have any encoding format (i.e: csv, json, png, tiff) but it stills download the file instead of showing in the output console.

for c in (test_mr) return imageCrsDomain(c, i)

and click on the button "Execute" besides, now, it will download a text file instead of showing the output to the console above.

Some query with specified encoding for text output (csv, json) like this will show data in the console.

for c in (test_mr) return encode(c[i(0), j(0)], "csv")

So the ticket need to be fixed to any query (WCPS) which does not have encoding format will return the output to console.

Change History (3)

comment:1 by Dimitar Misev, 8 years ago

Owner: changed from Ahmed Elshayeb to Bang Pham Huu
Status: newassigned

@Bang: this needs to be reassigned to someone else I guess.

comment:2 by Bang Pham Huu, 7 years ago

Cc: Ahmed Elshayeb removed
Milestone: 9.49.5

comment:3 by Bang Pham Huu, 7 years ago

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