<?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 How to extract features within a specific extent from a hosted feature service into a shapefile using the JavaScript API? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-extract-features-within-a-specific-extent/m-p/11009#M1067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In ArcGIS Online, you can export features from a hosted feature service to a zipped shapefile from the service's Overview page:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/312026_Capture.PNG" style="height: 210px;" width="257" /&gt;&lt;/P&gt;&lt;P&gt;In addition, I'd like to clip the features using a user-defined extent.&lt;/P&gt;&lt;P&gt;I'm using the JavaScript API (v. 3.19).&lt;/P&gt;&lt;P&gt;I've seen a number of pieces that seem to have at least some of this functionality, including:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/extractdata-amd.html"&gt;ExtractData dijit&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;the &lt;A href="https://developers.arcgis.com/rest/analysis/api-reference/extract-data.htm"&gt;ArcGIS REST API&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;an &lt;A _jive_internal="true" href="https://community.esri.com/thread/176528#comment-607190"&gt;old SDK sample using a GP service&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, none of these samples put it all together. Is this even possible to do in JavaScript? Do I need to construct calls to the REST API? What's the URL of the GP service that I can use as an AGOL subscriber to perform the extraction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2017 20:42:01 GMT</pubDate>
    <dc:creator>JonathanBailey</dc:creator>
    <dc:date>2017-01-30T20:42:01Z</dc:date>
    <item>
      <title>How to extract features within a specific extent from a hosted feature service into a shapefile using the JavaScript API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-extract-features-within-a-specific-extent/m-p/11009#M1067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;In ArcGIS Online, you can export features from a hosted feature service to a zipped shapefile from the service's Overview page:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/312026_Capture.PNG" style="height: 210px;" width="257" /&gt;&lt;/P&gt;&lt;P&gt;In addition, I'd like to clip the features using a user-defined extent.&lt;/P&gt;&lt;P&gt;I'm using the JavaScript API (v. 3.19).&lt;/P&gt;&lt;P&gt;I've seen a number of pieces that seem to have at least some of this functionality, including:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/extractdata-amd.html"&gt;ExtractData dijit&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;the &lt;A href="https://developers.arcgis.com/rest/analysis/api-reference/extract-data.htm"&gt;ArcGIS REST API&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;an &lt;A _jive_internal="true" href="https://community.esri.com/thread/176528#comment-607190"&gt;old SDK sample using a GP service&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, none of these samples put it all together. Is this even possible to do in JavaScript? Do I need to construct calls to the REST API? What's the URL of the GP service that I can use as an AGOL subscriber to perform the extraction?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 20:42:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-extract-features-within-a-specific-extent/m-p/11009#M1067</guid>
      <dc:creator>JonathanBailey</dc:creator>
      <dc:date>2017-01-30T20:42:01Z</dc:date>
    </item>
  </channel>
</rss>

