Opened 3 months ago

Last modified 2 weeks ago

#1496 assigned defect

WCSClient_Show text output in WCPS console instead of downloading file

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.4
Component: wcsclient Version: development
Keywords: wcsclient Cc: aelshayeb, dmisev
Complexity: Medium


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/ 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 (1)

comment:1 Changed 2 weeks ago by dmisev

  • Owner changed from aelshayeb to bphamhuu
  • Status changed from new to assigned

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

Note: See TracTickets for help on using tickets.