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

Create function to calculate distance to nearest navigable waterway lines #33

Open
aweinert-MIT opened this issue Sep 23, 2020 · 0 comments

Comments

@aweinert-MIT
Copy link
Member

aweinert-MIT commented Sep 23, 2020

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

  • 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 navigable waterway lines. It is unknown if the waterway lines 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 navigable waterway line, UUID of nearest navigable waterway line

setup.sh will needed to be updated to download USDOT: navigable waterway lines. A default data directory titled /data/USDOT-NavigableWaterwayLines should be created to store the data.

This issue is a precursor to creating a function that considers all waterways, which will be much more computational expensive. The USDOT dataset has only 6,873 records. Many of these traverse the ocean and can likely be filtered out too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant