<?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 Querytask With Geometry in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/querytask-with-geometry/m-p/581489#M32888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;I have a map service which is published from a Querylayer (All records with shape field from Oracle).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;These shapes are point geometries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;But I have&amp;nbsp; serious problem. I want to query this layer with a simple polygon geometry which contain the point geometries..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;It is working but it returns points which are in the polygon geometry and also it returns points which are not in the polygon geometry but almost in the envelope of the polygon... I don't understand why. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;In ArcMap I added data from Oracle and created a query layer. From the menu with "Select by location" tool, I am querying points from this querylayer which are within the polygon geometry I have drawn. All results are in the polygon geometry. I mean this tool works fine and correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;But when I publish this querylayer and perform querying with polygon geometry , the extra results come which are not in the poygon geometry but seem in the envelope of polygon geometry.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;Something is wrong or i am missing something. Everything is so simple. querying with querylayers is so fast so please help me with this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;Thank you..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Feb 2015 19:52:30 GMT</pubDate>
    <dc:creator>TubaKumbara</dc:creator>
    <dc:date>2015-02-23T19:52:30Z</dc:date>
    <item>
      <title>Querytask With Geometry</title>
      <link>https://community.esri.com/t5/data-management-questions/querytask-with-geometry/m-p/581489#M32888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;I have a map service which is published from a Querylayer (All records with shape field from Oracle).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;These shapes are point geometries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;But I have&amp;nbsp; serious problem. I want to query this layer with a simple polygon geometry which contain the point geometries..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;It is working but it returns points which are in the polygon geometry and also it returns points which are not in the polygon geometry but almost in the envelope of the polygon... I don't understand why. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;In ArcMap I added data from Oracle and created a query layer. From the menu with "Select by location" tool, I am querying points from this querylayer which are within the polygon geometry I have drawn. All results are in the polygon geometry. I mean this tool works fine and correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;But when I publish this querylayer and perform querying with polygon geometry , the extra results come which are not in the poygon geometry but seem in the envelope of polygon geometry.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;Something is wrong or i am missing something. Everything is so simple. querying with querylayers is so fast so please help me with this problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3a0699;"&gt;Thank you..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 19:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/querytask-with-geometry/m-p/581489#M32888</guid>
      <dc:creator>TubaKumbara</dc:creator>
      <dc:date>2015-02-23T19:52:30Z</dc:date>
    </item>
  </channel>
</rss>

