[Geomoose-users] Multiple layer in map file
Colas, Scott
Scott.Colas at ct.gov
Mon Feb 25 08:09:55 PST 2019
Hello,
I am trying to load two different layers based on Zoom level. I am using MINSCALEDENOM and MAXSCALEDENOM. The first layer turns off when the Maxscale is reached however the second layer does not load when Minscalse is reached. Below is my code.
Thank you,
-Scott
MAP
INCLUDE "../../*************.map"
WEB
INCLUDE "../../temp_directory.map"
METADATA
"ows_title" "UCONN 2016 Ortho Imagery"
"ows_srs" "EPSG:3857"
"ows_enable_request" "*"
END
END
PROJECTION
"init=epsg:3857"
END
LAYER
STATUS ON
NAME "Orthouconn"
CONNECTION "http://wms.onterrasystems.com/WMSService.svc/a48a7531547e4367b28a96ab03507fd4/WMSLatLon"
CONNECTIONTYPE WMS
TYPE RASTER
CLASS
MINSCALEDENOM 13001
END
METADATA
"wms_srs" "EPSG:3857"
"wms_name" "OnTerraWMS"
"wms_server_version" "1.1.1"
"wms_format" "image/jpeg"
END
END
LAYER
STATUS ON
NAME "Road"
CONNECTION "http://wms.onterrasystems.com/WMSService.svc/a48a7531547e4367b28a96ab03507fd4/WMSLatLon"
CONNECTIONTYPE WMS
TYPE RASTER
CLASS
MAXSCALEDENOM 13000
END
METADATA
"wms_srs" "EPSG:3857"
"wms_name" "OnTerraWMS"
"wms_server_version" "1.1.1"
"wms_format" "image/jpeg"
"wms_style" "Road"
"wms_connectiontimeout" "60"
END
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190225/0164de2b/attachment.html>
More information about the Geomoose-users
mailing list