<?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: Spatial Join in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1286240#M81064</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/595823"&gt;@TheGamer&lt;/a&gt;&amp;nbsp;Yes, use the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html" target="_self"&gt;geometryEngine&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 16:46:16 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2023-05-05T16:46:16Z</dc:date>
    <item>
      <title>Spatial Join</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1282027#M80946</link>
      <description>&lt;P&gt;So, I have created a simple tool that converts an address into lat and long coordinates. I was wondering if there is an api which can use coordinates against a feature layer to see which polygon it belongs to using spatial join?&lt;/P&gt;&lt;P&gt;I basically want to map the coordinates to several hosted layers and get the polygon name which it maps to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 20:28:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1282027#M80946</guid>
      <dc:creator>TheGamer</dc:creator>
      <dc:date>2023-04-26T20:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1282130#M80947</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/595823"&gt;@TheGamer&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'd suggest using the coordinates from your tool for the address to perform a spatial query on the feature layer.&amp;nbsp; More information on the Query class can be found here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is also a convenient method to use to create a new query object from a feature layer documented here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#createQuery" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#createQuery&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 21:18:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1282130#M80947</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2023-04-24T21:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1286181#M81063</link>
      <description>&lt;P&gt;Hi, is there a way to check if the graphic contains the centroids of a feature layer?&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:31:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1286181#M81063</guid>
      <dc:creator>TheGamer</dc:creator>
      <dc:date>2023-05-05T15:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1286240#M81064</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/595823"&gt;@TheGamer&lt;/a&gt;&amp;nbsp;Yes, use the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html" target="_self"&gt;geometryEngine&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 16:46:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1286240#M81064</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2023-05-05T16:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1296782#M81309</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/191789"&gt;@BlakeTerhune&lt;/a&gt;&amp;nbsp;I can't find the method, I want to get the ids of the feature layer whose centroids are in the graphic&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 16:57:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1296782#M81309</guid>
      <dc:creator>TheGamer</dc:creator>
      <dc:date>2023-06-07T16:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial Join</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1296871#M81312</link>
      <description>&lt;P&gt;I think the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#contains" target="_self"&gt;contains&lt;/A&gt; method is what you would use. While looping over the features in the feature layer, test contains and then look at the attributes of the current feature and grab the id when you get a true.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 19:38:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-join/m-p/1296871#M81312</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2023-06-07T19:38:14Z</dc:date>
    </item>
  </channel>
</rss>

