Query or manage PROJ search path and network settings
sf_proj_search_paths(paths = character(0), with_proj = NA)sf_proj_network(enable = FALSE, url = character(0))
sf_proj_pipelines(
source_crs,
target_crs,
authority = character(0),
AOI = numeric(0),
Use = "NONE",
grid_availability = "USED",
desired_accuracy = -1,
strict_containment = FALSE,
axis_order_authority_compliant = st_axis_order()
)
sf_proj_search_paths()
returns the search path (possibly after setting it)
sf_proj_network
when called without arguments returns a logical indicating whether
network search of datum grids is enabled, when called with arguments it returns a character
vector with the URL of the CDN used (or specified with url
).
sf_proj_pipelines()
returns a table with candidate coordinate transformation
pipelines along with their accuracy; NA
accuracy indicates ballpark accuracy.
the search path to be set; omit if paths need to be queried
logical; if NA
set for both GDAL and PROJ, otherwise set either for PROJ (TRUE
) or GDAL (FALSE
)
logical; set this to enable (TRUE
) or disable (FALSE
) the proj network search facility
character; use this to specify and override the default proj network CDN
object of class crs
or character
character; constrain output pipelines to those of authority
length four numeric; desired area of interest for the resulting coordinate transformations (west, south, east, north, in degrees). For an area of interest crossing the anti-meridian, west will be greater than east.
one of "NONE", "BOTH", "INTERSECTION", "SMALLEST", indicating how AOI's of source_crs and target_crs are being used
character; one of "USED" (Grid availability is only used for sorting results. Operations where some grids are missing will be sorted last), "DISCARD" (Completely discard an operation if a required grid is missing) , "IGNORED" (Ignore grid availability at all. Results will be presented as if all grids were available.), or "AVAILABLE" (Results will be presented as if grids known to PROJ (that is registered in the grid_alternatives table of its database) were available. Used typically when networking is enabled.)
numeric; only return pipelines with at least this accuracy
logical; default FALSE
; permit partial matching of the area
of interest; if TRUE
strictly contain the area of interest.
The area of interest is either as given in AOI, or as implied by the
source/target coordinate reference systems
logical; if FALSE
always
choose ‘x’ or longitude for the first
axis; if TRUE, follow the axis orders given by the coordinate reference systems when
constructing the for the first axis; if FALSE
, follow the axis orders given by