I remember running into this before. There were a few different variations
of the problem having to do with InputTransparentColor settings. Ultimately
what worked for me was creating mask bands in all of my geotiffs and using
FootprintBehavior:Transparent, instead of InputTransparentColor (or
OutputTransparentColor), both of which are now blank.


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
[email protected]



On Wed, Mar 7, 2018 at 11:03 AM, Niels Charlier <[email protected]> wrote:

> In the meantime I have found out that the reason that the images do show
> when only one is inside the bbox, is simply that imagemosaic skips the
> mosaicing procedure altogether when there is only one image in the result.
>
> the blank result is produced by the JAI imagemosaic operation itself. it
> has to have something to do with the colours inside the images. the
> transparent background is black, and I have tried specifying that in
> background values and/or transparent input colour, but then I get an
> "unsupported format" error. An error that has been reported several times
> on the users ML when specifying these settings, but without resolution.
>
> I have included two sample images, one for the background and one for the
> foreground. If anyone has any idea what this could be related to or what I
> could try, thanks in advance.
>
> Kind Regards
> Niels
>
>
> On 05-03-18 12:27, Niels Charlier wrote:
>
>> I'm having the strangest issue with imagemosaic.
>>
>> I simplified the use case in order to exclude any factors that could
>> possibly be the cause of the issue, but to no avail.
>>
>> This is what I am left with:
>>
>> * I create an imagemosaic from a directory with two adjacent GEOTIFF
>> images in it. I let imagemosaic do all the configuration and build the
>> catalog.
>>
>> * Whenever I zoom into one of the the two granules with a WMS getMap
>> request, they are displayed perfectly.
>>
>> * Whenever I zoom out to see both granules at once, I get a blank result.
>>
>>
>> Does this sound like anything that has ever happened before? Is this not
>> supposed to work? I'm not sure where to debug at this moment.
>>
>>
>> Kind Regards
>>
>> Niels
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to