Show / Hide Table of Contents

Class OsmCoderProfile

A coder profile for OSM.

Inheritance
System.Object
CoderProfile
OsmCoderProfile
Inherited Members
CoderProfile.Profile
CoderProfile.ScoreThreshold
CoderProfile.MaxSearch
CoderProfile.RoutingSettings
CoderProfile.GetAggressiveRoutingSettings(Single)
CoderProfile.MaxSettles
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 class OsmCoderProfile : CoderProfile

Constructors

OsmCoderProfile(Single)

Creates a new coder profile.

Declaration
public OsmCoderProfile(float scoreThreshold = 0.3F)
Parameters
System.Single scoreThreshold

Methods

Extract(IAttributeCollection, out FunctionalRoadClass, out FormOfWay)

Tries to extract fow/frc from the given attributes.

Declaration
public override bool Extract(IAttributeCollection tags, out FunctionalRoadClass frc, out FormOfWay fow)
Parameters
IAttributeCollection tags

FunctionalRoadClass frc

FormOfWay fow

Returns
System.Boolean

Overrides
CoderProfile.Extract(IAttributeCollection, out FunctionalRoadClass, out FormOfWay)

Match(IAttributeCollection, FormOfWay, FunctionalRoadClass)

Tries to match the given attributes to the given fow/frc and returns a score of the match.

Declaration
public override float Match(IAttributeCollection attributes, FormOfWay fow, FunctionalRoadClass frc)
Parameters
IAttributeCollection attributes

FormOfWay fow

FunctionalRoadClass frc

Returns
System.Single

Overrides
CoderProfile.Match(IAttributeCollection, FormOfWay, FunctionalRoadClass)
Back to top Built by Itinero, MIT licensed.