02-AREAS

02-AREAS

2400 bookmarks
Newest
Wrappers for GDAL Utilities Executables
Wrappers for GDAL Utilities Executables
Rs sf package ships with self-contained GDAL executables, including a bare bones interface to several GDAL-related utility programs collectively known as the GDAL utilities. For each of those utilities, this package provides an R wrapper whose formal arguments closely mirror those of the GDAL command line interface. The utilities operate on data stored in files and typically write their output to other files. Therefore, to process data stored in any of Rs more common spatial formats (i.e. those supported by the sf and terra packages), first write them to disk, then process them with the package's wrapper functions before reading the outputted results back into R. GDAL function arguments introduced in GDAL version 3.5.2 or earlier are supported.
·joshobrien.github.io·
Wrappers for GDAL Utilities Executables
Including function calls in error messages — topic-error-call
Including function calls in error messages — topic-error-call
Starting with rlang 1.0, abort() includes the erroring function in the message by default: my_function <- function() { abort("Can't do that.") } my_function() #> Error in `my_function()`: #> ! Can't do that. This works well when abort() is called directly within the failing function. However, when the abort() call is exported to another function (which we call an "error helper"), we need to be explicit about which function abort() is throwing an error for.
This works well when abort() is called directly within the failing function. However, when the abort() call is exported to another function (which we call an "error helper"), we need to be explicit about which function abort() is throwing an error for.
There are two main kinds of error helpers:
Simple abort() wrappers. These often aim at adding classes and attributes to an error condition in a structured way: stop_my_class <- function(message) { abort(message, class = "my_class") }
Input checking functions. An input checker is typically passed an input and an argument name. It throws an error if the input doesn't conform to expectations: check_string <- function(x, arg = "x") { if (!is_string(x)) { cli::cli_abort("{.arg {arg}} must be a string.") } }
To fix this, let abort() know about the function that it is throwing the error for by passing the corresponding function environment as the call argument:
·rlang.r-lib.org·
Including function calls in error messages — topic-error-call
Chapter 6 Mapping Census data with R | Analyzing US Census Data
Chapter 6 Mapping Census data with R | Analyzing US Census Data
Data from the United States Census Bureau are commonly visualized using maps, given that Census and ACS data are aggregated to enumeration units. This chapter will cover the process of map-making...
·walker-data.com·
Chapter 6 Mapping Census data with R | Analyzing US Census Data
Generating Area's of Interest
Generating Area's of Interest
A consistent tool kit for forward and reverse geocoding and defining boundaries for spatial analysis.
·mikejohnson51.github.io·
Generating Area's of Interest
publiclab/leaflet-environmental-layers: Collection of different environmental map layers in an easy to use Leaflet library, similar to https://github.com/leaflet-extras/leaflet-providers#leaflet-providers
publiclab/leaflet-environmental-layers: Collection of different environmental map layers in an easy to use Leaflet library, similar to https://github.com/leaflet-extras/leaflet-providers#leaflet-providers
Collection of different environmental map layers in an easy to use Leaflet library, similar to https://github.com/leaflet-extras/leaflet-providers#leaflet-providers - publiclab/leaflet-environmenta...
·github.com·
publiclab/leaflet-environmental-layers: Collection of different environmental map layers in an easy to use Leaflet library, similar to https://github.com/leaflet-extras/leaflet-providers#leaflet-providers
PROD - NFHL - WMA
PROD - NFHL - WMA
Data from Flood Insurance Rate Maps (FIRMs) where available digitally.
·fema.maps.arcgis.com·
PROD - NFHL - WMA
USA Flood Hazard Areas
USA Flood Hazard Areas
This layer displays Flood Hazard Areas from the Flood Insurance Rate Map created by the Federal Emergency Management Agency, updated by Esri annually.
·fema.maps.arcgis.com·
USA Flood Hazard Areas
FEMA Geospatial Resource Center
FEMA Geospatial Resource Center
FEMA GIS supports the emergency management community with world-class geospatial information, services, and technologies to prepare for, protect against, respond to, recover from and mitigate against all hazards.
·gis-fema.hub.arcgis.com·
FEMA Geospatial Resource Center
MyGeodata Converter | MyGeodata Cloud
MyGeodata Converter | MyGeodata Cloud
MyGeodata Converter - Convert and transform GIS/CAD data to various formats and coordinate systems, like SHP, KML, KMZ, TAB, CSV, GeoJSON, GML, DGN, DXF...
·mygeodata.cloud·
MyGeodata Converter | MyGeodata Cloud