Show / Hide Table of Contents

Class RouterDbExtensions

Holds extensions to the router db.

Inheritance
System.Object
RouterDbExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class RouterDbExtensions

Methods

LoadFromShape(RouterDb, IEnumerable<ShapefileDataReader>, String, String, Vehicle[])

Loads routing data from the given shapefiles for the given vehicles.

Declaration
public static void LoadFromShape(this RouterDb routerDb, IEnumerable<ShapefileDataReader> shapefileReaders, string sourceVertexColumn, string targetVertexColumn, params Vehicle[] vehicles)
Parameters
RouterDb routerDb

IEnumerable<ShapefileDataReader> shapefileReaders

System.String sourceVertexColumn

System.String targetVertexColumn

Vehicle[] vehicles

LoadFromShape(RouterDb, IEnumerable<ShapefileDataReader>, Vehicle[])

Loads routing data from the given shapefiles for the given vehicles.

Declaration
public static void LoadFromShape(this RouterDb routerDb, IEnumerable<ShapefileDataReader> shapefileReaders, params Vehicle[] vehicles)
Parameters
RouterDb routerDb

IEnumerable<ShapefileDataReader> shapefileReaders

Vehicle[] vehicles

LoadFromShape(RouterDb, String, String, String, String, Vehicle[])

Loads routing data from the given shapefiles for the given vehicles.

Declaration
public static void LoadFromShape(this RouterDb routerDb, string path, string searchPattern, string sourceVertexColumn, string targetVertexColumn, params Vehicle[] vehicles)
Parameters
RouterDb routerDb

System.String path

System.String searchPattern

System.String sourceVertexColumn

System.String targetVertexColumn

Vehicle[] vehicles

LoadFromShape(RouterDb, String, String, Vehicle[])

Loads routing data from the given shapefiles for the given vehicles.

Declaration
public static void LoadFromShape(this RouterDb routerDb, string path, string searchPattern, params Vehicle[] vehicles)
Parameters
RouterDb routerDb

System.String path

System.String searchPattern

Vehicle[] vehicles

WriteToShape(RouterDb, String, Profile[])

Writes the routerdb to a shapefile.

Declaration
public static void WriteToShape(this RouterDb routerDb, string fileName, params Profile[] profiles)
Parameters
RouterDb routerDb

System.String fileName

Profile[] profiles

Back to top Built by Itinero, MIT licensed.