Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Create function to calculate distance to nearest lake #40

@aweinert-MIT

Description

@aweinert-MIT

Create a python 3.x function to calculate the distance between a set of images and lakes.

  • Inputs either a N X 1 imagery UUID or an image itself
  • Calculate the distance, in units meters, between the latitude, longitude metadata of the image and all nearby lakes. If the image was taken over a lake, the distance should be set to zero.
    • It is recommended to first do a polygon check to determine if over a lake, and then calculate distance if needed.
    • Ensure that the lake boundaries have consistent and uniform spacing between points. If they do not, the lines may need to be interpolated to have consistent spacing between points.
  • Output a N X 4 column of UUID, image latitude, image longitude, distance to nearest lakes, UUID of nearest lake

setup.sh will needed to be updated to download the lake dataset. The Global Self-consistent, Hierarchical, High-resolution Geography Database (GSHHG) is a potential lake dataset

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    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