powered by
Create a ggplot-friendly data frame from a spatial object
df_spatial(x, ...)
A spatial object
Passed to specific methods
A tibble with coordinates as .x and .y, and features as .feature
# NOT RUN { load_longlake_data() df_spatial(longlake_osm) df_spatial(longlake_depthdf) df_spatial(as(longlake_depthdf, "Spatial")) # }
Run the code above in your browser using DataLab