pgf_collection_bbox: Get collection bbox

View source: R/collection.R

pgf_collection_bboxR Documentation

Get collection bbox

Description

Get bounding box of a collection.

Usage

pgf_collection_bbox(
  collection_id,
  base_url,
  path,
  nocache = NULL,
  user = gh_user(),
  verbose = FALSE,
  response = FALSE
)

Arguments

collection_id

A character string of the collection id.

base_url

A character string of the base URL.

path

A character string of the path or endpoint.

nocache

A character string indicating whether to cache results or not. Possible values include 'true' or 'false' or NULL.

user

A character string of the user. This allows whoever is running the server your are querying to contact you in case of misuse.

verbose

A flag indicating whether to provide verbose GET response.

response

A flag indicating whether to return the raw response object.

Value

A list.

See Also

Other collections: pgf_collection_crs(), pgf_collection_description(), pgf_collection_feature(), pgf_collection_features(), pgf_collection_geometry_type(), pgf_collection_properties(), pgf_collections()

Examples

## Not run: 
base_url <- "https://features.hillcrestgeo.ca/"
path <- "fwa"
collection_id <- "whse_basemapping.fwa_named_streams"
pgf_collection_bbox(,
  collection_id = collection_id, base_url = base_url, path = path
)

## End(Not run)

poissonconsulting/pgfsr documentation built on Nov. 4, 2024, 4:02 p.m.