<?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: Download Rasters Clip Geometry input Rings in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/download-rasters-clip-geometry-input-rings/m-p/1009932#M71116</link>
    <description>&lt;P&gt;Wow, this is exactly what I was looking for.&amp;nbsp; &amp;nbsp;That JSON.stringify part gave me what I needed, the rings in a format I can use in the Imagery Download tool:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GisAdminCOG_0-1608068157887.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2293i782BD7EB0C0C0E25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GisAdminCOG_0-1608068157887.png" alt="GisAdminCOG_0-1608068157887.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 21:37:09 GMT</pubDate>
    <dc:creator>GisAdminCOG</dc:creator>
    <dc:date>2020-12-15T21:37:09Z</dc:date>
    <item>
      <title>Download Rasters Clip Geometry input Rings</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/download-rasters-clip-geometry-input-rings/m-p/1009438#M71107</link>
      <description>&lt;P&gt;I am developing an app that allows users to define a polygon and download rasters from a MOSIAC imagery layer.&amp;nbsp; The option for "Clip Geometry" requires input using RINGS.&amp;nbsp; I have a polygon and can obtain the rings but how can i get it into the format required such as...&lt;/P&gt;&lt;P&gt;{"rings" : [[[-12509684.957104227,3973706.8078114213],[-12508328.199852167,3973553.933754851],[-12508538.401679952,3972866.0005002855],[-12509761.394132512,3972846.8912432143],[-12509684.957104227,3973706.8078114213]]]}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i use polygon.rings I just get a series of XY pairs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 20:35:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/download-rasters-clip-geometry-input-rings/m-p/1009438#M71107</guid>
      <dc:creator>GisAdminCOG</dc:creator>
      <dc:date>2020-12-14T20:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Download Rasters Clip Geometry input Rings</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/download-rasters-clip-geometry-input-rings/m-p/1009820#M71114</link>
      <description>&lt;P&gt;Hard to tell without a codepen/jsbin/other, but you could try looking at the json representation of the geometry:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const polygonJSON = polygon.toJSON();
console.info('Polygon as JSON:', polygonJSON);

// if sending as REST parameter //
'paramName': JSON.stringify(polygon.toJSON())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 17:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/download-rasters-clip-geometry-input-rings/m-p/1009820#M71114</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2020-12-15T17:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Download Rasters Clip Geometry input Rings</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/download-rasters-clip-geometry-input-rings/m-p/1009932#M71116</link>
      <description>&lt;P&gt;Wow, this is exactly what I was looking for.&amp;nbsp; &amp;nbsp;That JSON.stringify part gave me what I needed, the rings in a format I can use in the Imagery Download tool:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GisAdminCOG_0-1608068157887.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2293i782BD7EB0C0C0E25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GisAdminCOG_0-1608068157887.png" alt="GisAdminCOG_0-1608068157887.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 21:37:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/download-rasters-clip-geometry-input-rings/m-p/1009932#M71116</guid>
      <dc:creator>GisAdminCOG</dc:creator>
      <dc:date>2020-12-15T21:37:09Z</dc:date>
    </item>
  </channel>
</rss>

