Uses USGS/MERIT Basin data to visualize the path of a rain droplet to its endpoint.
Updating version in package.json and fixing a dependency that causes deploy build issues
Fixed an issue with path lengths displaying as 0km on very short (one flowline) paths. It was due to an off-by-one error from my own misinterpretation of one of the flowline properties, which gave the length remaining in the path from the end of a flowline, rather than the beginning. This meant that for some short (~5km), single flowline paths, the total length was being interpreted as 0km instead of 5km. In other cases, the total length was off by the length of the first flowline.
This release also adds several river/stopping feature names.
global
branch into main
This incorporates the new MERIT River Runner API for generating global flowpaths (more information here).
Additionally, addresses a whole host of issues associated with expanding globally, given that there were a lot of assumptions made in building the US-only version that do not hold here. A partial list is documented here:
Some features of notes besides geographic expansion:
Note: due to some lingering issues, this version is considered in beta and will not yet be merged into main. It will also exist on a separate URL, here: https://river-runner-global.samlearner.com/, while the original US-only version persists on the original URL, here: https://river-runner.samlearner.com/. Some of these issues will be addressed in the front-end in this repo, others are issues being addressed in the underlying data/API. A few of these issues are notably worse in the global app than in the US-only app, for US flowpaths, which is part of the rationale of maintaining both, for the time being.
A partial list of issues being addressed:
Full Changelog: https://github.com/sdl60660/river-runner/compare/v1.6.2...v2.0.0