Opened 6 months ago

Closed 3 weeks ago

#1496 closed defect (fixed)

WCSClient_Show text output in WCPS console instead of downloading file

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.5
Component: wcsclient Version: development
Keywords: wcsclient Cc: 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 (3)

comment:1 Changed 3 months 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.

comment:2 Changed 4 weeks ago by bphamhuu

  • Cc aelshayeb removed
  • Milestone changed from 9.4 to 9.5

comment:3 Changed 3 weeks ago by bphamhuu

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.