<?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 Re: WCS 2.0.1 Not working with ESRI JavaScript 3.33? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/1004096#M70888</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1400"&gt;@WenxueJu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your response. I followed up with your recommendation and further investigation has allowed me to resolve the previous error but led me to another issue.&lt;/P&gt;&lt;P&gt;I no longer get the error. To solve this, I was able to pass through the mediatype parameter as part of the URL (?Mediatype=multipart/related). This returns a multipart response, however although there are no errors to report from the API the image is not rendered on the map.&lt;/P&gt;&lt;P&gt;I am actually not sure why the image does not render as there are no error flags being produced. I am wondering if this may be due to the API not being able to parse the XML properly?&lt;/P&gt;&lt;P&gt;I included an updated html for review.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 20:02:12 GMT</pubDate>
    <dc:creator>PickBounty</dc:creator>
    <dc:date>2020-11-23T20:02:12Z</dc:date>
    <item>
      <title>WCS 2.0.1 Not working with ESRI JavaScript 3.33?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/581617#M54270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #242729; background-color: #ffffff; border: 0px; padding: 0px 16px 0px 0px;"&gt;&lt;DIV class="" data-post-id="64395545" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;I am trying to implement&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/wcslayer-amd.html"&gt; ESRI WCSLayer &lt;/A&gt;Class to work with WCS 2.0.2. This works perfectly with WCS 1.0.0, however, when a using WCS with version 2.0.1, I get an error returned as follows: I am using ESRI Api 3.33.&lt;/DIV&gt;&lt;DIV class="" data-post-id="64395545" style="color: var(--black-200)  !important; border: 0px; font-weight: inherit; font-size: 13px; margin: -2px;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Error: not a valid multipart coverage response&lt;BR /&gt; at WCSLayer.js:189&lt;BR /&gt; at c (3.33:104)&lt;BR /&gt; at e (3.33:104)&lt;BR /&gt; at b.Deferred.resolve.callback (3.33:105)&lt;BR /&gt; at c (3.33:105)&lt;BR /&gt; at e (3.33:104)&lt;BR /&gt; at b.Deferred.resolve.callback (3.33:105)&lt;BR /&gt; at c (3.33:105)&lt;BR /&gt; at e (3.33:104)&lt;BR /&gt; at b.Deferred.resolve.callback (3.33:105) "Error: not a valid multipart coverage response&lt;BR /&gt; at https://js.arcgis.com/3.33/esri/layers/WCSLayer.js:189:109&lt;BR /&gt; at c (https://js.arcgis.com/3.33:104:350)&lt;BR /&gt; at e (https://js.arcgis.com/3.33:104:139)&lt;BR /&gt; at b.Deferred.resolve.callback (https://js.arcgis.com/3.33:105:479)&lt;BR /&gt; at c (https://js.arcgis.com/3.33:105:63)&lt;BR /&gt; at e (https://js.arcgis.com/3.33:104:139)&lt;BR /&gt; at b.Deferred.resolve.callback (https://js.arcgis.com/3.33:105:479)&lt;BR /&gt; at c (https://js.arcgis.com/3.33:105:63)&lt;BR /&gt; at e (https://js.arcgis.com/3.33:104:139)&lt;BR /&gt; at b.Deferred.resolve.callback (https://js.arcgis.com/3.33:105:479)"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I get this not a valid multipart coverage response. I have tired this with multiple WCS endpoints and get the exact same error specifically with WCS version 2.0.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what multipart coverage response it is expecting?&lt;/P&gt;&lt;P&gt;Has anyone had any success using the WCSLayer with WCS 2.0.1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I included my test code to recreate the error.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Oct 2020 22:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/581617#M54270</guid>
      <dc:creator>PickBounty</dc:creator>
      <dc:date>2020-10-17T22:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: WCS 2.0.1 Not working with ESRI JavaScript 3.33?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/1001815#M70821</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/80847"&gt;@PickBounty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for providing the test app for troubleshooting.&lt;/P&gt;&lt;P&gt;The GetCoverage response from server doesn't have a multipart MIME type header/body, it's simply TIFF. This is not supported by the API because a multipart coverage is required per WCS 2.0.1 spec, you may want to check server configuration or seek help from the vendor.&lt;/P&gt;&lt;P&gt;Multipart coverage encoding is a major difference between 1.0.0 and newer 2.0.1 version, here's the spec requirement:&lt;/P&gt;&lt;P&gt;[&lt;SPAN&gt;OGC 09-110r4] requirement 36:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;EM&gt;The contents of the response to a successful GetCoverage request shall be encoded as specif- ied in GMLCOV [OGC 09-146r2] conformance class multipart where ...&lt;/EM&gt;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;SPAN&gt;OGC 09-146r2 requirement 19:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;EM&gt;A coverage encoded in a multipart message shall consist of a multipart MIME document as specified by IETF RFC 2387 &lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Nov 2020 17:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/1001815#M70821</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-16T17:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: WCS 2.0.1 Not working with ESRI JavaScript 3.33?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/1003693#M70873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/80847"&gt;@PickBounty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for providing the test app for troubleshooting.&lt;/P&gt;&lt;P&gt;The GetCoverage response from server doesn't have a multipart MIME type header/body, it's simply TIFF. This is not supported by the API because a multipart coverage is required per WCS 2.0.1 spec, you may want to check server configuration or seek help from the vendor.&lt;/P&gt;&lt;P&gt;Multipart coverage encoding is a major difference between 1.0.0 and newer 2.0.1 version, here's the spec requirement:&lt;/P&gt;&lt;P&gt;[&lt;SPAN&gt;OGC 09-110r4] requirement 36:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;EM&gt;The contents of the response to a successful GetCoverage request shall be encoded as specif- ied in GMLCOV [OGC 09-146r2] conformance class multipart where ...&lt;/EM&gt;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;SPAN&gt;[OGC 09-146r2] requirement 19:&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;EM&gt;A coverage encoded in a multipart message shall consist of a multipart MIME document as specified by IETF RFC 2387&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 21 Nov 2020 01:03:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/1003693#M70873</guid>
      <dc:creator>WenxueJu</dc:creator>
      <dc:date>2020-11-21T01:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: WCS 2.0.1 Not working with ESRI JavaScript 3.33?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/1004096#M70888</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1400"&gt;@WenxueJu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your response. I followed up with your recommendation and further investigation has allowed me to resolve the previous error but led me to another issue.&lt;/P&gt;&lt;P&gt;I no longer get the error. To solve this, I was able to pass through the mediatype parameter as part of the URL (?Mediatype=multipart/related). This returns a multipart response, however although there are no errors to report from the API the image is not rendered on the map.&lt;/P&gt;&lt;P&gt;I am actually not sure why the image does not render as there are no error flags being produced. I am wondering if this may be due to the API not being able to parse the XML properly?&lt;/P&gt;&lt;P&gt;I included an updated html for review.&lt;/P&gt;&lt;P&gt;Any thoughts?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 20:02:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wcs-2-0-1-not-working-with-esri-javascript-3-33/m-p/1004096#M70888</guid>
      <dc:creator>PickBounty</dc:creator>
      <dc:date>2020-11-23T20:02:12Z</dc:date>
    </item>
  </channel>
</rss>

