USDAForestService / gdalraster

R Bindings to GDAL (Geospatial Data Abstraction Library)
https://usdaforestservice.github.io/gdalraster/
Other
41 stars 7 forks source link

Add `srs_find_epsg()`: try to identify a matching EPSG code for a given SRS definition #476

Closed ctoney closed 1 month ago

ctoney commented 1 month ago

//' srs_find_epsg() accepts a spatial reference system definition //' in various text formats and tries to find a matching EPSG code. //' See srs_to_wkt() for a description of the possible input formats. //' This function is an interface to OSRFindMatches() in the GDAL Spatial //' Reference System API. //' //' @details //' Matching may be partial, or may fail. Returned entries will be sorted by //' decreasing match confidence (first entry has the highest match confidence).