@google/earthengine 0.1.331 → 0.1.334
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.tmp/BUILD +8 -0
- package/.tmp/METADATA +3 -3
- package/build/browser.js +53 -39
- package/build/ee_api_js.js +43 -41
- package/build/ee_api_js_debug.js +34 -20
- package/build/ee_api_js_npm.js +53 -39
- package/build/main.js +53 -39
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/data.js +36 -12
- package/src/encodable.js +1 -1
package/build/ee_api_js_npm.js
CHANGED
|
@@ -5616,9 +5616,7 @@ ee.TileEvent = function(count) {
|
|
|
5616
5616
|
this.count = count;
|
|
5617
5617
|
};
|
|
5618
5618
|
goog.inherits(ee.TileEvent, goog.events.Event);
|
|
5619
|
-
var module$exports$tslib = {}, module$contents$tslib_extendStatics = Object.setPrototypeOf ||
|
|
5620
|
-
d.__proto__ = b;
|
|
5621
|
-
} || function(d, b) {
|
|
5619
|
+
var module$exports$tslib = {}, module$contents$tslib_extendStatics = Object.setPrototypeOf || function(d, b) {
|
|
5622
5620
|
for (var p in b) {
|
|
5623
5621
|
Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]);
|
|
5624
5622
|
}
|
|
@@ -9903,18 +9901,23 @@ module$exports$eeapiclient$ee_api_client.EarthEngineDestination = function(param
|
|
|
9903
9901
|
parameters = void 0 === parameters ? {} : parameters;
|
|
9904
9902
|
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
9905
9903
|
this.Serializable$set("name", null == parameters.name ? null : parameters.name);
|
|
9904
|
+
this.Serializable$set("overwrite", null == parameters.overwrite ? null : parameters.overwrite);
|
|
9906
9905
|
};
|
|
9907
9906
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.EarthEngineDestination, module$exports$eeapiclient$domain_object.Serializable);
|
|
9908
9907
|
module$exports$eeapiclient$ee_api_client.EarthEngineDestination.prototype.getConstructor = function() {
|
|
9909
9908
|
return module$exports$eeapiclient$ee_api_client.EarthEngineDestination;
|
|
9910
9909
|
};
|
|
9911
9910
|
module$exports$eeapiclient$ee_api_client.EarthEngineDestination.prototype.getPartialClassMetadata = function() {
|
|
9912
|
-
return {keys:["name"]};
|
|
9911
|
+
return {keys:["name", "overwrite"]};
|
|
9913
9912
|
};
|
|
9914
9913
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.EarthEngineDestination.prototype, {name:{configurable:!0, enumerable:!0, get:function() {
|
|
9915
9914
|
return this.Serializable$has("name") ? this.Serializable$get("name") : null;
|
|
9916
9915
|
}, set:function(value) {
|
|
9917
9916
|
this.Serializable$set("name", value);
|
|
9917
|
+
}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
|
|
9918
|
+
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
|
|
9919
|
+
}, set:function(value) {
|
|
9920
|
+
this.Serializable$set("overwrite", value);
|
|
9918
9921
|
}}});
|
|
9919
9922
|
module$exports$eeapiclient$ee_api_client.EarthEngineMapParameters = function module$contents$eeapiclient$ee_api_client_EarthEngineMapParameters() {
|
|
9920
9923
|
};
|
|
@@ -17100,7 +17103,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17100
17103
|
ee.apiclient = {};
|
|
17101
17104
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17102
17105
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17103
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17106
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.334";
|
|
17104
17107
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17105
17108
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17106
17109
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17381,8 +17384,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17381
17384
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17382
17385
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17383
17386
|
method = method || "POST";
|
|
17384
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17385
|
-
"0.1.
|
|
17387
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.334";
|
|
17388
|
+
"0.1.334" === version && (version = "latest");
|
|
17386
17389
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17387
17390
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17388
17391
|
if (null != authToken) {
|
|
@@ -17785,7 +17788,7 @@ ee.rpc_convert.orientation = function(orientation) {
|
|
|
17785
17788
|
return "VERTICAL";
|
|
17786
17789
|
}
|
|
17787
17790
|
var upper = orientation.toUpperCase();
|
|
17788
|
-
if ("HORIZONTAL" !== upper
|
|
17791
|
+
if ("HORIZONTAL" !== upper && "VERTICAL" !== upper) {
|
|
17789
17792
|
throw Error('Orientation must be "horizontal" or "vertical"');
|
|
17790
17793
|
}
|
|
17791
17794
|
return upper;
|
|
@@ -19087,8 +19090,10 @@ ee.data.getMapId = function(params, opt_callback) {
|
|
|
19087
19090
|
if (void 0 !== params.version) {
|
|
19088
19091
|
throw Error("Image version specification not supported.");
|
|
19089
19092
|
}
|
|
19090
|
-
var map = new module$exports$eeapiclient$ee_api_client.EarthEngineMap({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params),}),
|
|
19091
|
-
|
|
19093
|
+
var map = new module$exports$eeapiclient$ee_api_client.EarthEngineMap({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params),}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19094
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19095
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19096
|
+
return call.handle(call.maps().create(call.projectsPath(), map, queryParams).then(function(response) {
|
|
19092
19097
|
return ee.data.makeMapId_(response.name, "");
|
|
19093
19098
|
}));
|
|
19094
19099
|
};
|
|
@@ -19153,23 +19158,29 @@ ee.data.getThumbId = function(params, opt_callback) {
|
|
|
19153
19158
|
if (void 0 !== params.dimensions) {
|
|
19154
19159
|
throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');
|
|
19155
19160
|
}
|
|
19156
|
-
var thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params), grid:null,}),
|
|
19157
|
-
|
|
19161
|
+
var thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19162
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19163
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19164
|
+
return call.handle(call.thumbnails().create(call.projectsPath(), thumbnail, queryParams).then(function(response) {
|
|
19158
19165
|
return {thumbid:response.name, token:""};
|
|
19159
19166
|
}));
|
|
19160
19167
|
};
|
|
19161
19168
|
goog.exportSymbol("ee.data.getThumbId", ee.data.getThumbId);
|
|
19162
19169
|
ee.data.getVideoThumbId = function(params, opt_callback) {
|
|
19163
19170
|
var videoOptions = new module$exports$eeapiclient$ee_api_client.VideoOptions({framesPerSecond:params.framesPerSecond || null, maxFrames:params.maxFrames || null, maxPixelsPerFrame:params.maxPixelsPerFrame || null,}), request = new module$exports$eeapiclient$ee_api_client.VideoThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format),
|
|
19164
|
-
videoOptions:videoOptions, grid:null,}),
|
|
19165
|
-
|
|
19171
|
+
videoOptions:videoOptions, grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19172
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19173
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19174
|
+
return call.handle(call.videoThumbnails().create(call.projectsPath(), request, queryParams).then(function(response) {
|
|
19166
19175
|
return {thumbid:response.name, token:""};
|
|
19167
19176
|
}));
|
|
19168
19177
|
};
|
|
19169
19178
|
goog.exportSymbol("ee.data.getVideoThumbId", ee.data.getVideoThumbId);
|
|
19170
19179
|
ee.data.getFilmstripThumbId = function(params, opt_callback) {
|
|
19171
|
-
var request = new module$exports$eeapiclient$ee_api_client.FilmstripThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format), orientation:ee.rpc_convert.orientation(params.orientation), grid:null,}),
|
|
19172
|
-
|
|
19180
|
+
var request = new module$exports$eeapiclient$ee_api_client.FilmstripThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format), orientation:ee.rpc_convert.orientation(params.orientation), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19181
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19182
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19183
|
+
return call.handle(call.filmstripThumbnails().create(call.projectsPath(), request, queryParams).then(function(response) {
|
|
19173
19184
|
return {thumbid:response.name, token:""};
|
|
19174
19185
|
}));
|
|
19175
19186
|
};
|
|
@@ -19221,8 +19232,10 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
19221
19232
|
}
|
|
19222
19233
|
var image = ee.data.images.buildDownloadIdImage(params.image, params), thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:params.bands && ee.rpc_convert.bandList(params.bands.map(function(band) {
|
|
19223
19234
|
return band.id;
|
|
19224
|
-
})), grid:null,}),
|
|
19225
|
-
|
|
19235
|
+
})), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19236
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19237
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19238
|
+
return call.handle(call.thumbnails().create(call.projectsPath(), thumbnail, queryParams).then(function(response) {
|
|
19226
19239
|
return {docid:response.name, token:""};
|
|
19227
19240
|
}));
|
|
19228
19241
|
};
|
|
@@ -19245,8 +19258,9 @@ ee.data.getTableDownloadId = function(params, opt_callback) {
|
|
|
19245
19258
|
throw Error("'selectors' parameter must be an array of strings.");
|
|
19246
19259
|
}
|
|
19247
19260
|
}
|
|
19248
|
-
var table = new module$exports$eeapiclient$ee_api_client.Table({name:null, expression:expression, fileFormat:fileFormat, selectors:selectors, filename:params.filename || null,});
|
|
19249
|
-
|
|
19261
|
+
var table = new module$exports$eeapiclient$ee_api_client.Table({name:null, expression:expression, fileFormat:fileFormat, selectors:selectors, filename:params.filename || null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19262
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19263
|
+
return call.handle(call.tables().create(call.projectsPath(), table, queryParams).then(function(res) {
|
|
19250
19264
|
return {docid:res.name || "", token:""};
|
|
19251
19265
|
}));
|
|
19252
19266
|
};
|
|
@@ -24823,27 +24837,27 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
24823
24837
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
24824
24838
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
24825
24839
|
(function() {
|
|
24826
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
24827
|
-
orderedParamLists = [["name"
|
|
24828
|
-
|
|
24829
|
-
|
|
24830
|
-
"image opt_description
|
|
24831
|
-
["
|
|
24832
|
-
"
|
|
24833
|
-
"
|
|
24834
|
-
"
|
|
24835
|
-
[
|
|
24836
|
-
"
|
|
24837
|
-
"opt_geodesic", "
|
|
24838
|
-
[
|
|
24839
|
-
[ee.ApiFunction.
|
|
24840
|
-
module$contents$ee$batch_Export.
|
|
24841
|
-
ee.ComputedObject.prototype.
|
|
24842
|
-
ee.data.
|
|
24843
|
-
ee.data.
|
|
24840
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toAsset ee.batch.Export.video.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.iterate ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.data.computeValue ee.data.newTaskId ee.data.getMapId ee.data.getTaskStatus ee.data.listFeatures ee.data.getTileUrl ee.data.getFeatureViewTilesKey ee.data.authenticateViaPrivateKey ee.data.authenticateViaOauth ee.data.getTaskList ee.data.getTaskListWithLimit ee.data.authenticate ee.data.listOperations ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.getInfo ee.data.getTableDownloadId ee.data.getOperation ee.data.setWorkloadTag ee.data.createAssetHome ee.data.getDownloadId ee.data.setDefaultWorkloadTag ee.data.createAsset ee.data.cancelTask ee.data.resetWorkloadTag ee.data.makeThumbUrl ee.data.updateAsset ee.data.startIngestion ee.data.updateTask ee.data.makeDownloadUrl ee.data.getList ee.data.createFolder ee.data.getThumbId ee.data.setAssetAcl ee.data.startProcessing ee.data.listAssets ee.data.renameAsset ee.data.setAssetProperties ee.data.makeTableDownloadUrl ee.data.copyAsset ee.data.listImages ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.deleteAsset ee.data.listBuckets ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.getAsset ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getAssetRoots ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Dictionary ee.initialize ee.apply ee.TILE_SIZE ee.reset ee.InitState ee.Algorithms ee.call ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.gte ee.Filter.or ee.Filter.date ee.Filter ee.Filter.inList ee.Filter.prototype.not ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.gt ee.Filter.bounds ee.Filter.lte ee.Filter.lt ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSONString ee.Geometry.Point ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiPoint ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.prototype.select ee.Image.prototype.expression ee.Image.cat ee.Image ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.rgb ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
24841
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices"], "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
24842
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
24843
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
24844
|
+
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "), ["classifier", "opt_description", "opt_assetId"], ["filter"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["algorithm", "opt_first"], ["geometry"], ["name", "operator", "value"], ["callback"],
|
|
24845
|
+
["opt_callback"], ["func", "var_args"], ["legacy"], ["obj", "opt_callback"], ["opt_count", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["opt_callback"], ["opt_limit", "opt_callback"], ["clientId",
|
|
24846
|
+
"success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_limit", "opt_callback"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["id", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["tag"], ["requestedId", "opt_callback"], ["params", "opt_callback"], ["tag"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["id"], ["assetId", "asset", "updateFields", "opt_callback"],
|
|
24847
|
+
["taskId", "request", "opt_callback"], ["taskId", "action", "opt_callback"], ["id"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["taskId", "params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["assetId", "properties", "opt_callback"], ["id"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["parent", "opt_params", "opt_callback"],
|
|
24848
|
+
["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["assetId", "opt_callback"], ["project", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["assetId", "opt_callback"], [], ["opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "namedArgs"], [], [], [], [], ["func", "var_args"], ["var_args"],
|
|
24849
|
+
["opt_visParams", "opt_callback"], ["opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["name", "value"], ["var_args"], ["start", "opt_end"], ["opt_filter"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["name", "operator", "value"], ["name", "value"], ["name",
|
|
24850
|
+
"value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["var_args"], ["namedArgs"], ["var_args"], [], ["coords", "opt_proj"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj",
|
|
24851
|
+
"opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["var_args"], ["var_args"], ["expression", "opt_map"], ["var_args"], ["opt_args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["selectors", "opt_names"], ["args"], ["params", "opt_callback"], ["params", "opt_callback"],
|
|
24852
|
+
[], ["opt_visParams", "opt_callback"], ["opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["string"], []];
|
|
24853
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.image.toCloudStorage,
|
|
24854
|
+
module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.iterate, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterMetadata, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.aside,
|
|
24855
|
+
ee.ComputedObject.prototype.serialize, ee.data.computeValue, ee.data.newTaskId, ee.data.getMapId, ee.data.getTaskStatus, ee.data.listFeatures, ee.data.getTileUrl, ee.data.getFeatureViewTilesKey, ee.data.authenticateViaPrivateKey, ee.data.authenticateViaOauth, ee.data.getTaskList, ee.data.getTaskListWithLimit, ee.data.authenticate, ee.data.listOperations, ee.data.cancelOperation, ee.data.authenticateViaPopup, ee.data.getInfo, ee.data.getTableDownloadId, ee.data.getOperation, ee.data.setWorkloadTag,
|
|
24856
|
+
ee.data.createAssetHome, ee.data.getDownloadId, ee.data.setDefaultWorkloadTag, ee.data.createAsset, ee.data.cancelTask, ee.data.resetWorkloadTag, ee.data.makeThumbUrl, ee.data.updateAsset, ee.data.startIngestion, ee.data.updateTask, ee.data.makeDownloadUrl, ee.data.getList, ee.data.createFolder, ee.data.getThumbId, ee.data.setAssetAcl, ee.data.startProcessing, ee.data.listAssets, ee.data.renameAsset, ee.data.setAssetProperties, ee.data.makeTableDownloadUrl, ee.data.copyAsset, ee.data.listImages,
|
|
24857
|
+
ee.data.startTableIngestion, ee.data.getAssetRootQuota, ee.data.deleteAsset, ee.data.listBuckets, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.getAsset, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getAssetRoots, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Dictionary, ee.initialize, ee.apply, ee.TILE_SIZE, ee.reset, ee.InitState, ee.Algorithms, ee.call, ee.Element.prototype.set, ee.Feature.prototype.getMap,
|
|
24844
24858
|
ee.Feature.prototype.getInfo, ee.Feature, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.gte, ee.Filter.or, ee.Filter.date, ee.Filter, ee.Filter.inList, ee.Filter.prototype.not, ee.Filter.metadata, ee.Filter.eq, ee.Filter.neq, ee.Filter.gt, ee.Filter.bounds, ee.Filter.lte, ee.Filter.lt, ee.Filter.and, ee.Function.prototype.apply, ee.Function.prototype.call,
|
|
24845
24859
|
ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Point, ee.Geometry.BBox, ee.Geometry.LinearRing, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Image.prototype.getInfo, ee.Image.prototype.getThumbURL, ee.Image.prototype.getThumbId, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.prototype.select, ee.Image.prototype.expression,
|
|
24846
|
-
ee.Image.cat, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.ImageCollection.prototype.select, ee.ImageCollection
|
|
24860
|
+
ee.Image.cat, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.ImageCollection.prototype.select, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty,
|
|
24847
24861
|
ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.Serializer.toJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
24848
24862
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
24849
24863
|
});
|
package/build/main.js
CHANGED
|
@@ -5618,9 +5618,7 @@ ee.TileEvent = function(count) {
|
|
|
5618
5618
|
this.count = count;
|
|
5619
5619
|
};
|
|
5620
5620
|
goog.inherits(ee.TileEvent, goog.events.Event);
|
|
5621
|
-
var module$exports$tslib = {}, module$contents$tslib_extendStatics = Object.setPrototypeOf ||
|
|
5622
|
-
d.__proto__ = b;
|
|
5623
|
-
} || function(d, b) {
|
|
5621
|
+
var module$exports$tslib = {}, module$contents$tslib_extendStatics = Object.setPrototypeOf || function(d, b) {
|
|
5624
5622
|
for (var p in b) {
|
|
5625
5623
|
Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]);
|
|
5626
5624
|
}
|
|
@@ -9905,18 +9903,23 @@ module$exports$eeapiclient$ee_api_client.EarthEngineDestination = function(param
|
|
|
9905
9903
|
parameters = void 0 === parameters ? {} : parameters;
|
|
9906
9904
|
module$exports$eeapiclient$domain_object.Serializable.call(this);
|
|
9907
9905
|
this.Serializable$set("name", null == parameters.name ? null : parameters.name);
|
|
9906
|
+
this.Serializable$set("overwrite", null == parameters.overwrite ? null : parameters.overwrite);
|
|
9908
9907
|
};
|
|
9909
9908
|
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.EarthEngineDestination, module$exports$eeapiclient$domain_object.Serializable);
|
|
9910
9909
|
module$exports$eeapiclient$ee_api_client.EarthEngineDestination.prototype.getConstructor = function() {
|
|
9911
9910
|
return module$exports$eeapiclient$ee_api_client.EarthEngineDestination;
|
|
9912
9911
|
};
|
|
9913
9912
|
module$exports$eeapiclient$ee_api_client.EarthEngineDestination.prototype.getPartialClassMetadata = function() {
|
|
9914
|
-
return {keys:["name"]};
|
|
9913
|
+
return {keys:["name", "overwrite"]};
|
|
9915
9914
|
};
|
|
9916
9915
|
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.EarthEngineDestination.prototype, {name:{configurable:!0, enumerable:!0, get:function() {
|
|
9917
9916
|
return this.Serializable$has("name") ? this.Serializable$get("name") : null;
|
|
9918
9917
|
}, set:function(value) {
|
|
9919
9918
|
this.Serializable$set("name", value);
|
|
9919
|
+
}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
|
|
9920
|
+
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
|
|
9921
|
+
}, set:function(value) {
|
|
9922
|
+
this.Serializable$set("overwrite", value);
|
|
9920
9923
|
}}});
|
|
9921
9924
|
module$exports$eeapiclient$ee_api_client.EarthEngineMapParameters = function module$contents$eeapiclient$ee_api_client_EarthEngineMapParameters() {
|
|
9922
9925
|
};
|
|
@@ -17102,7 +17105,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17102
17105
|
ee.apiclient = {};
|
|
17103
17106
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17104
17107
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17105
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17108
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.334";
|
|
17106
17109
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17107
17110
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17108
17111
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17383,8 +17386,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17383
17386
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17384
17387
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17385
17388
|
method = method || "POST";
|
|
17386
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17387
|
-
"0.1.
|
|
17389
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.334";
|
|
17390
|
+
"0.1.334" === version && (version = "latest");
|
|
17388
17391
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17389
17392
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17390
17393
|
if (null != authToken) {
|
|
@@ -17787,7 +17790,7 @@ ee.rpc_convert.orientation = function(orientation) {
|
|
|
17787
17790
|
return "VERTICAL";
|
|
17788
17791
|
}
|
|
17789
17792
|
var upper = orientation.toUpperCase();
|
|
17790
|
-
if ("HORIZONTAL" !== upper
|
|
17793
|
+
if ("HORIZONTAL" !== upper && "VERTICAL" !== upper) {
|
|
17791
17794
|
throw Error('Orientation must be "horizontal" or "vertical"');
|
|
17792
17795
|
}
|
|
17793
17796
|
return upper;
|
|
@@ -19089,8 +19092,10 @@ ee.data.getMapId = function(params, opt_callback) {
|
|
|
19089
19092
|
if (void 0 !== params.version) {
|
|
19090
19093
|
throw Error("Image version specification not supported.");
|
|
19091
19094
|
}
|
|
19092
|
-
var map = new module$exports$eeapiclient$ee_api_client.EarthEngineMap({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params),}),
|
|
19093
|
-
|
|
19095
|
+
var map = new module$exports$eeapiclient$ee_api_client.EarthEngineMap({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params),}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19096
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19097
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19098
|
+
return call.handle(call.maps().create(call.projectsPath(), map, queryParams).then(function(response) {
|
|
19094
19099
|
return ee.data.makeMapId_(response.name, "");
|
|
19095
19100
|
}));
|
|
19096
19101
|
};
|
|
@@ -19155,23 +19160,29 @@ ee.data.getThumbId = function(params, opt_callback) {
|
|
|
19155
19160
|
if (void 0 !== params.dimensions) {
|
|
19156
19161
|
throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');
|
|
19157
19162
|
}
|
|
19158
|
-
var thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params), grid:null,}),
|
|
19159
|
-
|
|
19163
|
+
var thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19164
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19165
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19166
|
+
return call.handle(call.thumbnails().create(call.projectsPath(), thumbnail, queryParams).then(function(response) {
|
|
19160
19167
|
return {thumbid:response.name, token:""};
|
|
19161
19168
|
}));
|
|
19162
19169
|
};
|
|
19163
19170
|
goog.exportSymbol("ee.data.getThumbId", ee.data.getThumbId);
|
|
19164
19171
|
ee.data.getVideoThumbId = function(params, opt_callback) {
|
|
19165
19172
|
var videoOptions = new module$exports$eeapiclient$ee_api_client.VideoOptions({framesPerSecond:params.framesPerSecond || null, maxFrames:params.maxFrames || null, maxPixelsPerFrame:params.maxPixelsPerFrame || null,}), request = new module$exports$eeapiclient$ee_api_client.VideoThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format),
|
|
19166
|
-
videoOptions:videoOptions, grid:null,}),
|
|
19167
|
-
|
|
19173
|
+
videoOptions:videoOptions, grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19174
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19175
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19176
|
+
return call.handle(call.videoThumbnails().create(call.projectsPath(), request, queryParams).then(function(response) {
|
|
19168
19177
|
return {thumbid:response.name, token:""};
|
|
19169
19178
|
}));
|
|
19170
19179
|
};
|
|
19171
19180
|
goog.exportSymbol("ee.data.getVideoThumbId", ee.data.getVideoThumbId);
|
|
19172
19181
|
ee.data.getFilmstripThumbId = function(params, opt_callback) {
|
|
19173
|
-
var request = new module$exports$eeapiclient$ee_api_client.FilmstripThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format), orientation:ee.rpc_convert.orientation(params.orientation), grid:null,}),
|
|
19174
|
-
|
|
19182
|
+
var request = new module$exports$eeapiclient$ee_api_client.FilmstripThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format), orientation:ee.rpc_convert.orientation(params.orientation), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19183
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19184
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19185
|
+
return call.handle(call.filmstripThumbnails().create(call.projectsPath(), request, queryParams).then(function(response) {
|
|
19175
19186
|
return {thumbid:response.name, token:""};
|
|
19176
19187
|
}));
|
|
19177
19188
|
};
|
|
@@ -19223,8 +19234,10 @@ ee.data.getDownloadId = function(params, opt_callback) {
|
|
|
19223
19234
|
}
|
|
19224
19235
|
var image = ee.data.images.buildDownloadIdImage(params.image, params), thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:params.bands && ee.rpc_convert.bandList(params.bands.map(function(band) {
|
|
19225
19236
|
return band.id;
|
|
19226
|
-
})), grid:null,}),
|
|
19227
|
-
|
|
19237
|
+
})), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19238
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19239
|
+
var call = new module$contents$ee$apiclient_Call(opt_callback);
|
|
19240
|
+
return call.handle(call.thumbnails().create(call.projectsPath(), thumbnail, queryParams).then(function(response) {
|
|
19228
19241
|
return {docid:response.name, token:""};
|
|
19229
19242
|
}));
|
|
19230
19243
|
};
|
|
@@ -19247,8 +19260,9 @@ ee.data.getTableDownloadId = function(params, opt_callback) {
|
|
|
19247
19260
|
throw Error("'selectors' parameter must be an array of strings.");
|
|
19248
19261
|
}
|
|
19249
19262
|
}
|
|
19250
|
-
var table = new module$exports$eeapiclient$ee_api_client.Table({name:null, expression:expression, fileFormat:fileFormat, selectors:selectors, filename:params.filename || null,});
|
|
19251
|
-
|
|
19263
|
+
var table = new module$exports$eeapiclient$ee_api_client.Table({name:null, expression:expression, fileFormat:fileFormat, selectors:selectors, filename:params.filename || null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
|
|
19264
|
+
workloadTag && (queryParams.workloadTag = workloadTag);
|
|
19265
|
+
return call.handle(call.tables().create(call.projectsPath(), table, queryParams).then(function(res) {
|
|
19252
19266
|
return {docid:res.name || "", token:""};
|
|
19253
19267
|
}));
|
|
19254
19268
|
};
|
|
@@ -24825,27 +24839,27 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
24825
24839
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
24826
24840
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
24827
24841
|
(function() {
|
|
24828
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
24829
|
-
orderedParamLists = [["name"
|
|
24830
|
-
|
|
24831
|
-
|
|
24832
|
-
"image opt_description
|
|
24833
|
-
["
|
|
24834
|
-
"
|
|
24835
|
-
"
|
|
24836
|
-
"
|
|
24837
|
-
[
|
|
24838
|
-
"
|
|
24839
|
-
"opt_geodesic", "
|
|
24840
|
-
[
|
|
24841
|
-
[ee.ApiFunction.
|
|
24842
|
-
module$contents$ee$batch_Export.
|
|
24843
|
-
ee.ComputedObject.prototype.
|
|
24844
|
-
ee.data.
|
|
24845
|
-
ee.data.
|
|
24842
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.map.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.table.toAsset ee.batch.Export.video.toDrive ee.batch.Export.table.toFeatureView ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.classifier.toAsset ee.Collection.prototype.filter ee.Collection.prototype.filterDate ee.Collection.prototype.map ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.iterate ee.Collection.prototype.filterBounds ee.Collection.prototype.filterMetadata ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.data.computeValue ee.data.newTaskId ee.data.getMapId ee.data.getTaskStatus ee.data.listFeatures ee.data.getTileUrl ee.data.getFeatureViewTilesKey ee.data.authenticateViaPrivateKey ee.data.authenticateViaOauth ee.data.getTaskList ee.data.getTaskListWithLimit ee.data.authenticate ee.data.listOperations ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.getInfo ee.data.getTableDownloadId ee.data.getOperation ee.data.setWorkloadTag ee.data.createAssetHome ee.data.getDownloadId ee.data.setDefaultWorkloadTag ee.data.createAsset ee.data.cancelTask ee.data.resetWorkloadTag ee.data.makeThumbUrl ee.data.updateAsset ee.data.startIngestion ee.data.updateTask ee.data.makeDownloadUrl ee.data.getList ee.data.createFolder ee.data.getThumbId ee.data.setAssetAcl ee.data.startProcessing ee.data.listAssets ee.data.renameAsset ee.data.setAssetProperties ee.data.makeTableDownloadUrl ee.data.copyAsset ee.data.listImages ee.data.startTableIngestion ee.data.getAssetRootQuota ee.data.deleteAsset ee.data.listBuckets ee.data.getVideoThumbId ee.data.getFilmstripThumbId ee.data.getAsset ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getAssetRoots ee.Date ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.decode ee.Dictionary ee.initialize ee.apply ee.TILE_SIZE ee.reset ee.InitState ee.Algorithms ee.call ee.Element.prototype.set ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.Feature ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.gte ee.Filter.or ee.Filter.date ee.Filter ee.Filter.inList ee.Filter.prototype.not ee.Filter.metadata ee.Filter.eq ee.Filter.neq ee.Filter.gt ee.Filter.bounds ee.Filter.lte ee.Filter.lt ee.Filter.and ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSONString ee.Geometry.Point ee.Geometry.BBox ee.Geometry.LinearRing ee.Geometry ee.Geometry.MultiPoint ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Geometry.prototype.toGeoJSON ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.prototype.select ee.Image.prototype.expression ee.Image.cat ee.Image ee.Image.prototype.getMap ee.Image.prototype.getDownloadURL ee.Image.rgb ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.List ee.Number ee.Serializer.toReadableJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.Serializer.encode ee.Serializer.toJSON ee.String ee.Terrain".split(" "),
|
|
24843
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices"], "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
24844
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
24845
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),
|
|
24846
|
+
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions".split(" "), ["classifier", "opt_description", "opt_assetId"], ["filter"], ["start", "opt_end"], ["algorithm", "opt_dropNulls"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["algorithm", "opt_first"], ["geometry"], ["name", "operator", "value"], ["callback"],
|
|
24847
|
+
["opt_callback"], ["func", "var_args"], ["legacy"], ["obj", "opt_callback"], ["opt_count", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["asset", "params", "opt_callback"], ["id", "x", "y", "z"], ["params", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["opt_callback"], ["opt_limit", "opt_callback"], ["clientId",
|
|
24848
|
+
"success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["opt_limit", "opt_callback"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["id", "opt_callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["tag"], ["requestedId", "opt_callback"], ["params", "opt_callback"], ["tag"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["taskId", "opt_callback"], ["opt_resetDefault"], ["id"], ["assetId", "asset", "updateFields", "opt_callback"],
|
|
24849
|
+
["taskId", "request", "opt_callback"], ["taskId", "action", "opt_callback"], ["id"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["params", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["taskId", "params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["assetId", "properties", "opt_callback"], ["id"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["parent", "opt_params", "opt_callback"],
|
|
24850
|
+
["taskId", "request", "opt_callback"], ["rootId", "opt_callback"], ["assetId", "opt_callback"], ["project", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["id", "opt_callback"], ["assetId", "opt_callback"], [], ["opt_callback"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "namedArgs"], [], [], [], [], ["func", "var_args"], ["var_args"],
|
|
24851
|
+
["opt_visParams", "opt_callback"], ["opt_callback"], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["name", "value"], ["var_args"], ["start", "opt_end"], ["opt_filter"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], [], ["name", "operator", "value"], ["name", "value"], ["name",
|
|
24852
|
+
"value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["var_args"], ["namedArgs"], ["var_args"], [], ["coords", "opt_proj"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["legacy"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj",
|
|
24853
|
+
"opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], [], ["opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["var_args"], ["var_args"], ["expression", "opt_map"], ["var_args"], ["opt_args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["r", "g", "b"], ["selectors", "opt_names"], ["args"], ["params", "opt_callback"], ["params", "opt_callback"],
|
|
24854
|
+
[], ["opt_visParams", "opt_callback"], ["opt_callback"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["obj"], ["string"], []];
|
|
24855
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.image.toCloudStorage,
|
|
24856
|
+
module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.filter, ee.Collection.prototype.filterDate, ee.Collection.prototype.map, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.iterate, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterMetadata, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.aside,
|
|
24857
|
+
ee.ComputedObject.prototype.serialize, ee.data.computeValue, ee.data.newTaskId, ee.data.getMapId, ee.data.getTaskStatus, ee.data.listFeatures, ee.data.getTileUrl, ee.data.getFeatureViewTilesKey, ee.data.authenticateViaPrivateKey, ee.data.authenticateViaOauth, ee.data.getTaskList, ee.data.getTaskListWithLimit, ee.data.authenticate, ee.data.listOperations, ee.data.cancelOperation, ee.data.authenticateViaPopup, ee.data.getInfo, ee.data.getTableDownloadId, ee.data.getOperation, ee.data.setWorkloadTag,
|
|
24858
|
+
ee.data.createAssetHome, ee.data.getDownloadId, ee.data.setDefaultWorkloadTag, ee.data.createAsset, ee.data.cancelTask, ee.data.resetWorkloadTag, ee.data.makeThumbUrl, ee.data.updateAsset, ee.data.startIngestion, ee.data.updateTask, ee.data.makeDownloadUrl, ee.data.getList, ee.data.createFolder, ee.data.getThumbId, ee.data.setAssetAcl, ee.data.startProcessing, ee.data.listAssets, ee.data.renameAsset, ee.data.setAssetProperties, ee.data.makeTableDownloadUrl, ee.data.copyAsset, ee.data.listImages,
|
|
24859
|
+
ee.data.startTableIngestion, ee.data.getAssetRootQuota, ee.data.deleteAsset, ee.data.listBuckets, ee.data.getVideoThumbId, ee.data.getFilmstripThumbId, ee.data.getAsset, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getAssetRoots, ee.Date, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.decode, ee.Dictionary, ee.initialize, ee.apply, ee.TILE_SIZE, ee.reset, ee.InitState, ee.Algorithms, ee.call, ee.Element.prototype.set, ee.Feature.prototype.getMap,
|
|
24846
24860
|
ee.Feature.prototype.getInfo, ee.Feature, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.gte, ee.Filter.or, ee.Filter.date, ee.Filter, ee.Filter.inList, ee.Filter.prototype.not, ee.Filter.metadata, ee.Filter.eq, ee.Filter.neq, ee.Filter.gt, ee.Filter.bounds, ee.Filter.lte, ee.Filter.lt, ee.Filter.and, ee.Function.prototype.apply, ee.Function.prototype.call,
|
|
24847
24861
|
ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Point, ee.Geometry.BBox, ee.Geometry.LinearRing, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Geometry.prototype.toGeoJSON, ee.Image.prototype.getInfo, ee.Image.prototype.getThumbURL, ee.Image.prototype.getThumbId, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.prototype.select, ee.Image.prototype.expression,
|
|
24848
|
-
ee.Image.cat, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.ImageCollection.prototype.select, ee.ImageCollection
|
|
24862
|
+
ee.Image.cat, ee.Image, ee.Image.prototype.getMap, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.ImageCollection.prototype.select, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.List, ee.Number, ee.Serializer.toReadableJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty,
|
|
24849
24863
|
ee.Serializer.toCloudApiJSON, ee.Serializer.encode, ee.Serializer.toJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
24850
24864
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
24851
24865
|
});
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -25,7 +25,7 @@ const {PromiseRequestService} = goog.require('eeapiclient.promise_request_servic
|
|
|
25
25
|
/** @namespace */
|
|
26
26
|
const apiclient = {};
|
|
27
27
|
|
|
28
|
-
const API_CLIENT_VERSION = '0.1.
|
|
28
|
+
const API_CLIENT_VERSION = '0.1.334';
|
|
29
29
|
|
|
30
30
|
exports.VERSION = apiVersion.VERSION;
|
|
31
31
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|