<?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 Line Cross/Intersect Polygon in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/line-cross-intersect-polygon/m-p/81547#M1859</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a method that I want to trigger only if a drawn line touches/crosses 2 points on a polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried the following using my geometry service&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var params:RelationParameters = new RelationParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.geometries1 = [reshapeLine];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.geometries2 = [feature.geometry];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.spatialRelationship = RelationParameters.SPATIAL_REL_RELATION; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.comparisonString = "g1 CROSS g2";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this.geometryService.relation(params);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the returned results are not showing me whether the line cross/touches the polygon at 2 points or one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I deduce whether the line crosses the polygon at two points?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jun 2012 16:21:50 GMT</pubDate>
    <dc:creator>MichaelHayden</dc:creator>
    <dc:date>2012-06-11T16:21:50Z</dc:date>
    <item>
      <title>Line Cross/Intersect Polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/line-cross-intersect-polygon/m-p/81547#M1859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a method that I want to trigger only if a drawn line touches/crosses 2 points on a polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried the following using my geometry service&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var params:RelationParameters = new RelationParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.geometries1 = [reshapeLine];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.geometries2 = [feature.geometry];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.spatialRelationship = RelationParameters.SPATIAL_REL_RELATION; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;params.comparisonString = "g1 CROSS g2";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this.geometryService.relation(params);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the returned results are not showing me whether the line cross/touches the polygon at 2 points or one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I deduce whether the line crosses the polygon at two points?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2012 16:21:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/line-cross-intersect-polygon/m-p/81547#M1859</guid>
      <dc:creator>MichaelHayden</dc:creator>
      <dc:date>2012-06-11T16:21:50Z</dc:date>
    </item>
  </channel>
</rss>

