Show / Hide Table of Contents

Class NodeRestrictionProcessor

An osm-data processor to process node based restrictions.

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

This is here to ensure backwards compat with non-lua based profiles nothing else.

Constructors

NodeRestrictionProcessor(Func<Node, UInt32>, Action<String, List<UInt32>>)

Creates a new restriction processor.

Declaration
public NodeRestrictionProcessor(Func<Node, uint> markCore, Action<string, List<uint>> foundRestriction)
Parameters
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.