HOW TO

Get the extent of a route

Last Published: April 25, 2020

Summary

There are two ways to get the extent of a route, one with a map and one without.

Procedure



  • With a map:

    FindRoute with RouteFinderOptions.returnMap = True
    RouteInfo returns mapImageInfo, which will have an envelope object.
  • Without a map:

    GetRoute with RouteFinderOptions.returnDirection = True ;
    and RouteFinderOptions.RouteOptions.returnGeometry = true ;
    RouteInfo will return segDescription and totalDescription.
    segDescription has an envelope for each segment, and totalDescription has an envelope for the total direction.

Article ID:000005981

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic