Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Right now, I have code that allows the user to indicate on a map, which contains a Network Dataset layer, stops that are needed to create a route. I need to add functionality to the interface that allows the user to also create barriers as well as stops.

The way this is normally done in ArcMap is as follows:

  1. Create the route layer by clicking on Network Analyst and New Route
  2. Make the Network Analyst window visible
  3. Highlight the Restriction layer inside the Line Barriers layer
  4. Click on the button for Create Network Location Tool
  5. Draw the barrier on the map.

I already have implemented the ability to create stops by using ControlsNetworkAnalystCreateLocationToolClass().

My question is, how can I also implement the capability of creating barriers as well as stops into my code?

share|improve this question

1 Answer 1

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.