OsmExtensions

public static class OsmExtensions
Provides a set of extension methods for Osm related types.

Methods

Format

#Example
Format a collection of OSM tags.
public static string Format(
tags,
Tags to format.
operator,
Name/Value operator.
separator
Tag separator.
)
Formatted tags.

Format

#Example
Format a collection of OSM tags.
public static string Format(
tags
Tags to format.
)
Formatted tags.

Format

#Example
Format a collection of OSM tags.
public static string Format(
this OsmTag[]
tags,
Tags to format.
operator,
Name/Value operator.
separator
Tag separator.
)
Formatted tags.

Format

#Example
Format a collection of OSM tags.
public static string Format(
this OsmTag[]
tags
Tags to format.
)
Formatted tags.

HasTagName

#Example
Test a collection of OsmTags to see whether a given name+value is used at least once.
public static bool HasTagName(
tags,
Tags to test.
name,
Name to search for.
value
Value to search for.
)
True if at least one of the tags matches the name.

HasTagName

#Example
Test a collection of OsmTags to see whether a given name is used at least once.
public static bool HasTagName(
tags,
Tags to test.
name
Name to search for.
)
True if at least one of the tags matches the name.