OsmSettings

References
public class OsmSettings
Settings class used for converting OpenStreetMap data into Rhino geometry.

Properties

Default

#
Gets the minimal settings.
public static OsmSettings Default { get; }

IncludeEntities

#
Gets or sets all entities that are included.
public OsmEntity IncludeEntities { get; set; }

IncludeLooseNodes

#
Gets or sets whether loose nodes ought to be included in the conversion.
public bool IncludeLooseNodes { get; set; }

IncludeNodesWithoutTags

#
Gets or sets whether loose nodes without tags ought to be included.
public bool IncludeNodesWithoutTags { get; set; }

IncludeWayNodes

#
Gets or sets whether nodes that are part of ways ought to be included in the conversion.
public bool IncludeWayNodes { get; set; }

IncludeWays

#
Gets or sets whether ways ought to be included in the conversion.
public bool IncludeWays { get; set; }

IncludeWaysWithoutTags

#
Gets or sets whether ways without tags ought to be included.
public bool IncludeWaysWithoutTags { get; set; }

Maximal

#
Gets the maximal settings.
public static OsmSettings Maximal { get; }

TagAttachment

#
Gets or sets whether (and how) OSM tags need to be attached.
public OsmTagAttachment TagAttachment { get; set; }

Methods

AddNodeFilter

#
Add a node filter predicate.
public void AddNodeFilter(
predicate
Predicate filter method.
)

AddNodeFilter

#
Add a node filter rule based on wildcard tag matches.
public void AddNodeFilter(
nameFilter,
Match for tag names. If a tag name matches, it will be omitted.
valueFilter
Match for tag values. If a tag value matches, it will be omitted.
)

AddWayFilter

#
Add a way filter predicate.
public void AddWayFilter(
predicate
Predicate filter method.
)

AddWayFilter

#
Add a way filter rule based on wildcard tag matches.
public void AddWayFilter(
nameFilter,
Match for tag names. If a tag name matches, it will be omitted.
valueFilter
Match for tag values. If a tag value matches, it will be omitted.
)

ValidateNode

#
Validates a node to see if it ought to be included.
public bool ValidateNode(
node
Node to test.
)
True if node ought to be included in the output.

ValidateWay

#
Validates a way to see if it ought to be included.
public bool ValidateWay(
way
Way to test.
)
True if way ought to be included in the output.