VRS

class caris.coverage.VRS([filename = ''[, uri = '']])

CSAR VRS

__init__()

Constructor

Only use one of filename or uri (use named parameters for uri) All parameters are optional

Keyword Arguments:
 
  • filename (str) – The filename of the opened csar file
  • uri (str) – The uri of the opened csar file
  • options (Options) – Options to use when opening the csar file. Defaults to READ mode if no options supplied
create_copy()

Save a copy of this cloud

Either uri or path must be specified.

Keyword Arguments:
 
  • path (str) – The file path of the destination CSAR file”
  • uri (str) – The file uri of the destination CSAR file.”
find_closest_point()

Find the attribute closest to a given point

Parameters:
  • position ((x, y) of double) – tile to query
  • band_name (str) – Name of the band to query
query()

Query values in the VRS

Parameters:
  • bands (list(str), optional) – List of band names to query. If None all bands will be available.
  • box (((x1, y1), (x2, y2)) of double) – Optional box to query
query_box()

Query points within a box

Parameters:box (((x1, y1), (x2, y2)) of double) – area to query
query_tile()

Query points within a tile

Parameters:tile (VRSTile) – tile to query
tiles()

Query all leaf tiles

band_info
extents

extents (((x1, y1),(x2, y2)) of double) – The geographic extents of the VRS

uri

uri (str) – The uri of the opened csar file