Berkeley-Data / irrigation_detection

MIT License
2 stars 1 forks source link

Tool to find the nearest available image in a dataset based on the input (lat,lng) #85

Open suryagutta opened 3 years ago

suryagutta commented 3 years ago

It takes latitude, longitude, and dataset name. It should return the nearest available image within that dataset.

taeil commented 3 years ago

@suryatechie I think we can just use euclidean distance to find the closest geo coordinate.

source (x1, y1), target (x2, y2) dist = sqrt ( (x2 - x1)^2 + (y2 - y1)^2 )

suryagutta commented 3 years ago

@taeil . Thank you. Will look into it.