This document is archived and information here might be outdated.  Recommended version.

IRouteMeasureCreator Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IR > IRouteMeasureCreator Interface
ArcGIS Developer Help

IRouteMeasureCreator Interface

Provides access to the route creation properties and methods. Note: the IRouteMeasureCreator interface has been superseded by IRouteMeasureCreator2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The IRouteMeasureCreator interface allows you to create route features at a feature class level. 

Routes can be created from a line feature class in three different ways depending on how the measures are to be set. 

The InputFeatureClass property is used to set the line feature class the routes are to be created from.  The InputRouteIDFieldName property is used to specify the field name from the input feature class from which lines will be aggregated to compose a route. 

If not all of the line features are desired for route creation, the InputFeatureSelection property can be used to specify an ISelectionSet.

See IRouteMeasureCreator2.



Name Description
Read/write property BuildOutputIndex Indicates whether an index is going to be built on the route id field on the output result.
Method CreateUsing2Fields Create routes from polylines using two fields.
Method CreateUsingCoordinatePriority Create routes from using topology.
Method CreateUsingPoints Create routes from polylines using points to assign measures.
Read/write property InputFeatureClass The input features.
Read/write property InputFeatureSelection A selection set of input features.
Read/write property InputRouteIDFieldName The input route identifier field name.

Classes that implement IRouteMeasureCreator

Classes Description
RouteMeasureCreator Basic route creation object.


All of the three methods above require you to pass in an IGeometryDef for the output or resultant feature class.  The output GeometryDef must have HasM set to True. 

The results of CreateUsingTopology, CreateUsing2Fields, CreateUsingPoints is an IEnumBSTR, which is a container for the list of errors encountered during route creation. 

See Also

IRouteMeasureCreator2 Interface