Select to view content in your preferred language

ServiceArea using Miles instead of Time

834
1
07-21-2016 08:42 AM
by Anonymous User
Not applicable


Looking for working sample/examples of creating serviceArea using distance (Miles) instead of time (Minutes). Is anyone familiar with such an app?

Thanks in advance,

rGibson

0 Kudos
1 Reply
ChenLi2
Deactivated User

hi Russell,

I think you will need to publish your own NA service which could calculate service area based on impedance value as travel distance instead of travel time, for example, the service used in our sample:Service Area - Network/USA ,

you will see there is an Impedance parameter which has value of "minutes", And to adjust it ,for example to "Meters", you can do that from the ArcMap from your layer properties, see the attached screenshot below:

service area.jpg

However, you can use buffer task of JS api to create a buffer zone based on the drive distance.

DriveBuffer | API Reference | ArcGIS API for JavaScript 3.17

CreateBuffers | API Reference | ArcGIS API for JavaScript 3.17

Thanks

Chen

0 Kudos