[mapserver-users] scaletoken data or tileindex

Travis Kirstine traviskirstine at gmail.com
Tue Aug 28 06:10:57 PDT 2018


I'm trying to use the scaletoken with a raster layer that is represented by
a combination of full resolution tiles (tileindex) and a stack of merged
lower resolution geotiffs.  Is is possible to use the scaletoken to use a
combination of a TILEINDEX and DATA to call the source data?   From the
error log it appears to expect one or the other (DATA or TILEINDEX)

     LAYER
        NAME spot_z16
        METADATA
            wms_title "Zone 16 Spot"
            wms_extent "275997 5109997 732003 6304003"
        END
        TYPE RASTER
        PROCESSING "RESAMPLE=BILINEAR"
        OFFSITE 0 0 0
        PROJECTION
            "init=epsg:26916"
        END
        SCALETOKEN
            NAME "%pri%"
            VALUES
                "0" "spot_z16_rgb_2km_tindex"
                "100000" "z16_rgb_24m_mosaic"
                "800000" "z16_rgb_192m_mosaic"
            END
        END
        TILEINDEX "/maps/spot_tindex/%pri%"
        DATA "/maps/spot_overalls/%pri%.tif"
    END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20180828/4f919674/attachment.html>


More information about the mapserver-users mailing list