| srs_info_from_db | R Documentation |
srs_info_from_db() returns a data frame containing descriptive information
about spatial coordinate reference systems in the PROJ database. Wrapper of
OSRGetCRSInfoListFromDatabase() in the GDAL SRS API.
srs_info_from_db(auth_name = "")
auth_name |
Character string containing an authority name used to
restrict the search, or empty string ( |
The returned information includes the authority name, object code, object name, object type (e.g., Geographic 2D CRS, Geographic 3D CRS, Projected CRS, etc.), whether the object is deprecated, whether the bounding box values for the area of use are valid, the bounding box values in longitude and latitude degrees, the name of the area of use, the name of the projection method for a projected CRS, and the name of the celestial body of the CRS (e.g., "Earth", populated only if GDAL >= 3.12 and PROJ >= 8.1).
A data frame (will contain 0 rows if no objects are found that match the
search criterion).
srs_query
epsg <- srs_info_from_db("EPSG")
str(epsg)
iau <- srs_info_from_db("IAU_2015")
str(iau)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.