GeoPackage Spatial Reference System
gpkg_spatial_ref_sys(x)
gpkg_list_srs(x, column_name = "srs_id")
gpkg_create_spatial_ref_sys(x, default = TRUE, query_string = FALSE)
gpkg_add_spatial_ref_sys(
x,
srs_name = "",
srs_id = NULL,
organization = "",
organization_coordsys_id = 0L,
definition = "",
description = "",
query_string = FALSE
)
gpkg_delete_spatial_ref_sys(x, srs_id = NULL)
A geopackage object
Default: "srs_id"
logical or character. If TRUE
, or one or more of "cartesian"
, "geographic"
, or "crs84"
, then these default Spatial Reference Systems are added.
logical. Return SQL queries without executing? Default: FALSE
character. Spatial Reference System Name, for example "WGS 84 geodetic"
integer. Spatial Reference System ID, for example 4326L
character. Organization, for example "EPSG"
integer. Organization Coordinate System ID, for example 4326L
character. WKT2019 Coordinate Reference System description string
character. Description
gpkg_spatial_ref_sys()
: data.frame
gpkg_list_srs()
: vector of values from specified column_name
gpkg_create_spatial_ref_sys()
: integer. Result of running sequential gpkg_execute()
statements. This method is run for the side-effect of creating the table if needed, and adding any "default" records.
gpkg_add_spatial_ref_sys()
: integer result of executing SQL statement
gpkg_delete_spatial_ref_sys()
: integer result of executing SQL statement