Show / Hide Table of Contents

Class RestrictionProcessor

An osm-data processor to process restrictions.

Inheritance
System.Object
RestrictionProcessor
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class RestrictionProcessor : ITwoPassProcessor

Constructors

RestrictionProcessor(IEnumerable<String>, Func<Int64, UInt32>, Func<Node, UInt32>, Action<String, List<UInt32>>)

Creates a new restriction processor.

Declaration
public RestrictionProcessor(IEnumerable<string> vehicleTypes, Func<long, uint> getVertex, Func<Node, uint> markCore, Action<string, List<uint>> foundRestriction)
Parameters
IEnumerable<System.String> vehicleTypes

Func<System.Int64, System.UInt32> getVertex

Func<Node, System.UInt32> markCore

Action<System.String, List<System.UInt32>> foundRestriction

Methods

FirstPass(Relation)

Processes the given relation in the first pass.

Declaration
public bool FirstPass(Relation relation)
Parameters
Relation relation

Returns
System.Boolean

FirstPass(Way)

Processes the given way in the first pass.

Declaration
public void FirstPass(Way way)
Parameters
Way way

SecondPass(Node)

Processes the given node in the second pass.

Declaration
public void SecondPass(Node node)
Parameters
Node node

SecondPass(Relation)

Processes the given relation in the second pass.

Declaration
public void SecondPass(Relation relation)
Parameters
Relation relation

SecondPass(Way)

Processes the given way in the second pass.

Declaration
public void SecondPass(Way way)
Parameters
Way way

Back to top Built by Itinero, MIT licensed.