2

I am creating several routes, these routes represent the public transportation network of a city. Now I want to calculate the best combination to go from a point A to a point B using those routes.

Right now I am working with ArcGIS API for JavaScript 3.22, but I am open to use there others SDK from Arcgis.

I'm checking the docs, and the samples, but I have no clue about how to implement this. I am trying to use the RouteTask, but it looks like I'll need to use another component.

whyzar
12.1k23 gold badges41 silver badges72 bronze badges
asked Oct 11, 2017 at 14:27
3
  • Do you have a subscription based service available through ArcGIS Online? Commented Oct 11, 2017 at 14:34
  • @whyzar I am using the free subscription, I am participating in a contest, so right now I have no money to spend :-) Commented Oct 11, 2017 at 14:37
  • I understand, it appears as I provided in the my answer that to use that feature a subscription is required. Commented Oct 11, 2017 at 14:38

1 Answer 1

1

In terms of ArcGIS SDKs, you are working with one that is robust with functionality. However, for your task it requires the following:

Directions widget

Class: Directions

The Directions widget uses the World Network Analysis as the default service used to calculate driving directions. This is a subscription based service available through ArcGIS Online. If you have an ArcGIS Server Network Analysis service that you want to use to calculate directions specify the url to the service using the Directions widget routeTaskUrl constructor parameter.

As such, you are tied to the subscription to access this feature. You could look into the World Network Analysis as an option

answered Oct 11, 2017 at 14:33
1
  • I am know the widget, but I don't want to use it. So I gonna try World Network Analysis. Thanks Commented Oct 11, 2017 at 14:41

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.