<?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 Create Polygon Object from Feature Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53189#M4722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently trying to create a functionality within a Web GIS application that checks to see if a geocoded point is &lt;STRONG&gt;within&lt;/STRONG&gt; a Feature Layer (polygon). I understand that the &lt;STRONG&gt;.contains&lt;/STRONG&gt; method is something that can be utilized using the esri/geometry/Polygon class. Having said that, is there a way to create a Polygon object from a Feature Layer? Assuming that the feature layer is a single polygon with no subdivisions. Any help at all would be greatly appreciated. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2016 20:48:36 GMT</pubDate>
    <dc:creator>deleted-user-gqr_hXrLM2-m</dc:creator>
    <dc:date>2016-11-15T20:48:36Z</dc:date>
    <item>
      <title>Create Polygon Object from Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53189#M4722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently trying to create a functionality within a Web GIS application that checks to see if a geocoded point is &lt;STRONG&gt;within&lt;/STRONG&gt; a Feature Layer (polygon). I understand that the &lt;STRONG&gt;.contains&lt;/STRONG&gt; method is something that can be utilized using the esri/geometry/Polygon class. Having said that, is there a way to create a Polygon object from a Feature Layer? Assuming that the feature layer is a single polygon with no subdivisions. Any help at all would be greatly appreciated. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jacob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 20:48:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53189#M4722</guid>
      <dc:creator>deleted-user-gqr_hXrLM2-m</dc:creator>
      <dc:date>2016-11-15T20:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Polygon Object from Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53190#M4723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be more clear, the operation that I am trying to perform is essentially a 'Point in Polygon' operation. The only thing that I am having trouble with is how I can utilize a map service as the 'Polygon'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 20:49:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53190#M4723</guid>
      <dc:creator>deleted-user-gqr_hXrLM2-m</dc:creator>
      <dc:date>2016-11-15T20:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create Polygon Object from Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53191#M4724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If it is a FeatureLayer Object &amp;nbsp;and only has one feature then you just use FeatureLayer.graphics[0].geometry. You do not even have to have the Map Service as part of the map, if you use a QueryTask to query the map service and return the geometry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 21:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53191#M4724</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-15T21:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create Polygon Object from Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53192#M4725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, great. I will try this. Thanks so much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2016 21:16:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/create-polygon-object-from-feature-layer/m-p/53192#M4725</guid>
      <dc:creator>deleted-user-gqr_hXrLM2-m</dc:creator>
      <dc:date>2016-11-15T21:16:53Z</dc:date>
    </item>
  </channel>
</rss>

