Select to view content in your preferred language

Does travel mode Walking have restriction on distance?

452
2
Jump to solution
05-21-2024 05:35 AM
GKmieliauskas
Esri Regular Contributor

When trying to solve route with travel mode "Walking" sometimes I get error message: "Distance between stops is too large to solve using the walking travel mode". The same routing service from web doesn't throw such error message. Is it native application library restriction? I can't say exactly but restriction distance could be about 50 km.

Environment: .Net8, Esri.ArcGISRuntime.Maui 200.4 

 

0 Kudos
1 Solution

Accepted Solutions
FrankK
by
Occasional Contributor

Yes, this is a limitation in the ArcGIS Runtime. When using walking mode, the total extent of all stops must be less than 50 miles. This limit exists because walking travel mode performs a non-hierarchical solve, which can be computationally intensive. Therefore, the code restricts the extent to reduce the load. We allow this on the server/pro version because they would be running on desktop/server machines with more resources, unlike the ArcGIS Runtime, which may operate on devices with fewer resources, such as phones.

View solution in original post

0 Kudos
2 Replies
FrankK
by
Occasional Contributor

Yes, this is a limitation in the ArcGIS Runtime. When using walking mode, the total extent of all stops must be less than 50 miles. This limit exists because walking travel mode performs a non-hierarchical solve, which can be computationally intensive. Therefore, the code restricts the extent to reduce the load. We allow this on the server/pro version because they would be running on desktop/server machines with more resources, unlike the ArcGIS Runtime, which may operate on devices with fewer resources, such as phones.

0 Kudos
OliverNoah
New Contributor

It looks like the error you're seeing may be due to a restriction in the native application library for the "Walking" travel mode. These modes typically have shorter distance limits, and a 50 km cap seems reasonable for pedestrian routes. The web service might handle longer routes differently, which is why you’re not encountering the same issue there.

As a frequent traveler, I'm always mindful of various rules and restrictions, especially when navigating through different travel tools. I've traveled to countries like Japan, Australia, and the USA, but my best experience was in Hawaii, specifically Kauai Island, where I enjoyed watching the beautiful birds(https://hawaiiislandkauai.com/). Understanding and working around such limitations in apps helps ensure smooth travel, whether it's navigating cities or capturing nature.

To solve your issue, consider breaking down the route into smaller segments or using a different travel mode for the longer parts. If you’re developing the app, it’s also worth checking the library for any configurable limits.

0 Kudos