<?xml version="1.0" ?>
<!--
  RSS generated by Inquira Information Manager
-->
<rss version="2.0">
<channel>
<title><![CDATA[Hexagon Safety &amp; Infrastructure - Post to topic How to select certain polylines crossing and not crossing polygons?]]></title>
<link>http://support.hexagonsafetyinfrastructure.com/infocenter/index?page=home</link>
<description>Post to topic How to select certain polylines crossing and not crossing polygons?</description>
<language>en</language>
<copyright>Copyright © 2002, 2012, Oracle and/or its affiliates. All rights reserved.</copyright>
<generator>Oracle Knowledge Information Manager</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
 

 
<item>
        <title><![CDATA[How to select certain polylines crossing and not crossing polygons?]]></title>
        <link><![CDATA[http://support.hexagonsafetyinfrastructure.com/infocenter/index?page=forums&topic=50720253059b594ab01489d9043a6003e45&actp=RSS]]></link>
        <description><![CDATA[<p>
	Forgive me if I posted something similar recently but here goes:</p>
<p>
	&nbsp;</p>
<p>
	I have&nbsp;2-3 &nbsp;scenarios dealing with a&nbsp;polyline and polygons.&nbsp;&nbsp; Two of them involve crossing boundaries of polygons, and one of them involves not touching a boundary at all.</p>
<p>
	I have a roads layer and a cities layer (Polygon) layer.&nbsp; ONe key thing to remember is that the Polylines are broken (segmented) at the border of the polygon--they don&#39;t nautrally overlap the boundaries of the polygon.</p>
<p>
	Scenario 1:&nbsp;&nbsp; I need to select all roads in the roads layer that have a common Route ID (COU_JURIS_RTE) and that cross over both boundaries of the Cities layer.&nbsp; There are&nbsp;many variations here but the maint thing is that I need a set&nbsp;where the lines are both outside and inside.&nbsp; I have tried numerous Spatial Queries with various filters&nbsp;but&nbsp;can&#39;t seem to do it all in one&nbsp;query.&nbsp;&nbsp; &nbsp;I thought of trying Spatial Aggregation even with two fields--one for Urban and one for Rural--but how would I be using the same Route ID?</p>
<p>
	Scenario 2:&nbsp; Using the same layers, I need to select roads that either start within a polygon and end outside of it, or start outside and end within it.&nbsp;&nbsp;&nbsp; The main thing is that the road has the same Route ID and has segments that are BOTH urban and rural.&nbsp;&nbsp; An example of the Spatial query would be like this:</p>
<p>
	COU_JURIS_ROUTE = &#39;COU_JURIS%&#39; AND UrbanRural FieldName = &#39;Urban&#39;, &#39;Rural&#39;</p>
<p>
	You would think it wouldn&#39;t be that hard but its been nuts.&nbsp; I have tried as many Spatial Queries as possible but am up against a wall.&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>
	Scenario 3:&nbsp; I need to find all Polylines (roads) that are completely within a polygon--not touching the boundary and not beginning and crossing outside of it.&nbsp;&nbsp;&nbsp; I do a Spatial Query and get most of the polylines not touching the boundary BUT there are segments of roads that go beyond the boundary as well--which I don&#39;t want.&nbsp;&nbsp;&nbsp;&nbsp; Again, I have tried numerous Spatial Queries but I can&#39;t get the proper kind of distinction.</p>
<p>
	I have attached example of the types of roads that I am trying to find.&nbsp;</p>
<p>
	You would think this would be simple enough but it hasn&#39;t been.</p>
<p>
	Thank you,</p>
<p>
	Daniel</p>
]]></description>
        <pubDate>2014-10-08 17:57:02 Etc/GMT</pubDate>
        <guid isPermaLink="true"><![CDATA[http://support.hexagonsafetyinfrastructure.com/infocenter/index?page=forums&topic=50720253059b594ab01489d9043a6003e45&actp=RSS]]></guid>
</item>
</channel>
</rss>
