2

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?

blah238
35.9k8 gold badges97 silver badges204 bronze badges
asked Nov 17, 2011 at 13:37

1 Answer 1

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.