jkibele / pyriv

Python library for analysis of minimum aquatic distance across rivers and coasts. It's like Google Maps for anadromous fish.
MIT License
1 stars 1 forks source link

Look at using distance to coastline instead of buffering #2

Closed jkibele closed 7 years ago

jkibele commented 7 years ago

Right now, I'm finding National Map coastal dead end nodes by buffering the coastline and checking for intersection with all deadends. It might be faster and more straight-forward to find the distance of all deadends to the coastline and just threshold those values. This could prevent potential topology problems with buffering and seems like it could be faster. I'll have to do some testing.

jkibele commented 7 years ago

Yep, this was orders of magnitude faster. It's done in the NationalMap branch and will get merged back in.