<?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 Query by Geometry in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-by-geometry/m-p/182722#M1699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am setting up the query geometry as&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AGSQuery = [AGSQuery query]; query.geometry = graphic.geometry; query.returnGeometry = TRUE; query.spatialRelationship = AGSGeometryRelationIntersection&amp;nbsp; [queryTask executeWithQuery:query]; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I draw a line, query is done by line envelop. Is it possible to query by exact shape?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 15:52:01 GMT</pubDate>
    <dc:creator>VIKRANTKRISHNA</dc:creator>
    <dc:date>2013-02-06T15:52:01Z</dc:date>
    <item>
      <title>Query by Geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-by-geometry/m-p/182722#M1699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am setting up the query geometry as&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AGSQuery = [AGSQuery query]; query.geometry = graphic.geometry; query.returnGeometry = TRUE; query.spatialRelationship = AGSGeometryRelationIntersection&amp;nbsp; [queryTask executeWithQuery:query]; &lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I draw a line, query is done by line envelop. Is it possible to query by exact shape?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 15:52:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-by-geometry/m-p/182722#M1699</guid>
      <dc:creator>VIKRANTKRISHNA</dc:creator>
      <dc:date>2013-02-06T15:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Query by Geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-by-geometry/m-p/182723#M1700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am setting up the query geometry as&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;AGSQuery = [AGSQuery query]; query.geometry = graphic.geometry; query.returnGeometry = TRUE; query.spatialRelationship = AGSGeometryRelationIntersection&amp;nbsp; [queryTask executeWithQuery:query]; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I draw a line, query is done by line envelop. Is it possible to query by exact shape?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you are using the wrong typedef. &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSGeometryRelationIntersection&lt;/SPAN&gt;&lt;SPAN&gt; is enumerated in the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSGeometryParameters&lt;/SPAN&gt;&lt;SPAN&gt; typedef. The &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;spatialRelationship&lt;/SPAN&gt;&lt;SPAN&gt; property of &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSQuery&lt;/SPAN&gt;&lt;SPAN&gt; uses the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSSpatialRelationship&lt;/SPAN&gt;&lt;SPAN&gt; typepef. If &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSGeometryRelationIntersection&lt;/SPAN&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;AGSSpatialRelationship&lt;/SPAN&gt;&lt;SPAN&gt; are keyed to different integers, which is likely, you are not performing the query you think you are performing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 18:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-by-geometry/m-p/182723#M1700</guid>
      <dc:creator>DanaMaher</dc:creator>
      <dc:date>2013-02-06T18:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Query by Geometry</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-by-geometry/m-p/182724#M1701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, that was it. Thanks!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 19:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/query-by-geometry/m-p/182724#M1701</guid>
      <dc:creator>VIKRANTKRISHNA</dc:creator>
      <dc:date>2013-02-06T19:12:01Z</dc:date>
    </item>
  </channel>
</rss>

