>
>    1. I think I know where you’re going with this one, because I thought
>    I had seen something in my earlier testing but I was unable to confirm it.
>    I’ve now tested with different datasets that are geographically further
>    apart. In short, when I make a request to draw in the centre,
>    approximately, of the raster (specifically the group layer extent) the
>    problem occurs. When I make a request to draw towards the edge of the
>    raster the request is successful and the problem does not occur.
>
> This indicates to me that the "fast path" is indeed having a failure,
which we can report. I agree with Andrea - thanks for the detailed testing.

For a workaround to disable fast-path:

1) Looking in RenderedImageMapOutputFormat.java
<https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/map/RenderedImageMapOutputFormat.java#L350>

        // fast path for pure coverage rendering
        if (DefaultWebMapService.isDirectRasterPathEnabled()
                && mapContent.layers().size() == 1
                && mapContent.getAngle() == 0.0
                && (layout == null || layout.isEmpty())) {

2) DefaultWebMapService
<https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/java/org/geoserver/wms/DefaultWebMapService.java#L215>

    public static boolean isDirectRasterPathEnabled() {
        return !BYPASS_DIRECT;
    }

defined by:

    /** This variable is used to bypass direct raster rendering. */
    private static boolean BYPASS_DIRECT =

Boolean.getBoolean("org.geoserver.render.raster.direct.disable");

So if you can try starting up with
-Dorg.geoserver.render.raster.direct.disable=true it should act as a
workaround.


>    1. I tried looking into setting up an alpha mask (1 bit) vs band (8
>    bit). I couldn’t work out how to do it. If you think it’s a useful test to
>    do still, can you please provide some guidance and I’ll happily do it?
>    You’ll see in the gdalinfo below that the alpha band is 8 bit now.
>
>
Yeah I am not the best at that part either :) There are several ways to
define transparency - I would report the issue as is, and then try each
method to seek a work around or to learn more.

Kind regards,
>
>  James
>

Cheers,
Jody
_______________________________________________
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