[Geomoose-users] Multiple layer in map file
Colas, Scott
Scott.Colas at ct.gov
Mon Feb 25 08:34:37 PST 2019
map-source:
<map-source name="uconnOrtho2016Bing" type="mapserver" opacity=".5">
<file>./ct/wms/uconnOrtho2016Bing.map</file>
<layer name="layer1" />
<layer name="layer2"/>
</map-source>
Catalog:
<layer title="Uconn Bing" src="uconnOrtho2016Bing/layer1" legend="false" show-legend="true" fade="true" unfade="true" />
-Scott
From: Dan Little [mailto:theduckylittle at gmail.com]
Sent: Monday, February 25, 2019 11:30 AM
To: Colas, Scott
Cc: geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] Multiple layer in map file
Hey Scott,
What does your Mapbook map-source for this layer look like?
Thanks!
On Mon, Feb 25, 2019 at 10:19 AM Colas, Scott <Scott.Colas at ct.gov<mailto:Scott.Colas at ct.gov>> wrote:
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
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.osgeo.org<mailto:Geomoose-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20190225/3b27c15e/attachment-0001.html>
More information about the Geomoose-users
mailing list