Thanks Andera,

I will check it out,

Is storing the rasters on a samba server make sense,

I am thinking maybe to use Azure FileShare which is a NFS server with samba
interface



On Thu, Jun 13, 2019 at 9:32 AM Andrea Aime <[email protected]>
wrote:

> On Tue, Jun 11, 2019 at 8:57 AM Guy Doulberg <[email protected]> wrote:
>
>> Hi guys
>>
>> I am working on a POC using Geoserver.
>>
>> I have several COGs (cloud optimized Geotiff) stored on azure blob
>> storage and accessible via HTTP.
>>
>
>> I want to render them in a mosaic store in Geoserver with time granule
>> configured.
>>
>> I already did some steps, but I failed to achieve what I wanted.
>> So I will describe what I did so far, but if there is a different way to
>> achieve my goal that I missed, I will be more than happy to do so.
>>
>> I am using geoserver 2.15  and GDAL 2.4
>>
>
> Only GeoServer 2.16.x supports GDAL 2.4 officially. GeoServer 2.15.x
> should go with 1.9.2, even if there are people that managed
> to make it work with 2.x too (but not officially supported)
>
>
>>
>> 1. I installed the imageI/O-ext
>> 2. I created a VRT file refering for each Geotiff in azure using /vsicurl/
>> 2. I configured the mosaic plugin using these VRT files
>> 3. Each of the vrt files has also mask band
>>
>
>> The outcome of this was, that I could render the mosaic, but the mask is
>> not being respected.
>>
>> Just for tests, I replaced the VRT file with the GeoTiff it is referring
>> to (downloaded to geoserver storage), and I could see the mask is being
>> respected. So maybe imageI/O-ext doesn't respect the mask band of a VRT?
>>
>
> The GDAL readers have no support for masks yet, it's present at the GDAL
> level but not exposed through the Java API
> GeoServer is using yet (via imageio-ext). Support is possible but
> coding/funding is needed to make that work.
>
>
>
>> Since it didn't work I tried to use the footprint configuration, I
>> followed the instructions of footprint and added a file name with the
>> suffix wkt to each of the vrt files.
>>
>> The outcome of this was NullPointerException when rendering the tiles
>> (WMS)
>>
>> Can somone help me understand on which scenario footprint might return
>> NullPointerExceptions?
>>
>
> The NPE happens when no data could be read from the raster, the real issue
> is happening before this trace.
>
> If the masks are internal to the geotiff you might want to try out
> skipping the VRTs and using this (community, thus unsupported) plugin
> to read directly from the remote site (not sure if it will work on Azure
> blobstore, maybe not, but I'll share it for you to try):
>
> https://docs.geoserver.org/latest/en/user/community/s3-geotiff/index.html
>
> Generally speaking, the path you're trying to take needs some development
> to work properly, I'd suggest you get in touch with
> a commercial support provider: http://geoserver.org/support/
>
> Cheers
> Andrea
>
> ==
>
> 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