Skip to content

Extract building relations #172

@ckittl

Description

@ckittl

/** Convenience method to extract buildings from a list of ways via their tags
*
* @param ways
* the ways to extract from
* @param specificTagValues
* only match values within the Set when given otherwise match all
*/
def extractBuildings(
ways: List[Way],
specificTagValues: Option[Set[String]] = None
): List[ClosedWay] = {
extractClosedWays(ways, KeyUtils.BUILDING, specificTagValues)
}

Buildings can also be modeled as relations (cf. https://www.openstreetmap.org/relation/1401747 or https://www.openstreetmap.org/relation/5490584)

Please add an equivalent method for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions