Assets

class skywiseinsight.Asset

The Asset class implements the schemas and validation required to CRUD asset objects:

from geojson import Polygon
from skywiseinsight import Asset

asset = Asset()
asset.description = "My area of interest."
asset.shape = Polygon([[
  [-109.3359375, 38.272688535980976],
  [-109.3359375, 42.553080288955826],
  [-99.84374999999999, 42.553080288955826],
  [-99.84374999999999, 38.272688535980976],
  [-109.3359375, 38.272688535980976]
]])
asset.save()
description

A string describing your asset.

shape

A valid geojson Polygon object.