<?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 How to use Spatial Relationship &amp;quot;Relation&amp;quot; while querying any ArcGIS map server in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-spatial-relationship-quot-relation-quot/m-p/579703#M22328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to query a map service based on a custom relationship "Disjoint". Understand that using spatial relationship "Relation" and shape comparison language we can achieve this. I tried spatial relationship "Relation"&amp;nbsp;&amp;nbsp;with many combinations of shape comparison language but every time the result set remained the same which is not correct. To me it seems to be a bug in ESRI ArcGIS Server.&lt;/P&gt;&lt;P&gt;I am trying with &lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0/query"&gt;&lt;SPAN style="text-decoration: underline;"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0/query&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d; font-size: 11pt;"&gt;Spatial Relationship: &lt;/STRONG&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;"Relation"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d; font-size: 11pt;"&gt;Relation: &lt;/STRONG&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;"G1=!G2" / "FFFFFFFFF" / "TTTTTTTTT" / &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;"G1 DISJOINT G2"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&lt;STRONG&gt;Geometry :&lt;/STRONG&gt; attached in REST_FilterGeometry.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Screen attached. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Please share your insight/experience on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Pankaj Roy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Sep 2016 04:36:03 GMT</pubDate>
    <dc:creator>Pankajroy</dc:creator>
    <dc:date>2016-09-23T04:36:03Z</dc:date>
    <item>
      <title>How to use Spatial Relationship "Relation" while querying any ArcGIS map server</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-spatial-relationship-quot-relation-quot/m-p/579703#M22328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need to query a map service based on a custom relationship "Disjoint". Understand that using spatial relationship "Relation" and shape comparison language we can achieve this. I tried spatial relationship "Relation"&amp;nbsp;&amp;nbsp;with many combinations of shape comparison language but every time the result set remained the same which is not correct. To me it seems to be a bug in ESRI ArcGIS Server.&lt;/P&gt;&lt;P&gt;I am trying with &lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&lt;A href="http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0/query"&gt;&lt;SPAN style="text-decoration: underline;"&gt;http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/0/query&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d; font-size: 11pt;"&gt;Spatial Relationship: &lt;/STRONG&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;"Relation"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #1f497d; font-size: 11pt;"&gt;Relation: &lt;/STRONG&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;"G1=!G2" / "FFFFFFFFF" / "TTTTTTTTT" / &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;"G1 DISJOINT G2"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&lt;STRONG&gt;Geometry :&lt;/STRONG&gt; attached in REST_FilterGeometry.txt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Screen attached. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Please share your insight/experience on this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Pankaj Roy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 04:36:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-use-spatial-relationship-quot-relation-quot/m-p/579703#M22328</guid>
      <dc:creator>Pankajroy</dc:creator>
      <dc:date>2016-09-23T04:36:03Z</dc:date>
    </item>
  </channel>
</rss>

