VRS

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

CSAR VRS

band_info

The dictionary of (key=band_name, value= BandInfo)

extents

The geographic extents of the VRS

Type:((x1, y1),(x2, y2)) of double
find_closest_point((vector_double)position, (str)band_name) → object

Find the attribute closest to a given point

Parameters:
  • position ((x, y) of double) – tile to query
  • band_name – Name of the band to query
query([(vector_string)bands=()[, (object)box=()]]) → BlockIterator

Query values in the VRS

Parameters:
  • bands ([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((vector_double2)box) → BlockIterator

Query points within a box

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

Query points within a tile

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

Query all leaf tiles

uri

The uri of the opened csar file