[mapserver-users] Masking POINT layers with CONNECTIONTYPE UVRASTER

Jorrit Goddijn Jorrit.Goddijn at meteogroup.com
Fri Jun 20 02:05:48 PDT 2014


Hi all,

We're still having issues with the MASK attribute in combination with layers with CONNECTIONTYPE set to UVRASTER, so I thought of bringing this under the attention again.

The layer draws fine without the MASK. But when I use the MASK attribute, I get a NO DATA RECEIVED error, and no image is drawn.

Does anybody have a workaround for this?

Thank you,

Jorrit

    LAYER
        NAME "current_grid"
        TYPE POINT
        CONNECTIONTYPE uvraster
        STATUS OFF
        MASK "water_outline" #yields NO DATA RECEIVED error

        DATA "path/to/grib2/file"
        PROCESSING "BANDS=1,2"
        CLASS
            STYLE
                SYMBOL "arrow"
                ANGLE [uv_angle]
                SIZE 10
                COLOR 0 255 0
            END # style
        END # class

        PROJECTION
          "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +pm=-360"
        END
        METADATA
            "wms_title"    "the current arrow grid"
            "wms_srs"      "epsg:4326 epsg:54004"
        END
    END # layer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140620/a81a2046/attachment.htm>


More information about the MapServer-users mailing list