Opened 4 weeks ago
WCSClient_Show text output in WCPS console instead of downloading file
|Reported by:||bphamhuu||Owned by:||aelshayeb|
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.