Select to view content in your preferred language

Route Widget for 3.2 and 3.3

752
6
05-15-2013 12:34 PM
Sung-JunKim
Emerging Contributor
Hello,
I've downloaded Robert's Route Widget 3.2 and 3.3 and deployed using our own network analysis service, but got an error that says
unable to complete operation...Clear and start again or add another valid stop. I tested both 3.2 and 3.3 and got the same result. Does anybody have any solution to solve or workaround the issue using your own network analysis service?
This is a great widget and needs to be fully utilized. Thanks, Sung-Jun
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
Sung-Jun,

   I developed this widget using esri NAServer and it is only been tested again that server. Is your service public? There are MANY things that you could have configured differently in your NAServer that could cause an issue. I really only garuntee this widget to work with esris service. Also have you tried esris OTB route widget?
0 Kudos
Sung-JunKim
Emerging Contributor
Robert,
I published two network analaysis services if you would like to try to see what causes an error.  These services are from 10.0 server.
1.  Network dataset is based on NAD1983 UTM 17N
http://infoweb01.dhec.sc.gov/ArcGIS/rest/services/Network/NetworkDS_SC_utm17/NAServer/Route
2.  Network dataset based on WGS 1984 GC
http://infoweb01.dhec.sc.gov/ArcGIS/rest/services/Network/NetworkAnalysisSC_GC/NAServer/Route

I will appreciate your help.
Thanks,
Sung-Jun
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sung-Jun,

   Your route services do not support a couple of things that are hard coded into the widget.

restrictionAttributes
Avoid Private Roads
Avoid Ferries

useHierarchy = true;

If you have access to Flash Builder these can easily be changed and then your service works fine in the widget.
0 Kudos
BjornSvensson
Esri Regular Contributor
Also have you tried esris OTB route widget?


Sung-Jun, I'm curious if you tried the Directions widgets?  It seems to work fine with your service...
http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Directions_widget/01m3000000570...
0 Kudos
Sung-JunKim
Emerging Contributor
Sung-Jun,

   Your route services do not support a couple of things that are hard coded into the widget.

restrictionAttributes
Avoid Private Roads
Avoid Ferries

useHierarchy = true;

If you have access to Flash Builder these can easily be changed and then your service works fine in the widget.


Robert,
It works like a charm.  I truly appreciate your help.  I may try ESRI's route widget as well.

Cheers,

Sung-jun
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Sun-Jun,

   Great, gald you got it working.

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote).
Follow these steps as shown in the below graphic:

0 Kudos