Resource: EarthEngineAsset
Information about an Earth Engine asset.
JSON representation |
---|
{ "type": enum ( |
Fields | |
---|---|
type |
The type of the asset. |
name |
The name of the asset. |
id |
The ID of the asset. Equivalent to |
update |
The last-modified time of the asset. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
properties |
Key/value properties associated with the asset. |
start |
The timestamp associated with the asset, if any, e.g. the time at which a satellite image was taken. For assets that correspond to an interval of time, such as average values over a month or year, this timestamp corresponds to the start of that interval. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
For assets that correspond to an interval of time, such as average values over a month or year, this timestamp corresponds to the end of that interval (exclusive). A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
geometry |
The spatial footprint associated with the asset, if any, as a GeoJSON geometry object (see RFC 7946). |
bands[] |
Information about the data bands of the image asset. Omitted for non-image assets. |
size |
The size of a leaf asset (e.g. an image) in bytes. |
feature |
The number of features in the asset, if applicable. |
quota |
The quota information associated with the folder asset, if any. Returned for top-level user-owned folder assets (e.g. "users/*" or "projects/*"). |
tilesets[] |
The tilesets backing this image. Only present for external images, whose pixels are retrieved from storage not owned by Earth Engine. |
Union field location . Information about where and how the raster tiles are stored. location can be only one of the following: |
|
cloud |
The location of this asset on Cloud Storage. For VCOGs (Virtual Cloud Optimized GeoTIFFs). |
feature |
The location of this FeatureView in EE. |
CloudStorageLocation
The location of an asset on Cloud Storage.
JSON representation |
---|
{ "uris": [ string ] } |
Fields | |
---|---|
uris[] |
The URIs of the data. Only Google Cloud Storage URIs are supported. Each URI must be specified in the following format: "gs://bucket-id/object-id". Only one URI is currently supported. If more than one URI is specified an |
FeatureViewLocation
A FeatureView EE asset.
JSON representation |
---|
{
"assetOptions": {
object ( |
Fields | |
---|---|
asset |
Ingest-time options for FeatureView assets. |
FeatureViewOptions
Ingest-time options for FeatureView assets.
JSON representation |
---|
{ "featureViewAttributes": [ { object ( |
Fields | |
---|---|
feature |
Attributes in the FeatureView asset, comprising a schema for the asset. These are the attributes that features in this asset can have. Each attribute has a name and a type. |
ingestion |
FeatureView ingestion time parameters. |
FeatureViewAttribute
A FeatureView attribute and its type.
JSON representation |
---|
{
"name": string,
"type": enum ( |
Fields | |
---|---|
name |
Name of the attribute. |
type |
Type of the attribute. |
Type
These types are a mirror of those found in geo/enterprise/layers/public/data_source_schema.proto.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Type unspecified. |
INTEGER |
A 64 bit integer value. |
BOOLEAN |
True/False Boolean value. |
DOUBLE |
A double precision floating point number. |
STRING |
A string of unbounded length. |
DATE_TIME |
A date/time, represented as a signed 64-bit integer in microseconds since the epoch, and therefore supporting the time period from 290,308 BCE through 294,247 CE. |
FeatureViewIngestionTimeParameters
FeatureView ingestion time parameters. These parameters must be specified at ingestion time and cannot be updated on the fly for a FeatureView.
JSON representation |
---|
{ "thinningOptions": { object ( |
Fields | |
---|---|
thinning |
The maximum number of feature bounding boxes that are allowed to intersect a tile. This number must be nonnegative. |
ranking |
Options for assigning z-order ranks and thinning ranks to features. |
ThinningOptions
Thinning options that control the density at which features are displayed per tile.
JSON representation |
---|
{
"maxFeaturesPerTile": integer,
"thinningStrategy": enum ( |
Fields | |
---|---|
max |
The maximum number of feature bounding boxes that are allowed to intersect a tile. This number must be nonnegative. |
thinning |
The feature thinning strategy that should be used. |
ThinningStrategy
Thinning strategy for features.
Enums | |
---|---|
UNKNOWN_THINNING_STRATEGY |
Unknown thinning strategy. |
GLOBALLY_CONSISTENT |
When thinning at a particular LOD, globally-consistent thinning means that if a feature is removed by thinning, then all other features with equal or worse thinning rank will also be removed. |
HIGHER_DENSITY |
When thinning, try to come as close as possible to the maxFeaturesPerTile limit for each tile. We will prefer better-ranked features over worse-ranked features, but will sometimes discard better- ranked features if that helps us achieve higher feature density. We guarantee that the strategy is deterministic, and that the set of post-thinned features will be a superset of those generated by globally- consistent thinning. |
RankingOptions
Ranking options for z-order and thinning.
JSON representation |
---|
{ "zOrderRankingRule": { object ( |
Fields | |
---|---|
z |
Ranking rule for assigning z-order ranks to features. |
thinning |
Ranking rule for assigning thinning ranks to features. |
RankingRule
Ranking rules that control how features are ranked for thinning and z-order.
JSON representation |
---|
{
"rankByOneThingRule": [
{
object ( |
Fields | |
---|---|
rank |
An ordered list of zero or more rank-by-one-thing (such as an attr) rules, which are used as primary, secondary, ... ranking keys for setting thinning_rank in each RankedFeature. |
RankByOneThingRule
An individual ranking rule to control rank for thinning and z-order.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field rule . The type of ranking rule to use. rule can be only one of the following: |
|
rank |
Rank by feature attribute value. |
rankByMinVisibleLodRule |
Rank by the min lod at which the feature geometry is first visible. A feature with any points is always visible at all LODs. Deprecated: please use rankByMinZoomLevelRule instead. |
rank |
Rank by geometry type. Precedence of types, high to low: polygon, polyline, point, none. In features with multiple types, the highest takes priority. |
rank |
Rank by the min zoom level at which the feature geometry is first visible. A feature with any points is always visible at all LODs. |
direction |
Whether the rank by this one thing should be ASCENDING (lower values first, i.e. more important) or DESCENDING (high values first, i.e. more important). In other words, ASCENDING means use directly the ordering described in the RankByAttributeRule (or other) submessage documentation below, and DESCENDING means reverse that ordering. |
RankByAttributeRule
Rank by feature attribute value.
JSON representation |
---|
{ "attributeName": string } |
Fields | |
---|---|
attribute |
Rank by the value of the attribute with the given name. This is mostly the natural ordering of the values of the given type, with some subtleties and clarifications: - for integer attrs, lower values come before higher values - for double attrs, lower values come before higher values with NaN considered to be lower than all other values including minus infinity - for boolean attrs, false is considered to come before true - for date_time attrs, earlier values come before later ones - string attrs are ranked lexicographically - an attr whose value has not been set is considered to have the default value of the given type (0 for integer, false for boolean, etc.). |
RankByMinVisibleLodRule
This type has no fields.
Rank by the min lod at which the feature geometry is first visible. A feature with any points is always visible at all LODs.
RankByGeometryTypeRule
This type has no fields.
Rank by geometry type. Precedence of types, high to low: polygon, polyline, point, none. In features with multiple types, the highest takes priority.
RankByMinZoomLevelRule
This type has no fields.
Rank by the min zoom level at which the feature geometry is first visible. A feature with any points is always visible at all LODs.
Direction
Whether to order a list from low to high (ASCENDING) or from high to low (DESCENDING).
Enums | |
---|---|
DIRECTION_UNSPECIFIED |
No ranking direction specified. |
ASCENDING |
Ascending order. |
DESCENDING |
Descending order. |
Type
Types of asset.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Unspecified. |
IMAGE |
Image. |
IMAGE_COLLECTION |
Image collection. |
TABLE |
Table. |
FOLDER |
Folder. |
CLASSIFIER |
Classifier. |
FEATURE_VIEW |
FeatureView asset. |
ImageBand
Information about a single data band of an image asset.
JSON representation |
---|
{ "id": string, "dataType": { object ( |
Fields | |
---|---|
id |
The ID of the band. |
data |
The numeric type of the band. |
grid |
The pixel grid of the band. |
pyramiding |
The pyramiding policy of the band. |
missing |
The value(s) denoting missing data. |
PixelDataType
Specifies the numeric type of the pixels in an image band.
JSON representation |
---|
{ "precision": enum ( |
Fields | |
---|---|
precision |
The numeric precision of the type. |
range |
The range of the numeric type, if any. Typically absent for floating-point types. |
dimensions |
The number of dimensions in an array-valued data type, or zero to indicate an ordinary scalar type. |
Precision
Specifies the precision of a numeric data type.
Enums | |
---|---|
PRECISION_UNSPECIFIED |
Unspecified. |
INT |
The data type has integer precision. Note that this could represent differently sized integers. |
FLOAT |
The data type has 32-bit floating point precision. |
DOUBLE |
The data type has 64-bit floating point (double) precision. |
MissingData
A list of values which represent no data.
JSON representation |
---|
{ "values": [ number ] } |
Fields | |
---|---|
values[] |
Values which represent no data. |
FolderQuota
Describes the current usage and limits of a top-level folder.
JSON representation |
---|
{ "sizeBytes": string, "maxSizeBytes": string, "assetCount": string, "maxAssets": string } |
Fields | |
---|---|
size |
The size of the folder in bytes. |
max |
The maximum size of the folder in bytes. |
asset |
The number of assets stored in the folder. |
max |
The maximum number of assets that can be stored in the folder. |
Tileset
A set of ImageSources that can be referenced with a unique ID.
JSON representation |
---|
{ "id": string, "sources": [ { object ( |
Fields | |
---|---|
id |
The ID of the tileset. Must be unique among tilesets specified in the ImageManifest. This ID is discarded during the processing step; it is only used to link a Tileset to a band. The empty string is a valid ID. |
sources[] |
The sources which comprise this tileset. |
data |
An optional data type for the band. If specified, no check is done to verify that the type of every input file matches. |
crs |
The coordinate reference system of the pixel grid, specified as a standard code where possible, and in WKT format otherwise. |
ImageSource
An image file and its sidecars.
JSON representation |
---|
{ "uris": [ string ], "affineTransform": { object ( |
Fields | |
---|---|
uris[] |
The URIs of the data to import. Currently, only Google Cloud Storage URIs are supported. Each URI must be specified in the following format: "gs://bucket-id/object-id". The primary object should be the first element of the list, and sidecars listed afterwards. Each URI is prefixed with |
affine |
An optional affine transform. Should only be specified if the data from |
dimensions |
Raster dimensions in pixels. Used only when 'skipMetadataRead' is set. |
DataType
Specifies the numeric data type.
Enums | |
---|---|
DATA_TYPE_UNSPECIFIED |
Unspecified. |
INT8 |
8-bit signed integer. |
UINT8 |
8-bit unsigned integer. |
INT16 |
16-bit signed integer. |
UINT16 |
16-bit unsigned integer. |
INT32 |
32-bit signed integer. |
UINT32 |
32-bit unsigned integer. |
FLOAT |
32-bit float. |
DOUBLE |
64-bit float. |
Methods |
|
---|---|
|
Copies an asset. |
|
Creates an asset. |
|
Deletes an asset. |
|
Gets detailed information about an asset. |
|
Gets the access control policy for a resource. |
|
Fetches pixels from an image asset. |
|
Lists any container asset, such as a folder or collection. |
|
Lists the features in a table asset. |
|
Moves an asset. |
|
Updates an asset. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |