Ticket #813: runZslice.sh

File runZslice.sh, 2.3 KB (added by Marcus Sen, 10 years ago)
Line 
1#!/bin/sh
2time curl "http://earthserver.bgs.ac.uk/rasdaman/ows?query=for%20data%20in%20(tno_geotop_lithostrat)return%20encode(slice(%20switch%20case%20data%20%3D%200%20return%20struct%20%7Bred%3A%20(char)%200%3B%20green%3A%20(char)%200%3B%20blue%3A%20(char)%200%7D%20case%20data%20%3D%201%20return%20struct%20%7Bred%3A%20(char)%20200%3B%20green%3A%20(char)%20200%3B%20blue%3A%20(char)%20200%7D%20case%20data%20%3D%207%20return%20struct%20%7Bred%3A%20(char)%20255%3B%20green%3A%20(char)%200%3B%20blue%3A%20(char)%200%7D%20case%20data%20%3D%209%20return%20struct%20%7Bred%3A%20(char)%20255%3B%20green%3A%20(char)%20255%3B%20blue%3A%20(char)%20255%7D%20case%20data%20%3D%2014%20return%20struct%20%7Bred%3A%20(char)%20149%3B%20green%3A%20(char)%200%3B%20blue%3A%20(char)%20148%7D%20case%20data%20%3D%2016%20return%20struct%20%7Bred%3A%20(char)%20254%3B%20green%3A%20(char)%20168%3B%20blue%3A%20(char)%200%7D%20case%20data%20%3D%2020%20return%20struct%20%7Bred%3A%20(char)%2023%3B%20green%3A%20(char)%20250%3B%20blue%3A%20(char)%20255%7D%20case%20data%20%3D%2026%20return%20struct%20%7Bred%3A%20(char)%20255%3B%20green%3A%20(char)%20255%3B%20blue%3A%20(char)%200%7D%20case%20data%20%3D%2033%20return%20struct%20%7Bred%3A%20(char)%20255%3B%20green%3A%20(char)%20235%3B%20blue%3A%20(char)%200%7D%20case%20data%20%3D%2034%20return%20struct%20%7Bred%3A%20(char)%20147%3B%20green%3A%20(char)%20112%3B%20blue%3A%20(char)%20219%7D%20case%20data%20%3D%2039%20return%20struct%20%7Bred%3A%20(char)%20176%3B%20green%3A%20(char)%2048%3B%20blue%3A%20(char)%2096%7D%20case%20data%20%3D%2047%20return%20struct%20%7Bred%3A%20(char)%20255%3B%20green%3A%20(char)%20127%3B%20blue%3A%20(char)%2080%7D%20case%20data%20%3D%2048%20return%20struct%20%7Bred%3A%20(char)%20231%3B%20green%3A%20(char)%20142%3B%20blue%3A%20(char)%2079%7D%20case%20data%20%3D%2049%20return%20struct%20%7Bred%3A%20(char)%20178%3B%20green%3A%20(char)%20178%3B%20blue%3A%20(char)%20178%7D%20case%20data%20%3D%2059%20return%20struct%20%7Bred%3A%20(char)%20255%3B%20green%3A%20(char)%20165%3B%20blue%3A%20(char)%200%7D%20case%20data%20%3D%2062%20return%20struct%20%7Bred%3A%20(char)%20107%3B%20green%3A%20(char)%20142%3B%20blue%3A%20(char)%2035%7D%20default%20return%20struct%20%7Bred%3A%20(char)%200%3B%20green%3A%20(char)%200%3B%20blue%3A%20(char)%20255%7D%20%2C%20H(-25))%2C%22png%22%2C%20%22nodata%3D0%2C0%2C0%22%20)&" > file_Zslice.png
3