coincident.io.sliderule.sample_raster#
- coincident.io.sliderule.sample_raster(gf, asset_key='usgs3dep-1meter-dem', project_name=None)[source]#
Sample 3DEP 1-meter DEM with POINT geometries in GeoDataFrame.
Points should be (longitude, latitude) not UTM
- Parameters:
gf (
GeoDataFrame) – A GeoDataFrame containing POINT geometries in EPSG:4326asset_key (
str) – Sliderule asset key to sample (e.g. “usgs3dep-1meter-dem” or “esa-worldcover-10meter”)project_name (
str|None) – For 3dep, a WESM project name to restrict results to (e.g. “CO_WestCentral_2019_A19”)
- Return type:
- Returns:
A GeoDataFrame with sampled elevation data from the 3DEP 1-meter DEM.
Notes
Sliderule automatically reprojects to ITRF2020. For 3DEP 1m this means going from tiffs stored as NAD83(2011) + NAVD88 height in various UTM zones.