Skip to content

Commit

Permalink
new URL for epqs
Browse files Browse the repository at this point in the history
  • Loading branch information
jhollist committed Nov 20, 2020
1 parent 364db9c commit a09f8db
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 17 deletions.
3 changes: 2 additions & 1 deletion R/get_elev_point.R
Expand Up @@ -113,7 +113,8 @@ get_elev_point <- function(locations, prj = NULL, src = c("epqs", "aws"), ...){
#' @export
#' @keywords internal
get_epqs <- function(locations, units = c("meters","feet")){
base_url <- "http://ned.usgs.gov/epqs/pqs.php?"

base_url <- "https://nationalmap.gov/epqs/pqs.php?"
if(match.arg(units) == "meters"){
units <- "Meters"
} else if(match.arg(units) == "feet"){
Expand Down
10 changes: 6 additions & 4 deletions cran_comments.md
@@ -1,10 +1,12 @@
## Comments
Fixes incorrect URL in vigenette from initial v 0.2.0 submission per 2018-11-28 email from Uwe Ligges. Additionally, this submission adds some new functionality to the package, fully deprecates the mapzen source, and updates tests. The new functionalities are allowing for clipping of the output DEMs as well as providing an alternative, global, source for point elevations. Additin
Added new elevation data sources available via Open Topography. Includes several bug fixes.

## Test Environments
- Travis-CI, Ubuntu 14.04.5 LTS, R version 3.4.4 (2017-01-27)
- Travis-CI, Ubuntu 14.04.5 LTS, R version 3.5.1 (2017-01-27)
- Travis-CI, Ubuntu 14.04.5 LTS, R Under development (unstable) (2018-11-28 r75712)
- Github Actions, Ubuntu 14.04.5 LTS, R version 3.4.4 (2017-01-27)
- Github Actions, Ubuntu 14.04.5 LTS, R version 3.5.1 (2017-01-27)
- Github Actions, Ubuntu 14.04.5 LTS, R Under development (unstable) (2018-11-28 r75712)
- Github Actions, Microsoft Windows Server 2019
- Github Actions, Mac OS X
- Local, Windows 10, R version 3.5.1 (2018-07-02)

## R CMD check results
Expand Down
6 changes: 3 additions & 3 deletions man/get_elev_point.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions man/get_elev_raster.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a09f8db

Please sign in to comment.