Skip to content

Allow single point queries with Opendatacube #20

@whisperingpixel

Description

@whisperingpixel

Description

Currently, the intersection of the feature geometries with the pixels are based on the centroids. This is okay and best for Polygons but points are not loaded at all and for lines the centroid points need to be hit like here:

image

  • Why is the feature needed?

Only polygons can be currently used.

There are three situations:

  1. Only Polygons

Use centroid intersection (all_touch = false)

  1. Only Lines and/or only Points

Use touch (all_touch = true)

  1. Polygons and (Lines or Points)
    This is a bit difficult. The perfect solution would be to use centroid intersection for polygons, otherwise touch (e.g. splitting the collection and merging the raster results). However, we need this feature rather soon (for points), therefore the acceptable solution would be to use centroid intersection in this case as well.

Additional context

Metadata

Metadata

Assignees

No one assigned

    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