Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new get_elev_profile() function + minor clean-up/refactor #99

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

elipousson
Copy link

Tests for get_elev_profile() still need to be added.

- Add coords and elev_col arguments to loc_check to support custom coordinate values or elevation column values
- Add loc_length helper
- Also improve support for sfg input objects
- Correct outdated function title
- Add support for custom coords value to `get_elev_raster()`
- Add support to `get_elev_point()` for custom elevation column and elevation units column name
- Add support for custom elevation column value to `get_epqs()` and `get_aws_points()`
- Add support for custom units values beyond meters and feet
- Remove trailing spaces (automatic in RStudio - hope it doesn't clutter the commit too badly!)
- Update docs based on cleaned up whitespace
- Add optional support for markdown formatted Roxygen
Also cleans up whitespace automatically
- Simplify internal logic
- Fix leftover use of ll_geo for crs instead of prj
Function wraps `get_elev_point()` to add support for returning elevation along a profile line
Also fill missing argument definition for loc_check
Fill missing argument definitions for get_elev_point
Also add error message to avoid confusion like USEPA#96 and USEPA#94
Also wrap example in don't run tag
@jhollist
Copy link
Member

Thanks! I commented on #93

@elipousson
Copy link
Author

Thanks! I'll add some new tests and trouble-shoot any other outstanding issues in the next week or two. Even if get_elev_profile() isn't the right fit for this package, I'm hoping some of the other changes may be helpful additions.

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

Successfully merging this pull request may close these issues.

loc_check fails on SpatVector
2 participants