Skip to content

Spherical point-in-polygon predicate (contains/within on Spherical()) #419

Description

@briochemc

area has a Spherical() method, but the relation predicates (contains, within, …) are planar-only. A spherical winding-number point-in-polygon — correct across the antimeridian and at the poles — has no GO equivalent.

Could the predicates gain a Spherical() method? Note #416 (RelateNG DE-9IM engine) is planar (JTS/AdaptivePredicates in the plane), so it does not cover this. Context: an in-review GeoMakie PR (MakieOrg/GeoMakie.jl#381) carries a hand-rolled d3 polygonContains port to work around this — released GeoMakie does not have or need it. Related: #17, #333.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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