[gdal-dev] Geotiff "client side"
Peter Baumann
p.baumann at jacobs-university.de
Fri Oct 3 02:12:13 PDT 2014
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.baumann at jacobs-university.de
tel: +49-421-200-3178, fax: +49-421-200-493178
- Executive Director, rasdaman GmbH Bremen (HRB 26793)
www.rasdaman.com, mail: baumann at 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141003/03a75032/attachment-0001.html>
More information about the gdal-dev
mailing list