Skip to content

Issue with core and perimeter zoning of GeoJSON features with narrow segments #272

@kflemin

Description

@kflemin

when model is made with narrow segments (see attached model), It comes out in OSM like this missing the core zone:

Screenshot 2024-03-22 at 3 11 00 PM

Assuming that the core and perimeter zoning code in the code geojson gem maybe just can't handle a situation when the resulting core isn't a single polygon. Or maybe this is failing for different reason? If there isn't already a test of similar GeoJSON you could add this one.

*Widening the narrow sections of the model fixes the issue.
in 1.osm.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions