Joseph,<br><br>you add in your CONNECTION tag a capabilitiess request...?? you have to put this for your connection:<a href="goog_1265503917657" target="_blank">http://imsortho.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_Ohio</a> <br>
<br>1)If you have to show county <span id="result_box" class="short_text"><span style="background-color: rgb(255, 255, 255);" title="séparément">separately,</span></span> you have to add one county in one layer... But you can also cascading your request in other WMS to group them in just one layer... (with the GROUP tag)<br>
<br><br>2)In a WMS layers, you sould have at least this in your Metadata tag:<br><br>wms_srs(you need for your service),<br>wms_name(WMS name you call),<br>wms_title(you want show in your service)<br>wms_server_version(usualy 1.1.1)<br>
wms_format(format support by your WMS<span id="result_box" class="short_text"><span style="background-color: rgb(255, 255, 255);" title="fournisseur"> provider</span></span>)<br><br>regards<br>simon mercier<br><br><br><br>
<br><div class="gmail_quote">2010/2/3 Joseph Harwood <span dir="ltr"><<a href="mailto:joe.harwood@gmail.com">joe.harwood@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Greetings,<br><br>I have a 2 part question.<br>The USGS offers aerial imagery WMS service. This URL shows the location:<br><a href="http://seamless.usgs.gov/wms_services.php?layerid=15" target="_blank">http://seamless.usgs.gov/wms_services.php?layerid=15</a><br>
<br> I want to incorporate a WMS service from the USGS that references many layers (in this case, county aerial imagery). The getcapabilites request show the layers in xml:<br>...<br>OH_WoodCounty_1.0ft_Color_Mar_2006<br>
OH_WilliamsCounty_1.0ft_Color_Mar_2006<br>OH_WayneCounty_1.0ft_Color_Mar_2006<br>and so on.<br><br>The online service URL is:<a href="http://imsortho.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_Ohio?REQUEST=capabilities&SERVICE=WMS" target="_blank">http://imsortho.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_Ohio?REQUEST=capabilities&SERVICE=WMS</a><br>
<br>1. Is there a way to populate all these layers into my map with a single request, or do I need to make a mapfile layer object for each county?<br><br>2. If so, In doing this do I need the metadata to spell out each layer's(county) specific metadata? {title, bbox, name, layer, srid}<br>
<br><br>My mapfile currently reads:<br><br>LAYER<br> NAME "OSIP-WMS"<br> TYPE RASTER<br> #TRANSPARENCY 40<br> STATUS OFF<br> #MINSCALEDENOM 6000<br> CONNECTIONTYPE WMS<br> CONNECTION "<a href="http://imsortho.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_Ohio?REQUEST=capabilities&SERVICE=WMS&layers=OH_AllenCounty_1.0ft_Color_Mar_2006" target="_blank">http://imsortho.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_Ohio?REQUEST=capabilities&SERVICE=WMS&layers=OH_AllenCounty_1.0ft_Color_Mar_2006</a>"<br>
<br> METADATA<br> "wms_srs" "EPSG:4326"<br> "wms_title" "OH_AllenCounty_1.0ft_Color_Mar_2006"<br> "wms_name" "OH_AllenCounty_1.0ft_Color_Mar_2006"<br>
"wms_layer" "OH_AllenCounty_1.0ft_Color_Mar_2006"<br> "wms_server_version" "1.1.1"<br> "wms_format" "image/png"<br> #"wms_latlonboundingbox" "-85.000000, 38.000000, -80.250000, 42.000000"<br>
#"wms_opaque" "255,255,255"<br> "basemap" "1"<br> END<br> <br> END<br><br>As I have tried to get a single county to work, but I have had no success, yet.<br>Any haelp would be appreciated.<br>
<br>Thank you<br><br>Joe<br><br><br>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>