<?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: Geometry: Polygon to a Point. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514843#M48037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for all the responses. Instead of identifying by the geometry, I opted to just use a QueryTask on the object ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Silly me...I didn't think of that earlier!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Oct 2010 17:47:09 GMT</pubDate>
    <dc:creator>DanielYim</dc:creator>
    <dc:date>2010-10-28T17:47:09Z</dc:date>
    <item>
      <title>Geometry: Polygon to a Point.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514840#M48034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use an IdentifyTask with a given Polygon geometry of a feature. But, as per the API, IdentifyParams' geometry property is most commonly a Point, not a Polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To circumvent this, I have tried using [some Polygon obj].getPoint(0,0); to get a random point, but that is not working, as it results in incorrect identifies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how I can possibly get an "inner point" of a Polygon? I am beginning to suspect that the getPoint function gives me an edge point, which is too ambiguous for my purposes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 20:16:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514840#M48034</guid>
      <dc:creator>DanielYim</dc:creator>
      <dc:date>2010-10-27T20:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry: Polygon to a Point.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514841#M48035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should try to pass in the polygon.&amp;nbsp; I believe the help says that points are &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;most commonly&lt;/SPAN&gt;&lt;SPAN&gt; used, but other geometry types are supported.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 22:29:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514841#M48035</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2010-10-27T22:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry: Polygon to a Point.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514842#M48036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you have the geometry of the returned poly, could you get the extent from that geometry, then use getCenter() to find the center of the extent?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the only problem i see with this... is some times the point will NOT be inside the poly, say if it is a C shaped polygon.... then the 'center' will be outside the bounds of the polygon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 13:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514842#M48036</guid>
      <dc:creator>timgogl</dc:creator>
      <dc:date>2010-10-28T13:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Geometry: Polygon to a Point.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514843#M48037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for all the responses. Instead of identifying by the geometry, I opted to just use a QueryTask on the object ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Silly me...I didn't think of that earlier!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 17:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometry-polygon-to-a-point/m-p/514843#M48037</guid>
      <dc:creator>DanielYim</dc:creator>
      <dc:date>2010-10-28T17:47:09Z</dc:date>
    </item>
  </channel>
</rss>

