Hi Xavier,

there is a couple of options with WCS 2.

- you can request another format which is easier to handle by the client, such as PNG (builtin browser support).

- you can send a separate DescibeCoverage request and get an XML structure containing all metadata.

- 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):
    http://.../wcs?REQUEST=GetCoverage & ... &
        FORMAT=image/tiff & MEDIATYPE=multipart/related

HTH,
Peter



On 10/03/2014 09:48 AM, xavier lhomme wrote:
Hi

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.

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.
  Two solutions :
compile GeoTiff with emscripten or rewrite some part of the GeoTiff function in javascript. 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 ?


Best regards

xavier lhomme

--
Dr. Peter Baumann
 - Professor of Computer Science, Jacobs University Bremen
   www.faculty.jacobs-university.de/pbaumann
   mail: p.baum...@jacobs-university.de
   tel: +49-421-200-3178, fax: +49-421-200-493178
 - Executive Director, rasdaman GmbH Bremen (HRB 26793)
   www.rasdaman.com, mail: baum...@rasdaman.com
   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)


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to