Select to view content in your preferred language

Directions Widget and closest facility widgets

2170
1
12-02-2013 09:05 AM
deleted-user-yA_w_FC9FKe5
Deactivated User
In order to use these two widgets I think I need to create Network Analysis service like the one below. 

http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/NAServer/Route

The problem is I don't have any clue on how to do this?  I just purchased Network Analyst extension for ArcGIS and also have it as part of my server.   


I have a couple of questions:

1.) What is the simplest way to create a service that will allow me to use the directions widget?
2.) Can you provide me a link or something that shows an easy way to do this.
3.) Do I need to have streetfiles because I currently don't have any of those I don't think.
4.) For the closest to facility can I use my own layer?

Thanks in advance for your help.  I wish they had not taken away the free network analyst service.  Seems like my timing is bad.
Tags (2)
0 Kudos
1 Reply
YueWu1
by Esri Regular Contributor
Esri Regular Contributor
Hello Michael,

I am trying to answer your question one by one:

1. Basically, if you want to use the direction widget there are two ways to this workflow, one is consume the pre-configured ArcGIS Online Network Analysis Services. These services require an ArcGIS Online organization subscription. If you choose to work with this default, you will need to specify a valid username and password for ArcGIS Online. Each successful request to the service incurs service credits which are taken from your subscription. More information regarding this can be found at the Accessing Services topic of the Network Analysis Services documentation.f you do not have an active account to test against, you can test drive this functionality by using an Esri-provided sample route service,http://sampleserver6.arcgisonline.com/arcgis/rest/services/NetworkAnalysis/SanDiego/NAServer/Route.

I found this youtube video about how to creating service areas using network Analyst:http://www.youtube.com/watch?v=10yAQNiDzNU This guy demo a good start to show you how to create a specific study area.

2. The sample of using Direction Widget from esri website: http://resources.arcgis.com/en/help/flex-viewer/live/index.html?config=apps/config-directions.xml

3. You definitely need to have the not only the streetfiles but also other accurate database if you need to create a network analysis by yourself. Those database you can either gather by yourself or google from USGS or us census tiger files.

4. Sure, you can use your own layer as long as the layer published to the ArcGIS Server. About the layer: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p...

Hope those tips help.
Thank you.
0 Kudos