Skip to content

Allow states to have a border attr? #33

@askiefer

Description

@askiefer

Just ran into this case and wondering if it might be useful to others -

It might be handy to add a borders method on the state object that returns a list of states that border the state, e.g. <State:California>.borders (or another more appropriate method name) would return [<State:Nevada>, <State:Oregon>, <State:Arizona>]. For now I'll have to do a geospatial query to find the bordering states but it might be computationally expensive

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions