Skip to content

Renders sometimes include building parts from nearby buildings #42

@jmapb

Description

@jmapb

When rendering a building way, all elements that intersect the way's bounding box are fetched from the OSM API. This can include elements outside of the building perimeter -- including building parts of nearby buildings, which are added to the parts list and rendered.

Example: 278078955 as currently rendered at https://beakerboy.github.io/OSMBuilding/index.html?info&id=278078955 also shows building parts 369862691 and 369862692 from building 369862694 to the north. Note that it doesn't add the entire extra building -- the northernmost part 369862690 is entirely outside of building 278078955's bounding box, so is not fetched.

way 278078955

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions