Hi Andrea,

Thanks for getting back to me.

If you have pointers to links and online resources on how I can writer
Geoserver plug-ins that would enable me to output the desired format, I
would highly appreciate.

Regards
Erick

On Sat, Mar 28, 2020 at 7:57 PM Andrea Aime <[email protected]>
wrote:

> Hi Erick,
> I'm not aware of any common coverage format that would return the result
> as you'd expect it, but
> one could be made up, and an output format created on the fly.
> Output formats are pluggable, meaning one can write a plugin (in Java)
> without having to change the core of GeoServer.
> If you are interested I can try to give you some pointers in the code.
>
> Cheers
> Andrea
>
>
> On Tue, Mar 24, 2020 at 8:15 AM Erick Opiyo <[email protected]> wrote:
>
>> Hi Jukka,
>>
>> I'm using a multiband GeoTiff (GTiff), which I uploaded to Geoserver and
>> interested in getting x,y coordinates, pixel values using WCS.
>>
>> There is an option to retrieve pixel value of specified bands separated
>> by commas, for the rangesubset element. What I'm not sure of, is if it
>> support several bands with text/plain as an output format
>>
>> I expected to get an output like an array, but the element rangesubset
>> always returns a single value for the first band provided and not the rest.
>>
>> Is there another input format, geoserver extension or output format that
>> I should use? I have tried specifying rangesubset several times, but I get
>> an error (shown below) that text/plain output format does support arrays.
>>
>> [image: image.png]
>> Regards
>> Erick
>>
>> On Mon, Mar 23, 2020 at 4:37 PM Rahkonen Jukka (MML) <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> Why not GeoTIFF?  I do not know of any multi-band text format even
>>> extending simple XYZ format like
>>> https://gdal.org/drivers/raster/xyz.html#raster-xyz for more bands
>>> should be simple. Obviously the large size of such files pays so much that
>>> developers have been happy to use more complex but more compact file
>>> formats for storing the data and then use corresponding libraries for
>>> reading the data.
>>>
>>>
>>>
>>> -Jukka Rahkonen-
>>>
>>>
>>>
>>> *Lähettäjä:* Erick Opiyo <[email protected]>
>>> *Lähetetty:* maanantai 23. maaliskuuta 2020 13.37
>>> *Vastaanottaja:* GeoServer Users <[email protected]>
>>> *Aihe:* [Geoserver-users] WCS rangesubset with bands
>>>
>>>
>>>
>>> Hi All,
>>>
>>>
>>>
>>> Following tutorial from Geosolutions
>>>
>>>
>>> https://geoserver.geo-solutions.it/edu/en/wcs/get.html#getting-specific-bands
>>>
>>>
>>>
>>> One should be able to access a subset of data from a multiband GTiff
>>> image using element rangesubset, specifying the bands to be returned,
>>> separated by commas as follows:
>>>
>>>
>>>
>>>
>>> http://localhost:8080/geoserver/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageId=default__rain&subset=Lat(-0.361648)&subset=Long(35.289658)&format=text/plain&rangesubset=Band2,Band3,Band4
>>>
>>>
>>>
>>> I want my output format as text/plain
>>>
>>>
>>>
>>> However, I'm only able to access the first Band2 pixel values provided
>>> by Lat long and not Band3 and Band4. Which output format should I use to
>>> get all the bands value?
>>>
>>>
>>>
>>> Regards
>>>
>>> Erick
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> --
>
> Regards, Andrea Aime == GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
> @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
> Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
> 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
> ------------------------------------------------------- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to