Jump to content

 
Photo

Centerline and Surface

- - - - -

  • Please log in to reply
1 reply to this topic

#1
hocgis

hocgis

    Contributor

  • Validated Member
  • PipPip
  • 23 posts
  • Vietnam

Hello,

I have the surface of the road and the centerline of it. Now I want to set up a rule: "the centerline must be within the surface". How can i could create topology between them?
I have read all the rule of ArcGIS topology, but I have not found the one suitable for that yet. Could you help me?

Many thanks!

#2
ceicher

ceicher

    Contributor

  • Validated Member
  • PipPip
  • 44 posts
  • Gender:Male
  • Location:Charlottesville, Virginia
  • United States

Hi

I do not think that "Line must be completely within Polygon" is an available topology rule in ArcGIS.

I know that you can use ArcObjects to check for this.

See the Interface.Method IRelationalOperator.Crosses

http://edndoc.esri.c...tor_Crosses.htm

Test each street centerline/polygon pair. If IRelationalOperator.Crosses is True, then the centerline goes outside the polygon.

If this doesn't work, ITopologicalOperator has more functionality.

http://edndoc.esri.c...calOperator.htm

If you decide to do this in ArcObjects, the ESRI Support forums are good place to ask more detailed questions.

http://support.esri.com/

Good luck!

-Cory




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->