<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic WMS Layer Bounding Box Issues in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-bounding-box-issues/m-p/710859#M21568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use a wms layer in my flex viewer (see &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sentinel.ga.gov.au/acres/sentinel/wfs_wms.shtml" rel="nofollow" target="_blank"&gt;http://sentinel.ga.gov.au/acres/sentinel/wfs_wms.shtml&lt;/A&gt;&lt;SPAN&gt; for details).&amp;nbsp; The layer supports the spatial reference (WGS84) I am passing, and works properly when requested from arcmap or when you pass it a request as a url string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I include it in a flex viewer, however, the result is returned in completely the wrong location - instead of being located around australia roughly 20-40 deg S, 110-150 deg E, the points are all located at tiny lat longs - 0-0.00036 S and 0.00099 - 0.0014 E.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the request the viewer makes in fiddler, it sends enormous coordinates for the bounding box.&amp;nbsp; There is clearly something strange about the way the flex viewer is interpreting the spatial reference.&amp;nbsp; If I leave the WKID=... item out of the config it tries to pass the esri spatial reference of 102100, which the wms server doesn't understand.&amp;nbsp; When I specify wkid="4283" it sends the massive bounding box values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering if it is in some way related to this issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/84365-Change-Spatial-Reference-in-ArcGIS-Viewer" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/84365-Change-Spatial-Reference-in-ArcGIS-Viewer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My config text for the layer is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer label="Sentinel" type="wms" wkid="4326" visible="true" alpha="1" url="http://sentinel.ga.gov.au/wmsconnector/com.esri.wms.Esrimap" imageFormat="png" visiblelayers="Modis48to72Hours" skipgetcapabilities="true" version="1.1.1"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The request sent by the viewer when I turn on the layer is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;GET /wmsconnector/com.esri.wms.Esrimap?SERVICE=WMS&amp;amp;VERSION=1%2E1%2E1&amp;amp;REQUEST=GetMap&amp;amp;TRANSPARENT=TRUE&amp;amp;LAYERS=Modis48to72Hours&amp;amp;SRS=EPSG%3A4326&amp;amp;WIDTH=1101&amp;amp;FORMAT=image%2Fpng&amp;amp;STYLES=&amp;amp;HEIGHT=590&amp;amp;BBOX=16427846%2E119045615%2C%2D4272829%2E881140223%2C17101103%2E464181416%2C%2D3912047%2E107634209 HTTP/1.1&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2013 05:31:38 GMT</pubDate>
    <dc:creator>BenScott1</dc:creator>
    <dc:date>2013-09-12T05:31:38Z</dc:date>
    <item>
      <title>WMS Layer Bounding Box Issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-bounding-box-issues/m-p/710859#M21568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use a wms layer in my flex viewer (see &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sentinel.ga.gov.au/acres/sentinel/wfs_wms.shtml" rel="nofollow" target="_blank"&gt;http://sentinel.ga.gov.au/acres/sentinel/wfs_wms.shtml&lt;/A&gt;&lt;SPAN&gt; for details).&amp;nbsp; The layer supports the spatial reference (WGS84) I am passing, and works properly when requested from arcmap or when you pass it a request as a url string.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I include it in a flex viewer, however, the result is returned in completely the wrong location - instead of being located around australia roughly 20-40 deg S, 110-150 deg E, the points are all located at tiny lat longs - 0-0.00036 S and 0.00099 - 0.0014 E.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the request the viewer makes in fiddler, it sends enormous coordinates for the bounding box.&amp;nbsp; There is clearly something strange about the way the flex viewer is interpreting the spatial reference.&amp;nbsp; If I leave the WKID=... item out of the config it tries to pass the esri spatial reference of 102100, which the wms server doesn't understand.&amp;nbsp; When I specify wkid="4283" it sends the massive bounding box values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering if it is in some way related to this issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/84365-Change-Spatial-Reference-in-ArcGIS-Viewer" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/threads/84365-Change-Spatial-Reference-in-ArcGIS-Viewer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My config text for the layer is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;layer label="Sentinel" type="wms" wkid="4326" visible="true" alpha="1" url="http://sentinel.ga.gov.au/wmsconnector/com.esri.wms.Esrimap" imageFormat="png" visiblelayers="Modis48to72Hours" skipgetcapabilities="true" version="1.1.1"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The request sent by the viewer when I turn on the layer is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;GET /wmsconnector/com.esri.wms.Esrimap?SERVICE=WMS&amp;amp;VERSION=1%2E1%2E1&amp;amp;REQUEST=GetMap&amp;amp;TRANSPARENT=TRUE&amp;amp;LAYERS=Modis48to72Hours&amp;amp;SRS=EPSG%3A4326&amp;amp;WIDTH=1101&amp;amp;FORMAT=image%2Fpng&amp;amp;STYLES=&amp;amp;HEIGHT=590&amp;amp;BBOX=16427846%2E119045615%2C%2D4272829%2E881140223%2C17101103%2E464181416%2C%2D3912047%2E107634209 HTTP/1.1&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 05:31:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-bounding-box-issues/m-p/710859#M21568</guid>
      <dc:creator>BenScott1</dc:creator>
      <dc:date>2013-09-12T05:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layer Bounding Box Issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-bounding-box-issues/m-p/710860#M21569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ben,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; No it does not have anything to do with that issue. Your issue is you are try to use a layer that does not support WKID 102100 in a map that is using 102100. WMS Layers do not get reprojected by the Viewer on the fly. Thus your WMS layer has to support your maps WKID or you have to set your maps WKID to one that is supported by the WMS layer (This would involve changing Cached basemaps to dynamic as cached layer do not re-project on the fly either). There are several Dozen threads covering WMS layers in the forums that deal with WKID issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 11:57:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-bounding-box-issues/m-p/710860#M21569</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2013-09-12T11:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layer Bounding Box Issues</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-bounding-box-issues/m-p/710861#M21570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Ben,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; No it does not have anything to do with that issue. Your issue is you are try to use a layer that does not support WKID 102100 in a map that is using 102100. WMS Layers do not get reprojected by the Viewer on the fly. Thus your WMS layer has to support your maps WKID or you have to set your maps WKID to one that is supported by the WMS layer (This would involve changing Cached basemaps to dynamic as cached layer do not re-project on the fly either). There are several Dozen threads covering WMS layers in the forums that deal with WKID issues.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I see - I was unaware that wms layers could not be reprojected on the fly and had also not cottoned on to the fact that 102100 was a projected coordinate system (explaining the large bounding box numbers).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the good folks who published the wms service should choose not to include 102100 (or 3857) in their list of supported spatial references is beyond me, seeing that it is used for just about every basemap service available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ben&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 23:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/wms-layer-bounding-box-issues/m-p/710861#M21570</guid>
      <dc:creator>BenScott1</dc:creator>
      <dc:date>2013-09-12T23:11:32Z</dc:date>
    </item>
  </channel>
</rss>

