<html>
<head>
<!-- Template generated by Exclaimer Signature Manager Exchange Edition on 09:28:56 Tuesday, 16 February 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
.ExternalClass * {
        LINE-HEIGHT: 100%
}
</style><style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} p.ImprintUniqueID
        {margin:0cm 0cm 0pt}
li.ImprintUniqueID
        {margin:0cm 0cm 0pt}
div.ImprintUniqueID
        {margin:0cm 0cm 0pt}
table.ImprintUniqueIDTable
        {margin:0cm 0cm 0pt}
.ExternalClass *
        {line-height:100%}p
        {margin-top:0;
        margin-bottom:0}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p class="ImprintUniqueID"></p>
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I am working on a local OSM WMS service (provided by mapserver). I want to cascade this & use it within other servers/maps. And advice appreciated.<br>
</p>
<p><br>
</p>
<p>I have set up a simple mapfile to do this, but keep getting a "cannot calculate extent" error that I cannot explain or resolve. I think the error is from my service, and not the one being cascaded.
</p>
<p><br>
</p>
<p>The underlying services (in different styles) can be viewed in a browser at:</p>
<div class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43887"><br class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43889">
</div>
<div class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43891"><a rel="nofollow" class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43893" target="_blank" href="http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-michelin.map">http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-michelin.map</a></div>
<div class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43899">and</div>
<div class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43905"><a rel="nofollow" class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43907" target="_blank" href="http://150.242.41.10/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map">http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map</a></div>
<div class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43913">and</div>
<div class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43919"><a href="http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-google.map">http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-google.map</a><br>
<br>
</div>
<div class="yiv0314917642" id="yiv0314917642yui_3_16_0_1_1449615165849_43923" dir="ltr">
<br>
And can be accessed directly at<br>
<br>
<a href="http://150.242.41.10/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map">http://maps.nzoss.org.nz/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map</a><br>
<br>
The mapfile to cascade this is below, could someone please let me know why this fails?<br>
<br>
<br>
</div>
<p>MAP<br>
  NAME "osmnz2"<br>
  EXTENT 12863671 -7350771 21885121 -1422127<br>
  UNITS meters<br>
  SIZE 1000 1000<br>
<br>
  IMAGETYPE PNG24<br>
<br>
  PROJECTION<br>
    "init=epsg:3857"<br>
  END<br>
  WEB<br>
    IMAGEPATH "/ms4w/tmp/ms_tmp/"<br>
    IMAGEURL "/ms_tmp/"<br>
    METADATA<br>
      "wms_enable_request" "*"<br>
      "wms_title" "WMS testing"<br>
      "wms_srs" "EPSG:3857"<br>
<br>
      "ows_keywordlist"    "osm nz"<br>
      "ows_fees"           "none"<br>
      "ows_accessconstraints" "none"<br>
      "ows_contactorganization" "none"<br>
      "ows_contactperson" "for this demo service:none"<br>
      "ows_contactposition" "none"<br>
      "ows_contactvoicetelephone" "none"<br>
      "ows_contactfacsimiletelephone" "none"<br>
      "ows_address" "none"<br>
      "ows_city"    "none"<br>
      "ows_country" "none"<br>
      "ows_role"    "none"<br>
      "ows_contactinstructions" "none"<br>
      "ows_hoursofservice" "whenever"<br>
      "ows_contactelectronicmailaddress" "none"<br>
    END<br>
  END<br>
<br>
  LAYER<br>
        NAME            "osmnz"<br>
        EXTENT 12863671 -7350771 21885121 -1422127<br>
        PROJECTION<br>
          "init=epsg:3857"<br>
        END # end of object "projection"<br>
<br>
        TYPE            RASTER<br>
<br>
        CONNECTION      "http://150.242.41.10/cgi-bin/mapserv?map=/opt/basemaps/osm-google.map"<br>
        CONNECTIONTYPE  WMS<br>
<br>
        STATUS          ON<br>
        DUMP            FALSE<br>
        METADATA<br>
                "wms_name"              "osmnz"<br>
                "wms_format"            "image/jpeg"<br>
                "wms_server_version"    "1.0.0"<br>
                "wms_title"             "osm_nz"<br>
                "wms_srs"               "epsg:3857"<br>
                "wms_extent"            "12863671 -7350771 21885121 -1422127"<br>
                "wms_abstract"          "NZ Open Streetmap service"<br>
                "wms_version"           "1.1.1"<br>
                "queryable"             "false"<br>
        END # end of metadata object<br>
  END # end of layer "osm_nz"<br>
<br>
END # map<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div class="BodyFragment">
<div>Brent Wood<br>
<br>
</div>
</div>
</div>
</div>
<div style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div style="font-family:Times New Roman; color:#000000; font-size:16px"></div>
</div>
</div>
</div>
</div>
<br>
<table class="ImprintUniqueIDTable" style="BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="FONT-SIZE: 18pt; FONT-FAMILY: Arial; COLOR: #333333" valign="top"><font style="font-family:Calibri;font-size:12pt;color:#1F497D;font-weight:normal;">Brent Wood</font></td>
</tr>
<tr height="2">
<td height="1"><font style="font-family:Calibri;font-size:10pt;color:#1F497D;">Principal Technician - GIS and Spatial Data Management</font><br>
<font style="font-family:calibri;font-size:10pt;color:#1F497D;">Programme Leader - Environmental Information Delivery</font></td>
</tr>
</tbody>
</table>
<table class="ImprintUniqueIDTable" style="HEIGHT: 1px; BORDER-COLLAPSE: collapse; WIDTH: 96.43%" height="1" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td><font style="font-family:Calibri;font-size:10pt;color:#1F497D;">+64-4-386-0529</font><font style="font-family:Calibri;font-size:10pt;color:#1F497D;"> |
</font><font style="font-family:Calibri;font-size:10pt;color:#1F497D;">301 Evans Bay Parade, Greta Point, Wellington</font><font style="font-family:Calibri;font-size:10pt;color:#1F497D;text-decoration:none;"> |
</font><span style="font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;"><a href="http://www.niwa.co.nz" title="" target="" style="font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;"><span style="font-family:Calibri; font-size:10pt; color:#0066CC; text-decoration:underline;">www.niwa.co.nz</span></a></span></td>
</tr>
</tbody>
</table>
<table class="ImprintUniqueIDTable" style="BORDER-COLLAPSE: collapse; PADDING-BOTTOM: 5px; PADDING-TOP: 5px" height="76" cellspacing="0" cellpadding="0" width="500" border="0">
<tbody>
<tr>
<td style="WIDTH: 541px" height="66" valign="top" width="475" align="left"><a href="http://www.niwa.co.nz" target=""><img width="538" height="66" style="border: 0px Solid ; " src="cid:imageb315b4.JPG@3cd4fa33.4a912084" alt="NIWA"></a></td>
</tr>
</tbody>
</table>
<table class="ImprintUniqueIDTable" style="HEIGHT: 1px; BORDER-COLLAPSE: collapse; WIDTH: 96.43%" height="1" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td><font color="#1f497d" size="2" face="Calibri">To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service
 may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems.</font></td>
</tr>
</tbody>
</table>
<table class="ImprintUniqueIDTable" style="BORDER-COLLAPSE: collapse" cellspacing="0" cellpadding="0" width="500" border="0">
<tbody>
</tbody>
</table>
<br>
<br>
<br>
<p></p>
</body>
</html>