• Stars
    star
    202
  • Rank 193,691 (Top 4 %)
  • Language
    R
  • License
    Other
  • Created over 8 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An R package for accessing elevation data

R build status CRAN RStudio mirror downloads Codecov test coverage DOI

elevatr

An R package for accessing elevation data from various sources

The elevatr package currently provides access to elevation data from AWS Open Data Terrain Tiles and the Open Topography Global datasets API for raster digital elevation models. For point elevation data,the USGS Elevation Point Query Service) may be used or the point elevations may be derived from the AWS Tiles. Additional elevation data sources may be added as they come available.

Currently this package includes just two primary functions to access elevation web services:

  • get_elev_point(): Get point elevations using the USGS Elevation Point Query Service (for the US Only) or using the AWS Terrain Tiles (global). This will accept a data frame of x (long) and y (lat), a Simple Features object, or terra SpatRaster as input. A Simple Features object is returned of the point locations and elevations.
  • get_elev_raster(): Get elevation data as a raster (e.g. a Digital Elevation Model) from the AWS Open Data Terrain Tiles or Open Topography Global datasets. Other sources may be added later. This will accept a data frame of of x (long) and y (lat) or any sf or terra SpatRaster object as input and will return a terra SpatRaster object of the elevation. The extent of the SpatRaster is the full tiles that cover the bounding box of the input spatial data, but may be clipped to the shape or bounding box of the input locations.

Installation

Version 0.4.5 of this package is currently available from CRAN and may be installed by:

install.packages("elevatr")

NOTE: As of 2023-06-16, the CRAN version is the older version that does not support terra.

The development version (this repo) may installed with devtools:

library(devtools)
install_github("jhollist/elevatr")

NOTE: As of 2023-06-16, the development version on GitHub, 1.0.0.9999, is the latest version and supports sf and terra. Support for sp and raster has been deprecated.

Contributions and Use Cases

As elevatr is getting more widely used, there have been some great contributions, use cases, and additional packages that have come from the user community. If you have one you’d like to share, let me know and I will gladly add it. Here are some of the ones that I have seen. Thank you all!

Attribution

Mapzen terrain tiles (which supply the AWS source) contain 3DEP, SRTM, and GMTED2010 content courtesy of the U.S. Geological Survey and ETOPO1 content courtesy of U.S. National Oceanic and Atmospheric Administration. The Open Topography API provide access to the SRTM and the ALOS World 3D datasets. See https://opentopography.org/ for details.

Repositories

The source code for this repository is maintained at https://github.com/jhollist/elevatr which is also mirrored at https://github.com/usepa/elevatr

EPA Disclaimer

The United States Environmental Protection Agency (EPA) GitHub project code is provided on an “as is” basis and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer has responsibility to protect the integrity , confidentiality, or availability of the information. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or the United States Government.

More Repositories

1

WNTR

An EPANET compatible python package to simulate and analyze water distribution networks under disaster scenarios.
Python
312
star
2

CMAQ

Code for U.S. EPA’s Community Multiscale Air Quality Model (CMAQ) which helps in conducting air quality model simulations
Fortran
258
star
3

Stormwater-Management-Model

Dynamic hydrology-hydraulic water quality simulation model
C
231
star
4

EPANET2.2

Perform extended-period simulation of the hydraulic and water quality behavior within drinking water distribution systems
Pascal
146
star
5

SWMM-EPANET_User_Interface

User interface for the Stormwater-Management-Model
Python
111
star
6

epanet-solver

Perform extended-period simulation of the hydraulic and water quality behavior within drinking water distribution systems
C
63
star
7

EPA_MOVES_Model

Estimating emissions for mobile sources
Java
57
star
8

StreamCat

Landscape summaries of natural and anthropogenic landscape features for ~2.65 million streams, and their associated catchments, within the conterminous USA
Python
50
star
9

haztrak

An open-source web app that illustrates how waste management software can interface with RCRAInfo to track hazardous waste electronically
Python
47
star
10

EPATADA

This R package can be used to compile and evaluate Water Quality Portal (WQP) data for samples collected from surface water monitoring sites on streams and lakes. It can be used to create applications that support water quality programs and help states, tribes, and other stakeholders efficiently analyze the data.
R
40
star
11

camd-eia-crosswalk

A data crosswalk to integrate U.S. power sector emission and operation data from EPA to EIA
38
star
12

Public_Web_AppBuilder

OEI - EPA_Public_Esri_Web_AppBuilder
JavaScript
36
star
13

fedelemflowlist

Python
34
star
14

useeior

Estimating potential environmental impacts of goods and services in the US economy
R
31
star
15

LakeTrophicModelling

Applying data-mining approaches to predict lake health
R
29
star
16

StreamCatTools

R package to work with the StreamCat API within R and access the full suite of StreamCat catchment and watershed scale metrics for all NHDPlusV2 stream reaches and catchments.
R
29
star
17

USEEIO

Estimating potential impacts of goods and services in the US economy (overview repository)
Python
26
star
18

standardizedinventories

Standardized Release and Waste Inventories
Python
25
star
19

LCIAformatter

Python
24
star
20

e-manifest

API services documentation and reference material for the e-Manifest hazardous waste tracking system
HTML
24
star
21

ElectricityLCI

Python
24
star
22

flowsa

Library that attributes resource use, waste, emissions, and loss to economic sectors
Python
23
star
23

OneEPA-Standalone-App-Template

Standalone application template for non-www EPA.gov applications
CSS
22
star
24

CompTox-ExpoCast-httk

The R package "httk" provides free, open-source data and models for toxicokinetics. The models are designed to use chemical-specific in vitro (animal free) measurements. The predictions can be used for traditional dosimetry as well as in vivo-in vitro extrapolation (IVIVE). This repository is for reporting bugs and contributing enhancements.
R
22
star
25

CompTox-ToxCast-tcpl

US EPA's Toxicity Forecaster (ToxCast) Pipeline
R
22
star
26

power-profiler

Vue
21
star
27

epa_r_workshop_2019

Materials from an R User Group workshop
HTML
21
star
28

LakeCat

Landscape summaries of natural and anthropogenic landscape features for ~378,088 lakes and their associated catchments across the conterminous US.
Python
21
star
29

lakemorpho

Calculate metrics about a lake using just its shape
R
21
star
30

AMET

Code base for the U.S. EPA’s Atmospheric Model Evaluation Tool (AMET)
R
20
star
31

Environmental-Technologies-Design-Option-Tool

Software models that provides engineers with the capability to evaluate and design systems that use granular activated carbon or ion exchange resins for the removal of contaminants, including PFAS, from drinking water and wastewater
Visual Basic 6.0
19
star
32

CompTox-ToxRefDB

US EPA's Toxicity Reference Database (ToxRefDB)
HTML
19
star
33

sensortoolkit

Air Sensor Data Analysis Library
Python
18
star
34

CompTox-PK-CvTdb

Python
18
star
35

open-source-projects

This repository contains information on how to work with EPA open source projects.
16
star
36

FDTool

Python
16
star
37

R-User-Group

HTML
15
star
38

CityWaterBalance

Visualize and model urban water flows and storages
R
15
star
39

Air-Trends-Report

Source code for EPA’s annual air trends report on air quality, emissions and visibility trends.
JavaScript
15
star
40

spsurvey

spsurvey: Spatial Sampling Design and Analysis in R
R
15
star
41

mywaterway

How's My Waterway provides information about the conditions streams, lakes and other waters anywhere in the U.S.
JavaScript
14
star
42

EPANETMSX

C
14
star
43

Water-Quality-Data-Analysis-Tool

R
14
star
44

EnviroAtlas_JSApp

Easy to use, interactive mapping application to access hundreds of maps showing environmental data
JavaScript
13
star
45

IO-Model-Builder

Create environmentally extended input-output models
Jupyter Notebook
13
star
46

USEEIO_API

API for USEEIO, estimates the potential impacts—environmental and economic—associated with the production or consumption of goods and services
Go
13
star
47

Water-Quality-Data-Discovery-Tool

CSS
12
star
48

RAQSAPI

A R extension to Retrieve EPA Air Quality System Data via the AQS Data Mart API
R
12
star
49

scghg

Jupyter Notebook
12
star
50

spmodel

spmodel: Spatial Statistical Modeling and Prediction in R
R
12
star
51

FrEDI

FrEDI estimates annual physical and economic impacts from climate change to the U.S., through the 21st century
HTML
11
star
52

EPA_OMEGA_Model

Model to evaluate policies for reducing greenhouse gas emissions from light duty vehicles
Python
11
star
53

FRS-getfacilities-samples

OEI FRS-getfacilities-samples repository.
HTML
11
star
54

Python_CoP

Code, documentation, presentations, for EPA's Python CoP
Jupyter Notebook
11
star
55

TADAShiny

TADAShiny is a DRAFT R Shiny application (link to web version below) built on top of the TADA R Package (https://github.com/USEPA/TADA). It provides a user friendly, web accessible interface.
R
11
star
56

O3-Nowcast

Estimates and predicts AQI in real time. Putting the "now" in AQI
R
10
star
57

EPA-Metadata-Editor-Pro

C#
10
star
58

EJSCREENBatch

HTML
9
star
59

webcms

Content management system for EPA's intranet
JavaScript
9
star
60

SSN2

SSN2: Spatial Modeling on Stream Networks in R
R
9
star
61

My-Right-To-Know--MyRTK-

This application compares toxic chemical releases from individual facilities to releases from other facilities in the same county, as well as to releases from other facilities in the same industry sector.
JavaScript
9
star
62

Water_Treatment_Models

Predicting water treatment unit operation effectiveness
Python
9
star
63

micromap

ORD for R micromap package development
R
9
star
64

PHP-SDWIS-SAMPLE-Envirofacts-API

PHP Sample Code Using Envirofacts Safe Drinking Water Information System (SDWIS) Representational State Transfer (REST) Application Programming Interface (API)
PHP
9
star
65

epafiles

EPA's Master Look and Feel
HTML
8
star
66

EPA-Metadata-Editor-5

Geospatial metadata editor for compliance with EPA’s Technical Specification
C#
8
star
67

Dasymetric-Toolbox-ArcGISPro

Python
8
star
68

cam-api-examples

Python
8
star
69

CMAQ_ADJOINT

8
star
70

ORD_SAB_Model

Repository for the ORD developed model for water system service area boundaries.
HTML
8
star
71

Marine_Emissions_Tools

Tools for estimating emissions from commercial marine vessels.
R
8
star
72

PPMtools

Python
8
star
73

harmonize-wq

Standardize, clean and wrangle Water Quality Portal data into more analytic-ready formats
Python
8
star
74

E-Enterprise-Portal

E-Enterprise is a transformative approach to make environmental information and data more accessible, efficient, and evidence-based through advances in monitoring, reporting, and information technology. The Portal is designed to be a modern and efficient interface for environmental transactions. This includes easier access to information and making transactions with environmental agencies as efficient and effective as possible.
PHP
8
star
75

CRACMM

MATLAB
7
star
76

EPA-Weather-Tool

Python
7
star
77

Recreation_Benefits

Understand the economic value of coastal recreation and water quality
R
7
star
78

watershed_integrity

R
7
star
79

Rapid-Benefit-Indicators-Tools

Assessing restoration sites using non-monetary benefit indicators
Python
7
star
80

stateior

Prepares US state two-region Make and Use tables
R
7
star
81

supply-chain-factors

R
6
star
82

EPA_ALPHA_Model

Model to evaluate emissions of cars
Python
6
star
83

emf

Emissions Modeling Framework (EMF)
Java
6
star
84

Dasymetric-Toolbox-OpenSource

Python
6
star
85

GeoPlatform-Request-Tool

Provisions EPA GeoPlatform (GPO) user accounts during emergency response events and projects
Python
6
star
86

CANARY

Tool for finding events in water quality metrics
Java
6
star
87

CompTox-ExpoCast-invivoPKfit

R
6
star
88

LSPC-Loading-Simulation-Program

C++
6
star
89

R9-Widgets

Shareable R9 widgets
TypeScript
6
star
90

GIFMod

Computer program that can be used to construct models to evaluate the performance of stormwater green infrastructure (GIs) and other types of urban and agricultural best management practices
C++
6
star
91

AVERT

Tool which evaluates how energy policies and programs such as energy efficiency and renewable energy lead to changes in emissions from electric power plants
TypeScript
6
star
92

EcoHealth_Relationship_Browser

JavaScript
5
star
93

Properties_Scraper

Python
5
star
94

nsink

R
5
star
95

VELMA_Public

Visualizing Ecosystem Land Management Assessments
5
star
96

egrid-explorer

The Emissions & Generation Resource Integrated Database (eGRID) Explorer is an interactive visualization of a comprehensive source of data on the environmental characteristics of almost all electric power generated in the United State
JavaScript
5
star
97

finsyncR

The package includes functions to access, extract, manipulate, and harmonize United States federal aquatic biomonitoring data, with a focus on macroinvertebrates and fish.
R
5
star
98

WetQual-GUI

This Graphical User Interfaces (GUI) was developed for the Wetland Water Quality Model, WetQual. The process-based WetQual model simulates nitrogen (N), phosphorus (P), total suspended sediment (TSS) and carbon (C) cycles and their dynamics in wetlands. The model partitions a wetland into three basic compartments: (1) (free) water column, (2) wetland soil layer, which is further portioned into aerobic and anaerobic zones, and (3) plant biomass.
Fortran
5
star
99

cam-api-portal

Api for data collected to run programs designed to reduce air pollution from power plants
JavaScript
5
star
100

spatialdata.epaR2023

Workshop material for the 2023 US EPA R User Group Spatial Workshop
HTML
4
star