<?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: Error using GeometryService's Relation: specified geometry is  in the correct for in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710555#M15807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the clue. It works. Good job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2012 17:32:08 GMT</pubDate>
    <dc:creator>xiannianchen</dc:creator>
    <dc:date>2012-11-05T17:32:08Z</dc:date>
    <item>
      <title>Error using GeometryService's Relation: specified geometry is  in the correct format.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710552#M15804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use the build-in geometry service to do a spatial relation with two graphics.The situation is like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have temporary point graphics on a graphics layer. I want to draw another polygon to select some of those point graphics. Because the point graphics and the polygon I drew are on a graphics layer and not a layer from a map service, I decided to (or have to) use the GeometryService's Relation method do accomplish this task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The three key parameters for RELATION method: geometries1 is set to the geometry array of the point graphics, geometries2 is set to the geometry of the polygon, and the spatialRelationship has no any trick. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, I always got the error msg stating that: Unable to complete Relation operation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The fault detail is: The specified geometry is not in the correct format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am basically following the ESRI sample: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/EN/webapi/flex/samples/index.html#/Determine_Spatial_Relationships/01nq0000003r000000/" rel="nofollow" target="_blank"&gt;Determine Spatial Relationships&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found one thing different between my case and the sample: in the sample, the geometry of parameter of geometries2 has extent. But in my case, for the same parameter, for the polygon I drew, the geometry has no extent (or extent is valued as NULL).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 15:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710552#M15804</guid>
      <dc:creator>xiannianchen</dc:creator>
      <dc:date>2012-10-25T15:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService's Relation: specified geometry is  in the correct for</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710553#M15805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I am not seeing where you need to (or can at all) use a geometry service for this. When you get your polygon geometry then you just use polygon.contains (see documentation here):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/geometry/Polygon.html" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/geometry/Polygon.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 15:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710553#M15805</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-10-25T15:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService's Relation: specified geometry is  in the correct for</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710554#M15806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the response and the other way to work around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will try on it, and will let you know whether it works or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Mike,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I am not seeing where you need to (or can at all) use a geometry service for this. When you get your polygon geometry then you just use polygon.contains (see documentation here):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/geometry/Polygon.html"&gt;http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/geometry/Polygon.html&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 01:57:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710554#M15806</guid>
      <dc:creator>xiannianchen</dc:creator>
      <dc:date>2012-10-26T01:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error using GeometryService's Relation: specified geometry is  in the correct for</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710555#M15807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the clue. It works. Good job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 17:32:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-using-geometryservice-s-relation-specified/m-p/710555#M15807</guid>
      <dc:creator>xiannianchen</dc:creator>
      <dc:date>2012-11-05T17:32:08Z</dc:date>
    </item>
  </channel>
</rss>

