Class RelationTagProcessor
A relation-tag processor that allows adding relation-tags to their member ways.
Inheritance
System.Object
RelationTagProcessor
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public abstract class RelationTagProcessor : ITwoPassProcessor
Constructors
RelationTagProcessor(Boolean)
Creates a new relation tag processor.
Declaration
public RelationTagProcessor(bool processMemberRelations = false)
Parameters
|
System.Boolean
processMemberRelations
|
Properties
OnAfterWayTagsNormalize
Gets or sets the action executed after normalization on the normalized collection and the original collection.
Declaration
public virtual Action<TagsCollectionBase, TagsCollectionBase> OnAfterWayTagsNormalize { get; }
Property Value
|
Action<TagsCollectionBase, TagsCollectionBase>
|
Methods
AddTags(Way, TagsCollectionBase)
Adds relation tags to the given way.
Declaration
public abstract void AddTags(Way way, TagsCollectionBase attributes)
Parameters
|
Way
way
|
|
TagsCollectionBase
attributes
|
FirstPass(Relation)
Executes the first pass for relations.
Declaration
public bool FirstPass(Relation relation)
Parameters
|
Relation
relation
|
Returns
|
System.Boolean
|
FirstPass(Way)
Executes the first pass for ways.
Declaration
public void FirstPass(Way way)
Parameters
|
Way
way
|
IsRelevant(Relation)
Returns true if the given relation is relevant.
Declaration
public abstract bool IsRelevant(Relation relation)
Parameters
|
Relation
relation
|
Returns
|
System.Boolean
|
SecondPass(Node)
Executes the second pass for nodes.
Declaration
public void SecondPass(Node node)
Parameters
|
Node
node
|
SecondPass(Relation)
Executes the second pass for relations.
Declaration
public void SecondPass(Relation relation)
Parameters
|
Relation
relation
|
SecondPass(Way)
Executes the second pass for ways.
Declaration
public void SecondPass(Way way)
Parameters
|
Way
way
|