Skip to contents

Data Retrieval Functions

get_tiles()
A user-friendly way to get USGS National Map data tiles for an area
hit_national_map_api()
Hit the USGS 3DEP API and retrieve an elevation heightmap

Data Manipulation Functions

merge_rasters()
Merge multiple raster files into a single raster
georeference_overlay()
Georeference image overlays based on a reference raster

Visualization Functions

geom_spatial_rgb() stat_spatial_rgb()
Plot RGB rasters in ggplot2
raster_to_raw_tiles()
Crop a raster and convert the output tiles into new formats.
make_manifest() transform_elevation() transform_overlay()
Transform rasters and write manifest file for import into Unity
make_unity()
Initialize terrain inside of a Unity project.
vector_to_overlay()
Turn spatial vector data into an image overlay
combine_overlays()
Combine multiple image overlays into a single file

Utility Functions

add_bbox_buffer() set_bbox_side_length()
Add a uniform buffer around a bounding box for geographic coordinates