<?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 Find Gap between two Continuous One Way street in Road Feature Class in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-gap-between-two-continuous-one-way-street-in/m-p/277852#M7162</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wish to find gap in the continuity of One Way street.I have One Road(Polyline) Feature Class and one way road are represented by one column called ONE Way.If ONE WAY="Y" that means road is one way so i wish to fetch out those polylines that fall between two continuous oneway road and its ONE WAY cloumn has no value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me tell you , what i have done so far.Open the feature class as pfeatureclass and done query on it.Selected those features which are oneway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;prdQf=New Queryfilter&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;prdQf.whereclause="one way="&amp;amp; "YES"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;prfcur=pfeatureclas&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;s.search(prdQf,false)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;proadfeature=prfcur.Nextfeature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do until&amp;nbsp; proadfeature is nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pgeom=proadfeature.shape&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pPolyline=pgeom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pPolyline.QueryToPoint(topt)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;penvelope=topt.Envelope&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;penvelope.Expand(0,0,False)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim sPf as Ispatialfilter=New spatialfilter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sPf.Geometry=pEnvelope&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sPf.GeometryField=pFeatureClass.Shapefieldname&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sPf.Spatialrel=esrispatialRelEnum.esrispatialRelEnvelopeIntersects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pfc3=pfeatureclass.search(sPf,false)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Find all the edges that are intersecting it and one way is blank and then again find all intersected edges and their one way attribute. if one way value exist, that means there is gap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But its not providing the correct error.???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 06:22:49 GMT</pubDate>
    <dc:creator>cynthiasinha</dc:creator>
    <dc:date>2014-01-16T06:22:49Z</dc:date>
    <item>
      <title>Find Gap between two Continuous One Way street in Road Feature Class</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/find-gap-between-two-continuous-one-way-street-in/m-p/277852#M7162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I wish to find gap in the continuity of One Way street.I have One Road(Polyline) Feature Class and one way road are represented by one column called ONE Way.If ONE WAY="Y" that means road is one way so i wish to fetch out those polylines that fall between two continuous oneway road and its ONE WAY cloumn has no value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me tell you , what i have done so far.Open the feature class as pfeatureclass and done query on it.Selected those features which are oneway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;prdQf=New Queryfilter&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;prdQf.whereclause="one way="&amp;amp; "YES"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;prfcur=pfeatureclas&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;s.search(prdQf,false)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;proadfeature=prfcur.Nextfeature&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do until&amp;nbsp; proadfeature is nothing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pgeom=proadfeature.shape&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pPolyline=pgeom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pPolyline.QueryToPoint(topt)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;penvelope=topt.Envelope&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;penvelope.Expand(0,0,False)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dim sPf as Ispatialfilter=New spatialfilter&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sPf.Geometry=pEnvelope&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sPf.GeometryField=pFeatureClass.Shapefieldname&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sPf.Spatialrel=esrispatialRelEnum.esrispatialRelEnvelopeIntersects&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pfc3=pfeatureclass.search(sPf,false)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Find all the edges that are intersecting it and one way is blank and then again find all intersected edges and their one way attribute. if one way value exist, that means there is gap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But its not providing the correct error.???&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 06:22:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/find-gap-between-two-continuous-one-way-street-in/m-p/277852#M7162</guid>
      <dc:creator>cynthiasinha</dc:creator>
      <dc:date>2014-01-16T06:22:49Z</dc:date>
    </item>
  </channel>
</rss>

