<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Xavier,<br>
<br>
there is a couple of options with WCS 2.<br>
<br>
- you can request another format which is easier to handle by the
client, such as PNG (builtin browser support).<br>
<br>
- you can send a separate DescibeCoverage request and get an XML
structure containing all metadata. <br>
<br>
- you can direct the server (if it supports this - data formats
are at its discretion) to deliver a multipart MIME document (same
mechanism as email + attachment). Its first part will be the
coverage description in XML, the second part the (TIFF or PNG or
...) image.To this end, use this request syntax (presented in
GET/KVP and TIFF, for POST/XML see the protocol binding specs):<br>
<a class="moz-txt-link-freetext" href="http://.../wcs?REQUEST=GetCoverage">http://.../wcs?REQUEST=GetCoverage</a> & ... & <br>
FORMAT=image/tiff & MEDIATYPE=multipart/related<br>
<br>
HTH,<br>
Peter<br>
<br>
<br>
<br>
On 10/03/2014 09:48 AM, xavier lhomme wrote:<br>
</div>
<blockquote
cite="mid:CACqzBMwzyD__G-=UJr89RTS7P=Ae=HFbvyi0fAnNLuUorMgUyQ@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">Hi
<div><br>
</div>
<div> WCS has the ability to return a coverage as a GeoTiff
file. Then if you want to display or process row data from
this file in a Javascript web client, you need to have to
ability to decode the "GeoTiff" part of this file. </div>
<div><br>
</div>
<div> I found a Tiff.js library compiled with Emscripten. I
succeed to display a GeoTiff with this library as a Tiff file.
But I still need to decode the GeoTiff tag and create the
"PCSToImage" / "ImageToPCS" functions.</div>
<div> Two solutions : </div>
<div> compile GeoTiff with emscripten or rewrite some part
of the GeoTiff function in javascript. </div>
<div> </div>
<div>Another solution should be to ask the server to return the
parameter from the image. Is there a way to do this without
sending the full image to the server ? </div>
<div><br>
</div>
<div><br>
</div>
<div>Best regards </div>
<div><br>
</div>
<div>xavier lhomme </div>
<div> </div>
<div> </div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="80">--
Dr. Peter Baumann
- Professor of Computer Science, Jacobs University Bremen
<a class="moz-txt-link-abbreviated" href="http://www.faculty.jacobs-university.de/pbaumann">www.faculty.jacobs-university.de/pbaumann</a>
mail: <a class="moz-txt-link-abbreviated" href="mailto:p.baumann@jacobs-university.de">p.baumann@jacobs-university.de</a>
tel: +49-421-200-3178, fax: +49-421-200-493178
- Executive Director, rasdaman GmbH Bremen (HRB 26793)
<a class="moz-txt-link-abbreviated" href="http://www.rasdaman.com">www.rasdaman.com</a>, mail: <a class="moz-txt-link-abbreviated" href="mailto:baumann@rasdaman.com">baumann@rasdaman.com</a>
tel: 0800-rasdaman, fax: 0800-rasdafax, mobile: +49-173-5837882
"Si forte in alienas manus oberraverit hec peregrina epistola incertis ventis dimissa, sed Deo commendata, precamur ut ei reddatur cui soli destinata, nec preripiat quisquam non sibi parata." (mail disclaimer, AD 1083)
</pre>
</body>
</html>