<?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: Exporting client side features in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-client-side-features/m-p/1526456#M85475</link>
    <description>&lt;P&gt;For geojson you can query the feature you want to extract, get the graphics and use its properties to extract the geojson.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;let newGraphic = new GraphicsLayer();
newGraphic.listMode = "hide";
theMap.add(newGraphic);

newGraphic.addMany(results.features);
newGraphic.listMode = "hide";

var graphJSON = []
graphJSON.push(newGraphic.graphics.toJSON())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Aug 2024 14:49:30 GMT</pubDate>
    <dc:creator>MatthewDriscoll</dc:creator>
    <dc:date>2024-08-23T14:49:30Z</dc:date>
    <item>
      <title>Exporting client side features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-client-side-features/m-p/1524175#M85414</link>
      <description>&lt;P&gt;Using arcgis js there is a scenario where featurelayer is created with client side features, i want to be able to extract those features for further processing, is it possible to do so?&lt;/P&gt;&lt;P&gt;Note the feature layer is not hosted, and ideally shape file or geojson format would be great.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2024 03:27:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-client-side-features/m-p/1524175#M85414</guid>
      <dc:creator>Aeseir</dc:creator>
      <dc:date>2024-08-20T03:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting client side features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-client-side-features/m-p/1526456#M85475</link>
      <description>&lt;P&gt;For geojson you can query the feature you want to extract, get the graphics and use its properties to extract the geojson.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;let newGraphic = new GraphicsLayer();
newGraphic.listMode = "hide";
theMap.add(newGraphic);

newGraphic.addMany(results.features);
newGraphic.listMode = "hide";

var graphJSON = []
graphJSON.push(newGraphic.graphics.toJSON())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 14:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-client-side-features/m-p/1526456#M85475</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2024-08-23T14:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting client side features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-client-side-features/m-p/1529111#M85519</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/327152"&gt;@MatthewDriscoll&lt;/a&gt;&amp;nbsp;, thanks for sharing.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;toJSON()&lt;/STRONG&gt; doesn't export it to geojson format, it only &lt;EM&gt;converts it to&amp;nbsp;an instance of this class to its &lt;A href="https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm" target="_blank" rel="noopener"&gt;ArcGIS portal JSON&lt;/A&gt; representation &lt;/EM&gt;per documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However in saying that, I ended up building a transformer that takes toJSON and converts them to geoJSON format.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2024 00:24:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/exporting-client-side-features/m-p/1529111#M85519</guid>
      <dc:creator>Aeseir</dc:creator>
      <dc:date>2024-08-29T00:24:06Z</dc:date>
    </item>
  </channel>
</rss>

