<?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: Spatial relationship touches in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331805#M30687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/query_bypoly.html"&gt;Query for polygon and adjacent polygons sample&lt;/A&gt; sounds like it fits your needs. Note the part about the proxy, that trips up a quite a few people.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, thanks! This is what I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was so inattentive that didn't see this example! Try to correct! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2011 11:59:07 GMT</pubDate>
    <dc:creator>DemyanovaElena</dc:creator>
    <dc:date>2011-06-16T11:59:07Z</dc:date>
    <item>
      <title>Spatial relationship touches</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331801#M30683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi! Glad to use this forum! I have a question for experts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I use JScript API ArcGIS Server to get polygons ID that touch to the selected polygon?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your time!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 04:41:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331801#M30683</guid>
      <dc:creator>DemyanovaElena</dc:creator>
      <dc:date>2011-06-15T04:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial relationship touches</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331802#M30684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi! Glad to use this forum! I have a question for experts.&lt;BR /&gt;How can I use JScript API ArcGIS Server to get polygons ID that touch to the selected polygon?&lt;BR /&gt;Thanks a lot for your time!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure exactly what your situation is , there are a couple of ways to achieve your goal throught JS API. GeometryService.relation(relationParameters, callback?, errback?) computes the two sets of geometries that belong to the specified relation, you could specify the relationParams.relation constant to the relationship you would like to compute (SPATIAL_REL_LINETOUCH or specify SPATIAL_REL_RELATION); Or you could do a QueryTask using a spatial filter (esri.tasks.Query.spatialRelationship = esri.tasks.Query.SPATIAL_REL_TOUCHES or specify SPATIAL_REL_RELATION), it find out the feature(s) from one layer (or graphic(s)) touches the border of feature(s) from another layer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 12:23:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331802#M30684</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-06-15T12:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial relationship touches</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331803#M30685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/query_bypoly.html"&gt;Query for polygon and adjacent polygons sample&lt;/A&gt;&lt;SPAN&gt; sounds like it fits your needs. Note the part about the proxy, that trips up a quite a few people.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 14:16:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331803#M30685</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-06-15T14:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial relationship touches</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331804#M30686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Extra info:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you need custom spatial relationship you can use scl in api esri:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://nicogis.blogspot.com/2011/02/scl-da-client.html"&gt;http://nicogis.blogspot.com/2011/02/scl-da-client.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The size of the intersection of G1 and G2 is not nothing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The size of the intersection and G1.interior G2.interior is nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TOUCH G1 G2 is then equivalent to saying that dim (g1.interior, g2.interior) = null and dim (g1, g2)! = Null&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the following examples are equivalent (because the SCL syntax to inherit and CBM): &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;G1 TOUCH G2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;G1 TOUCHES G2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;G1 =* G2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TOUCH (G1,G2) = TRUE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TOUCHES (G1,G2) = TRUE&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for use scl in&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/relationparameters.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/relationparameters.htm&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;use SPATIAL_REL_RELATION&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 07:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331804#M30686</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2011-06-16T07:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Spatial relationship touches</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331805#M30687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/query_bypoly.html"&gt;Query for polygon and adjacent polygons sample&lt;/A&gt; sounds like it fits your needs. Note the part about the proxy, that trips up a quite a few people.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, thanks! This is what I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was so inattentive that didn't see this example! Try to correct! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 11:59:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/spatial-relationship-touches/m-p/331805#M30687</guid>
      <dc:creator>DemyanovaElena</dc:creator>
      <dc:date>2011-06-16T11:59:07Z</dc:date>
    </item>
  </channel>
</rss>

