@google/earthengine 0.1.350 → 0.1.352
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 +12 -0
- package/.tmp/METADATA +4 -4
- package/.tmp/VERSION_BUILD +2 -2
- package/build/browser.js +32 -31
- package/build/ee_api_js.js +19 -18
- package/build/ee_api_js_debug.js +10 -9
- package/build/ee_api_js_npm.js +32 -31
- package/build/main.js +32 -31
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/batch.js +1 -0
- package/src/encodable_batch.js +1 -1
package/.tmp/BUILD
CHANGED
|
@@ -469,10 +469,22 @@ Fileset(
|
|
|
469
469
|
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.348:public",
|
|
470
470
|
destdir = "0.1.348",
|
|
471
471
|
),
|
|
472
|
+
FilesetEntry(
|
|
473
|
+
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.349:public",
|
|
474
|
+
destdir = "0.1.349",
|
|
475
|
+
),
|
|
472
476
|
FilesetEntry(
|
|
473
477
|
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.350:public",
|
|
474
478
|
destdir = "0.1.350",
|
|
475
479
|
),
|
|
480
|
+
FilesetEntry(
|
|
481
|
+
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.351:public",
|
|
482
|
+
destdir = "0.1.351",
|
|
483
|
+
),
|
|
484
|
+
FilesetEntry(
|
|
485
|
+
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.352:public",
|
|
486
|
+
destdir = "0.1.352",
|
|
487
|
+
),
|
|
476
488
|
# NEXT RELEASE GOES HERE. DO NOT REMOVE OR CHANGE THIS LINE.
|
|
477
489
|
],
|
|
478
490
|
)
|
package/.tmp/METADATA
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Format: google3/devtools/metadata/metadata.proto (go/google3metadata)
|
|
2
2
|
|
|
3
|
-
name: "0.1.
|
|
3
|
+
name: "0.1.352"
|
|
4
4
|
description:
|
|
5
5
|
"Google Earth Engine is a cloud-based platform for planetary-scale "
|
|
6
6
|
"environmental data analysis. The Earth Engine JavaScript API allows "
|
|
@@ -12,10 +12,10 @@ third_party {
|
|
|
12
12
|
type: GIT
|
|
13
13
|
value: "https://github.com/google/earthengine-api.git"
|
|
14
14
|
}
|
|
15
|
-
version: "v0.1.
|
|
15
|
+
version: "v0.1.352"
|
|
16
16
|
last_upgrade_date: {
|
|
17
17
|
year: 2023
|
|
18
|
-
month:
|
|
19
|
-
day:
|
|
18
|
+
month: 5
|
|
19
|
+
day: 3
|
|
20
20
|
}
|
|
21
21
|
}
|
package/.tmp/VERSION_BUILD
CHANGED
|
@@ -9,7 +9,7 @@ load("//tools/build_defs/license:license.bzl", "license")
|
|
|
9
9
|
load("//tools/build_defs/build_test:build_test.bzl", "build_test")
|
|
10
10
|
|
|
11
11
|
package(
|
|
12
|
-
default_applicable_licenses = ["//third_party/hosted_libraries/libs/earthengine/0.1.
|
|
12
|
+
default_applicable_licenses = ["//third_party/hosted_libraries/libs/earthengine/0.1.352:license"],
|
|
13
13
|
default_visibility = [
|
|
14
14
|
"//third_party/hosted_libraries/libs/earthengine:__pkg__",
|
|
15
15
|
],
|
|
@@ -17,7 +17,7 @@ package(
|
|
|
17
17
|
|
|
18
18
|
license(
|
|
19
19
|
name = "license",
|
|
20
|
-
package_name = "0.1.
|
|
20
|
+
package_name = "0.1.352",
|
|
21
21
|
)
|
|
22
22
|
|
|
23
23
|
licenses(["notice"])
|
package/build/browser.js
CHANGED
|
@@ -2606,9 +2606,10 @@ goog.events.BrowserFeature = {TOUCH_ENABLED:"ontouchstart" in goog.global || !!(
|
|
|
2606
2606
|
passive = !0;
|
|
2607
2607
|
}});
|
|
2608
2608
|
try {
|
|
2609
|
-
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2609
|
+
var nullFunction = function() {
|
|
2610
|
+
};
|
|
2611
|
+
goog.global.addEventListener("test", nullFunction, options);
|
|
2612
|
+
goog.global.removeEventListener("test", nullFunction, options);
|
|
2612
2613
|
} catch (e) {
|
|
2613
2614
|
}
|
|
2614
2615
|
return passive;
|
|
@@ -17587,7 +17588,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17587
17588
|
ee.apiclient = {};
|
|
17588
17589
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17589
17590
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17590
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17591
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.352";
|
|
17591
17592
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17592
17593
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17593
17594
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17868,8 +17869,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17868
17869
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17869
17870
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17870
17871
|
method = method || "POST";
|
|
17871
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17872
|
-
"0.1.
|
|
17872
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.352";
|
|
17873
|
+
"0.1.352" === version && (version = "latest");
|
|
17873
17874
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17874
17875
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17875
17876
|
if (null != authToken) {
|
|
@@ -19320,7 +19321,7 @@ ee.rpc_convert_batch.buildGeoTiffFormatOptions_ = function(params) {
|
|
|
19320
19321
|
throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
19321
19322
|
}
|
|
19322
19323
|
var tileSize = params.tiffShardSize || params.shardSize;
|
|
19323
|
-
return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.
|
|
19324
|
+
return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.tiffNoData),});
|
|
19324
19325
|
};
|
|
19325
19326
|
ee.rpc_convert_batch.buildTfRecordFormatOptions_ = function(params) {
|
|
19326
19327
|
var tfRecordOptions = new module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptions({compress:!!params.tfrecordCompressed, maxSizeBytes:stringOrNull_(params.tfrecordMaxFileSize), sequenceData:!!params.tfrecordSequenceData, collapseBands:!!params.tfrecordCollapseBands, maxMaskedRatio:numberOrNull_(params.tfrecordMaskedThreshold), defaultValue:numberOrNull_(params.tfrecordDefaultValue), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.tfrecordPatchDimensions),
|
|
@@ -21986,7 +21987,7 @@ module$contents$ee$batch_Export.table.toFeatureView = function(collection, opt_d
|
|
|
21986
21987
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
21987
21988
|
};
|
|
21988
21989
|
goog.exportSymbol("module$contents$ee$batch_Export.table.toFeatureView", module$contents$ee$batch_Export.table.toFeatureView);
|
|
21989
|
-
module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices) {
|
|
21990
|
+
module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices, opt_overwrite) {
|
|
21990
21991
|
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.table.toBigQuery, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.BIGQUERY, ee.data.ExportType.TABLE);
|
|
21991
21992
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
21992
21993
|
};
|
|
@@ -22163,7 +22164,7 @@ module$contents$ee$batch_Export.classifier.prepareTaskConfig_ = function(taskCon
|
|
|
22163
22164
|
return taskConfig = module$contents$ee$batch_Export.prepareDestination_(taskConfig, destination);
|
|
22164
22165
|
};
|
|
22165
22166
|
var module$contents$ee$batch_VideoFormat = {MP4:"MP4", GIF:"GIF", VP9:"VP9",}, module$contents$ee$batch_MapFormat = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", JPEG:"JPEG", PNG:"PNG",}, module$contents$ee$batch_ImageFormat = {GEO_TIFF:"GEO_TIFF", TF_RECORD_IMAGE:"TF_RECORD_IMAGE",}, module$contents$ee$batch_TableFormat = {CSV:"CSV", GEO_JSON:"GEO_JSON", KML:"KML", KMZ:"KMZ", SHP:"SHP", TF_RECORD_TABLE:"TF_RECORD_TABLE",}, module$contents$ee$batch_VideoMapVersion = {V1:"V1", V2:"V2",}, module$contents$ee$batch_FORMAT_OPTIONS_MAP =
|
|
22166
|
-
{GEO_TIFF:["cloudOptimized", "fileDimensions", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
|
|
22167
|
+
{GEO_TIFF:["cloudOptimized", "fileDimensions", "noData", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
|
|
22167
22168
|
module$contents$ee$batch_Export.reconcileVideoFormat_ = function(taskConfig) {
|
|
22168
22169
|
taskConfig.videoOptions = taskConfig.framesPerSecond || 5;
|
|
22169
22170
|
taskConfig.maxFrames = taskConfig.maxFrames || 1E3;
|
|
@@ -25342,28 +25343,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
25342
25343
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
25343
25344
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
25344
25345
|
(function() {
|
|
25345
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
25346
|
-
orderedParamLists = [["name", "
|
|
25347
|
-
|
|
25348
|
-
"
|
|
25349
|
-
"collection opt_description
|
|
25350
|
-
|
|
25351
|
-
"
|
|
25352
|
-
["
|
|
25353
|
-
"opt_callback"], ["
|
|
25354
|
-
"
|
|
25355
|
-
"
|
|
25356
|
-
"
|
|
25357
|
-
"opt_callback"], ["
|
|
25358
|
-
[ee.ApiFunction.
|
|
25359
|
-
module$contents$ee$batch_Export.
|
|
25360
|
-
ee.ComputedObject.prototype.
|
|
25361
|
-
ee.data.
|
|
25362
|
-
ee.data.listAssets, ee.data.
|
|
25363
|
-
ee.Feature, ee.
|
|
25364
|
-
ee.Geometry.
|
|
25365
|
-
ee.Image.prototype.
|
|
25366
|
-
ee.Serializer.
|
|
25346
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction._call ee.ApiFunction.lookup ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.copyAsset ee.data.listBuckets ee.data.setAssetAcl ee.data.authenticateViaPrivateKey ee.data.getTaskStatus ee.data.deleteAsset ee.data.authenticateViaPopup ee.data.listImages ee.data.startIngestion ee.data.cancelOperation ee.data.listOperations ee.data.authenticate ee.data.renameAsset ee.data.getThumbId ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.makeTableDownloadUrl ee.data.getFilmstripThumbId ee.data.getVideoThumbId ee.data.getDownloadId ee.data.createFolder ee.data.createAssetHome ee.data.setAssetProperties ee.data.resetWorkloadTag ee.data.makeDownloadUrl ee.data.setDefaultWorkloadTag ee.data.getInfo ee.data.setWorkloadTag ee.data.getTableDownloadId ee.data.createAsset ee.data.getMapId ee.data.updateTask ee.data.startProcessing ee.data.getWorkloadTag ee.data.updateAsset ee.data.getAsset ee.data.cancelTask ee.data.getTileUrl ee.data.startTableIngestion ee.data.getOperation ee.data.getList ee.data.listAssets ee.data.getAssetRootQuota ee.data.getAssetRoots ee.data.getAssetAcl ee.data.getFeatureViewTilesKey ee.data.getTaskList ee.data.listFeatures ee.data.getTaskListWithLimit ee.data.computeValue ee.data.newTaskId ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.InitState ee.Algorithms ee.reset ee.apply ee.initialize ee.TILE_SIZE ee.call ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.prototype.not ee.Filter.inList ee.Filter ee.Filter.eq ee.Filter.metadata ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.cat ee.Image.prototype.expression ee.Image ee.Image.prototype.clip ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
25347
|
+
orderedParamLists = [["name", "namedArgs"], ["name", "var_args"], ["name"], "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_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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(" "),
|
|
25348
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "), "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(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
25349
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), "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(" "),
|
|
25350
|
+
"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_assetId", "opt_maxVertices"], ["classifier", "opt_description", "opt_assetId"], ["name", "operator", "value"], ["start",
|
|
25351
|
+
"opt_end"], ["algorithm", "opt_first"], ["filter"], ["algorithm", "opt_dropNulls"], ["geometry"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["taskId", "opt_callback"], ["assetId",
|
|
25352
|
+
"opt_callback"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id"], ["params", "opt_callback"],
|
|
25353
|
+
["params", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["requestedId", "opt_callback"], ["assetId", "properties", "opt_callback"], ["opt_resetDefault"], ["id"], ["tag"], ["id", "opt_callback"], ["tag"], ["params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "params", "opt_callback"], [], ["assetId", "asset", "updateFields", "opt_callback"],
|
|
25354
|
+
["id", "opt_callback"], ["taskId", "opt_callback"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["rootId", "opt_callback"], ["opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["asset", "params", "opt_callback"], ["opt_limit", "opt_callback"], ["obj", "opt_callback"], ["opt_count", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"],
|
|
25355
|
+
["json"], ["json"], ["opt_dict"], [], [], [], ["func", "namedArgs"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "var_args"], ["var_args"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"],
|
|
25356
|
+
["name", "value"], ["var_args"], ["var_args"], ["name", "value"], ["start", "opt_end"], [], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["opt_filter"], ["name", "value"], ["name", "operator", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], [], [], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["legacy"], ["coords", "opt_proj",
|
|
25357
|
+
"opt_geodesic", "opt_maxError", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["var_args"], ["var_args"], ["expression", "opt_map"], ["opt_args"], ["geometry"], ["opt_visParams", "opt_callback"],
|
|
25358
|
+
["var_args"], ["params", "opt_callback"], ["r", "g", "b"], ["opt_callback"], ["params", "opt_callback"], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], [], ["selectors", "opt_names"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
25359
|
+
[ee.ApiFunction._apply, ee.ApiFunction._call, ee.ApiFunction.lookup, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toDrive,
|
|
25360
|
+
module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo,
|
|
25361
|
+
ee.ComputedObject.prototype.serialize, ee.data.copyAsset, ee.data.listBuckets, ee.data.setAssetAcl, ee.data.authenticateViaPrivateKey, ee.data.getTaskStatus, ee.data.deleteAsset, ee.data.authenticateViaPopup, ee.data.listImages, ee.data.startIngestion, ee.data.cancelOperation, ee.data.listOperations, ee.data.authenticate, ee.data.renameAsset, ee.data.getThumbId, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.makeTableDownloadUrl, ee.data.getFilmstripThumbId, ee.data.getVideoThumbId,
|
|
25362
|
+
ee.data.getDownloadId, ee.data.createFolder, ee.data.createAssetHome, ee.data.setAssetProperties, ee.data.resetWorkloadTag, ee.data.makeDownloadUrl, ee.data.setDefaultWorkloadTag, ee.data.getInfo, ee.data.setWorkloadTag, ee.data.getTableDownloadId, ee.data.createAsset, ee.data.getMapId, ee.data.updateTask, ee.data.startProcessing, ee.data.getWorkloadTag, ee.data.updateAsset, ee.data.getAsset, ee.data.cancelTask, ee.data.getTileUrl, ee.data.startTableIngestion, ee.data.getOperation, ee.data.getList,
|
|
25363
|
+
ee.data.listAssets, ee.data.getAssetRootQuota, ee.data.getAssetRoots, ee.data.getAssetAcl, ee.data.getFeatureViewTilesKey, ee.data.getTaskList, ee.data.listFeatures, ee.data.getTaskListWithLimit, ee.data.computeValue, ee.data.newTaskId, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Dictionary, ee.InitState, ee.Algorithms, ee.reset, ee.apply, ee.initialize, ee.TILE_SIZE, ee.call, ee.Element.prototype.set, ee.Feature,
|
|
25364
|
+
ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.lt, ee.Filter.and, ee.Filter.or, ee.Filter.gte, ee.Filter.date, ee.Filter.prototype.not, ee.Filter.inList, ee.Filter, ee.Filter.eq, ee.Filter.metadata, ee.Filter.neq, ee.Filter.bounds, ee.Filter.gt, ee.Filter.lte, ee.Function.prototype.apply,
|
|
25365
|
+
ee.Function.prototype.call, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry.Point, ee.Geometry.LinearRing, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Image.prototype.getThumbId, ee.Image.prototype.select, ee.Image.cat, ee.Image.prototype.expression, ee.Image, ee.Image.prototype.clip, ee.Image.prototype.getMap,
|
|
25366
|
+
ee.Image.prototype.rename, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.Image.prototype.getInfo, ee.Image.prototype.getThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON,
|
|
25367
|
+
ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
25367
25368
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
25368
25369
|
});
|
|
25369
25370
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/build/ee_api_js.js
CHANGED
|
@@ -45,7 +45,7 @@ var z=function(a,b,c){a||Ia("",null,b,Array.prototype.slice.call(arguments,2))},
|
|
|
45
45
|
g){var l=g[f];b.call(void 0,l,f,a)&&(d[e++]=l)}return d},Ta=Array.prototype.map?function(a,b,c){z(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),g="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in g&&(e[f]=b.call(c,g[f],f,a));return e},Ua=Array.prototype.some?function(a,b){z(null!=a.length);return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],
|
|
46
46
|
e,a))return!0;return!1},Va=Array.prototype.every?function(a,b){z(null!=a.length);return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&!b.call(void 0,d[e],e,a))return!1;return!0};function Wa(a,b){var c=0;Ra(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c}function Xa(a,b){return 0<=Pa(a,b)}function Ya(a,b){b=Pa(a,b);var c;(c=0<=b)&&Za(a,b);return c}
|
|
47
47
|
function Za(a,b){z(null!=a.length);Array.prototype.splice.call(a,b,1)}function $a(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]}function ab(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(ua(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var f=0;f<g;f++)a[e+f]=d[f]}else a.push(d)}}function bb(a,b,c){z(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
|
|
48
|
-
function cb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function db(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var g=bb(d,e,e+8192);g=db.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var eb=Object.freeze||function(a){return a};var fb=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{r.addEventListener("test",
|
|
48
|
+
function cb(a){var b=[];if(0>a-0)return[];for(var c=0;c<a;c+=1)b.push(c);return b}function db(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(Array.isArray(d))for(var e=0;e<d.length;e+=8192){var g=bb(d,e,e+8192);g=db.apply(null,g);for(var f=0;f<g.length;f++)b.push(g[f])}else b.push(d)}return b};var eb=Object.freeze||function(a){return a};var fb=function(){if(!r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};r.addEventListener("test",c,b);r.removeEventListener("test",c,b)}catch(d){}return a}();var gb,hb;a:{for(var ib=["CLOSURE_FLAGS"],jb=r,kb=0;kb<ib.length;kb++)if(jb=jb[ib[kb]],null==jb){hb=null;break a}hb=jb}var lb=hb&&hb[610401301];gb=null!=lb?lb:!1;function mb(){var a=r.navigator;return a&&(a=a.userAgent)?a:""}var nb,ob=r.navigator;nb=ob?ob.userAgentData||null:null;function pb(a){return-1!=mb().indexOf(a)};function qb(){return gb&&nb&&0<nb.brands.length?!1:pb("Trident")||pb("MSIE")};var rb=function(a){rb[" "](a);return a};rb[" "]=function(){};var sb=qb(),tb=pb("Gecko")&&!(-1!=mb().toLowerCase().indexOf("webkit")&&!pb("Edge"))&&!(pb("Trident")||pb("MSIE"))&&!pb("Edge"),ub=-1!=mb().toLowerCase().indexOf("webkit")&&!pb("Edge");var wb=function(a,b){Ea.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.La=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=
|
|
49
49
|
b;if(b=a.relatedTarget){if(tb){a:{try{rb(b.nodeName);var e=!0;break a}catch(g){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=ub||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=ub||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,
|
|
50
50
|
this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:vb[a.pointerType]||"";this.state=a.state;this.La=a;a.defaultPrevented&&wb.L.preventDefault.call(this)}};
|
|
51
51
|
x(wb,Ea);var vb=eb({2:"touch",3:"pen",4:"mouse"});wb.prototype.stopPropagation=function(){wb.L.stopPropagation.call(this);this.La.stopPropagation?this.La.stopPropagation():this.La.cancelBubble=!0};wb.prototype.preventDefault=function(){wb.L.preventDefault.call(this);var a=this.La;a.preventDefault?a.preventDefault():a.returnValue=!1};var xb="closure_listenable_"+(1E6*Math.random()|0),yb=function(a){return!(!a||!a[xb])};var zb=0;var Ab=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.mb=e;this.key=++zb;this.hd=this.xd=!1},Bb=function(a){a.hd=!0;a.listener=null;a.proxy=null;a.src=null;a.mb=null};function Cb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Db(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Eb(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d}function Fb(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}function Gb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Hb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Jb(a,b){for(var c in a)if(a[c]==b)return!0;return!1}
|
|
@@ -455,7 +455,7 @@ Tc(q,f[m]))});return b?b(l):l};return this.callback?(qj(d,null,function(f,l){ret
|
|
|
455
455
|
sj.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=uj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
456
456
|
var vj=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},oj=function(){var a=wj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},yj=function(a,b,c){var d=[];a&&(d=d.concat(xj));
|
|
457
457
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var g=a[c++],f=t(g)?"o"+ya(g):(typeof g).charAt(0)+g;Object.prototype.hasOwnProperty.call(e,f)||(e[f]=!0,a[b++]=g)}a.length=b;return d},Ej=function(a,b,c){zj&&Aj&&zj({client_id:String(Aj),immediate:!0,scope:Bj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{Cj(function(){try{r.gapi.auth.setToken(d),Dj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else Dj(a,
|
|
458
|
-
b,d)})},uj=function(){Fj&&0<=Date.now()-Fj&&Gj();return Hj},Gj=function(){Fj=Hj=null},lj=function(a,b,c,d){null!=a?wj=a:Ij||(wj="https://earthengine.googleapis.com/api");null!=b?Jj=b:Ij||(Jj="https://earthengine.googleapis.com");void 0!==c&&(Kj=c);kj=null!=d?d:kj||"earthengine-legacy";Ij=!0},qj=function(a,b,c,d,e,g){lj();var f=Lj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.
|
|
458
|
+
b,d)})},uj=function(){Fj&&0<=Date.now()-Fj&&Gj();return Hj},Gj=function(){Fj=Hj=null},lj=function(a,b,c,d){null!=a?wj=a:Ij||(wj="https://earthengine.googleapis.com/api");null!=b?Jj=b:Ij||(Jj="https://earthengine.googleapis.com");void 0!==c&&(Kj=c);kj=null!=d?d:kj||"earthengine-legacy";Ij=!0},qj=function(a,b,c,d,e,g){lj();var f=Lj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.352";"0.1.352"===
|
|
459
459
|
m&&(m="latest");l["x-goog-api-client"]="ee-js/"+m;m=uj();if(null!=m)l.Authorization=m;else if(c&&zj&&Aj)return Ej(function(){Mj(f,function(){qj(a,b,c,d)})}),null;b=b?b.clone():new Ed;null!=Nj&&b.add("key",Nj);f&&(l["X-Earth-Engine-Computation-Profiling"]="1");kj&&"earthengine-legacy"!==kj&&(l["X-Goog-User-Project"]=kj);b=Oj(b,a);null!=Kj&&(l["X-XSRF-Token"]=Kj);null!=Pj&&(l["X-Earth-Engine-App-ID-Token"]=Pj);m=e||null;var q=b?b.toString():"";"POST"===d&&void 0===e?m=q:/^[\s\xa0]*$/.test(q)||(a+=-1!=
|
|
460
460
|
a.indexOf("?")?"&":"?",a+=q);e=a.startsWith("/")?wj+a:a;if(c)return Qj.push(Rj(e,c,d,m,l,g)),Sj.lf(),null;q=function(D,Q){this.setRequestHeader&&this.setRequestHeader(Q,D)};var v=0;for(g=null!=g?g:5;;){var B=Xi(Vi);B.open(d,e,!1);Cb(l,q,B);B.send(m);if(429!=B.status||v>g)break;v++}return Tj(B.status,function(D){try{return B.getResponseHeader(D)}catch(Q){return null}},B.responseText,f,void 0,e,d)},Rj=function(a,b,c,d,e,g){var f=0,l={url:a,method:c,content:d,headers:e},m=Lj,q=null!=g?g:10;l.callback=
|
|
461
461
|
function(v){v=v.target;if(429==v.getStatus()&&f<q)return f++,setTimeout(function(){Qj.push(l);Sj.lf()},Math.min(12E4,1E3*Math.pow(2,f))),null;var B=Tj,D=v.getStatus(),Q=u(v.getResponseHeader,v);try{var Y=v.s?v.s.responseText:""}catch(T){Qi(v.ia,"Can not get responseText: "+T.message),Y=""}return B(D,Q,Y,m,b,a,c)};return l},Mj=function(a,b){var c=Lj;try{Lj=a,b.call(void 0)}finally{Lj=c}},Tj=function(a,b,c,d,e,g,f){var l=d?b("X-Earth-Engine-Computation-Profile"):"";l&&d&&d(l);var m=function(Y){try{var T=
|
|
@@ -513,7 +513,7 @@ jl(a);b.pa=d;break;case "ASSET":b.ua=new Df({Ja:kl(a)});break;case "FEATURE_VIEW
|
|
|
513
513
|
a.workloadTag);return b};function J(a){return null!=a?String(a):null}function K(a){return null!=a?Number(a):null}
|
|
514
514
|
var hl=function(a){var b="DRIVE";if(null==a)return b;null!=a.outputBucket||null!=a.outputPrefix?b="GOOGLE_CLOUD_STORAGE":null!=a.assetId?b="ASSET":null!=a.mapName&&(b="FEATURE_VIEW");null!=a.table&&(b="BIGQUERY");return b},ol=function(a){var b=new gg({Ve:!!a.tfrecordCompressed,Zb:J(a.tfrecordMaxFileSize),fg:!!a.tfrecordSequenceData,Te:!!a.tfrecordCollapseBands,Mf:K(a.tfrecordMaskedThreshold),defaultValue:K(a.tfrecordDefaultValue),bb:nl(a.tfrecordPatchDimensions),If:nl(a.tfrecordKernelSize),he:null});
|
|
515
515
|
a=a.tfrecordTensorDepths;if(null!=a)if(t(a)){var c={};Cb(a,function(d,e){if("string"!==typeof e||"number"!==typeof d)throw Error('"tensorDepths" option must be an object of type Object<string, number>');c[e]=d});b.he=c}else throw Error('"tensorDepths" option needs to have the form Object<string, number>.');return b},pl=function(a,b){var c=new yf({ka:null,na:null,Hd:null,ie:null,F:dk(a.fileFormat)});if("GEO_TIFF"===c.F){if(a.fileDimensions&&a.tiffFileDimensions)throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
516
|
-
var d=a.tiffShardSize||a.shardSize;var e=!!a.tiffCloudOptimized;var g=!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),f=nl(a.fileDimensions||a.tiffFileDimensions);d=K(d);var l=a.
|
|
516
|
+
var d=a.tiffShardSize||a.shardSize;var e=!!a.tiffCloudOptimized;var g=!(!a.skipEmptyTiles&&!a.tiffSkipEmptyFiles),f=nl(a.fileDimensions||a.tiffFileDimensions);d=K(d);var l=a.tiffNoData;l=null!=l?new Zf({mf:Number(l)}):null;e=new Yf({Se:e,lg:g,bb:f,tileSize:d,Of:l});c.Hd=e}else"TF_RECORD_IMAGE"===c.F&&(c.ie=ol(a));"GOOGLE_CLOUD_STORAGE"===b?c.ka=il(a):c.na=jl(a);return c},ql=function(a,b){var c=new If({ka:null,na:null,F:"MP4"});"GOOGLE_CLOUD_STORAGE"===b?c.ka=il(a):c.na=jl(a);return c},rl=function(a){var b,
|
|
517
517
|
c,d,e,g=K(null!=(b=a.endZoom)?b:a.maxZoom);b=K(null!=(c=a.startZoom)?c:a.minZoom);c=K(a.scale);var f=!(null!=(d=a.skipEmpty)?!d:!a.skipEmptyTiles);d=J(a.mapsApiKey);var l=nl(null!=(e=a.dimensions)?e:a.tileDimensions);e=K(a.stride);var m=K(a.minTimeMachineZoomSubset);a=K(a.maxTimeMachineZoomSubset);a=null==m&&null==a?null:new Ng({start:null!=m?m:0,end:a});return new Bf({df:g,mg:b,scale:c,kg:f,Hf:d,dimensions:l,ng:e,Fg:a})},nl=function(a){if(null==a)return null;var b=new $f({height:0,width:0});"string"===
|
|
518
518
|
typeof a&&(-1!==a.indexOf("x")?a=a.split("x").map(Number):-1!==a.indexOf(",")&&(a=a.split(",").map(Number)));if(Array.isArray(a))if(2===a.length)b.height=a[0],b.width=a[1];else if(1===a.length)b.height=a[0],b.width=a[0];else throw Error("Unable to construct grid from dimensions: "+a);else if("number"!==typeof a||isNaN(a))if(t(a)&&null!=a.height&&null!=a.width)b.height=a.height,b.width=a.width;else throw Error("Unable to construct grid from dimensions: "+a);else b.height=a,b.width=a;return b},il=function(a){var b=
|
|
519
519
|
null;null!=a.writePublicTiles&&(b=a.writePublicTiles?"PUBLIC":"DEFAULT_OBJECT_ACL");return new Xe({oc:J(a.outputBucket),ea:J(a.outputPrefix),pc:a.bucketCorsUris||null,permissions:b})},jl=function(a){return new jf({pf:J(a.driveFolder),ea:J(a.driveFileNamePrefix)})},kl=function(a){return new Ve({name:pk(a.assetId)})},ll=function(a){if(!a)return null;var b=a;"string"===typeof a&&(a=a.split(","));if(Array.isArray(a))return new Ig({Wf:(a||[]).map(sl)});throw Error("Unable to build ranking rule from rules: "+
|
|
@@ -639,7 +639,7 @@ delete e.crsTransform);break;case "EXPORT_TILES":b=Ko(e,b);e=b.fileFormat;null==
|
|
|
639
639
|
a&&(a="CSV");a=a.toUpperCase();switch(a){case "CSV":a="CSV";break;case "JSON":case "GEOJSON":case "GEO_JSON":a="GEO_JSON";break;case "KML":a="KML";break;case "KMZ":a="KMZ";break;case "SHP":a="SHP";break;case "TF_RECORD":case "TF_RECORD_TABLE":case "TFRECORD":a="TF_RECORD_TABLE";break;default:throw Error("Invalid file format "+a+". Supported formats are: 'CSV', 'GeoJSON', 'KML', 'KMZ', 'SHP', and 'TFRecord'.");}e.fileFormat=a;e=Ko(e,b);break;case "EXPORT_VIDEO":e=Lo(e);e=Ko(e,b);null!=e.crsTransform&&
|
|
640
640
|
(e.crs_transform=e.crsTransform,delete e.crsTransform);break;case "EXPORT_VIDEO_MAP":e=Lo(e);e.version=e.version||"V1";e.stride=e.stride||1;e.tileDimensions={width:e.tileWidth||256,height:e.tileHeight||256};e=Ko(e,b);break;case "EXPORT_CLASSIFIER":e=Ko(e,b);break;default:throw Error("Unknown export type: "+e.type);}if(d&&null!=e.region){d=e;b=e.region;if(b instanceof S)b=b.ke();else if("string"===typeof b)try{b=Oa(JSON.parse(b))}catch(g){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");
|
|
641
641
|
}if(!(t(b)&&"type"in b))try{new yn(b)}catch(g){try{new Bn(b)}catch(f){throw Error("Invalid format for region property. Region must be GeoJSON LinearRing or Polygon specified as actual coordinates or serialized as a string. See Export documentation.");}}b=JSON.stringify(b);d.region=b}return e},Ko=function(a,b){switch(b){case "GOOGLE_CLOUD_STORAGE":a.outputBucket=a.bucket||"";a.outputPrefix=a.fileNamePrefix||a.path||"";delete a.fileNamePrefix;delete a.path;delete a.bucket;break;case "ASSET":a.assetId=
|
|
642
|
-
a.assetId||"";break;case "FEATURE_VIEW":a.mapName=a.mapName||"";break;case "BIGQUERY":a.table=a.table||"";break;default:b=ta(a.folder);if(!Xa(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},Mo={GEO_TIFF:["cloudOptimized","fileDimensions","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
642
|
+
a.assetId||"";break;case "FEATURE_VIEW":a.mapName=a.mapName||"";break;case "BIGQUERY":a.table=a.table||"";break;default:b=ta(a.folder);if(!Xa(["string","undefined"],b))throw Error('Error: toDrive "folder" parameter must be a string, but is of type '+b+".");a.driveFolder=a.folder||"";a.driveFileNamePrefix=a.fileNamePrefix||"";delete a.folder;delete a.fileNamePrefix}return a},Mo={GEO_TIFF:["cloudOptimized","fileDimensions","noData","shardSize"],TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")},
|
|
643
643
|
No={GEO_TIFF:"tiff",TF_RECORD_IMAGE:"tfrecord"},Lo=function(a){a.videoOptions=a.framesPerSecond||5;a.maxFrames=a.maxFrames||1E3;a.maxPixels=a.maxPixels||1E8;var b=a.fileFormat;null==b&&(b="MP4");b=b.toUpperCase();switch(b){case "MP4":b="MP4";break;case "GIF":case "JIF":b="GIF";break;case "VP9":case "WEBM":b="VP9";break;default:throw Error("Invalid file format "+b+". Supported formats are: 'MP4', 'GIF', and 'WEBM'.");}a.fileFormat=b;return a},Jo=function(a,b){var c=a.formatOptions;if(null==c)return{};
|
|
644
644
|
if(Object.keys(a).some(function(m){return null!==c&&m in c}))throw Error("Parameter specified at least twice: once in config, and once in config format options.");a=No[b];for(var d=Mo[b],e={},g=n(Object.entries(c)),f=g.next();!f.done;f=g.next()){var l=n(f.value);f=l.next().value;l=l.next().value;if(!Xa(d,f))throw Error('"'+f+'" is not a valid option, the image format "'+b+'""may have the following options: '+(d.join(", ")+'".'));e[a+f[0].toUpperCase()+f.substring(1)]=Array.isArray(l)?l.join():l}return e},
|
|
645
645
|
Io=["image","collection","classifier"];var Oo=function(a){if(!(this instanceof Oo))return Jm(Oo,arguments);if(a instanceof Oo)return a;Po();if("number"===typeof a)M.call(this,null,null),this.Zc=a;else if(a instanceof M)M.call(this,a.I,a.args,a.T),this.Zc=null;else throw Error("Invalid argument specified for ee.Number(): "+a);};x(Oo,M);w("ee.Number",Oo);var Qo=!1,Po=function(){Qo||(dn(Oo,"Number","Number"),Qo=!0)};Oo.prototype.encode=function(a){return"number"===typeof this.Zc?this.Zc:Oo.L.encode.call(this,a)};
|
|
@@ -701,17 +701,18 @@ h.Al=function(){if(!this.mc){var a=u(function(d){this.mc||(dq(this.ga,this.fa,d)
|
|
|
701
701
|
h.ga=null;h.Si=null;h.La=null;h.ni=null;var Cq=["load","abort","error"],Dq=function(){y.call(this);this.Ga=!1};p(Dq,y);Dq.prototype.setActive=function(a){this.Ga=a};Dq.prototype.isActive=function(){return this.Ga};var yq=function(a,b){tq.call(this,a,b)};p(yq,tq);yq.prototype.Xe=function(){return new Dq};yq.prototype.Ad=function(a){a.Ta()};yq.prototype.Pf=function(a){return!a.Ua&&!a.isActive()};var Eq=function(a,b,c,d,e){Kc.call(this,a,b,c,d,e);this.minZoom=d.minZoom||0;this.maxZoom=d.maxZoom||20;if(!window.google||!window.google.maps)throw Error("Google Maps API hasn't been initialized.");this.tileSize=d.tileSize||new google.maps.Size(256,256);this.name=d.name;this.wg=new Fc;this.Qf=1;this.wa=e||null};p(Eq,Kc);h=Eq.prototype;h.Ne=function(a){return Zb(this,"tileevent",a)};h.ag=function(a){gc(a)};
|
|
702
702
|
h.getTile=function(a,b,c){if(b<this.minZoom||0>a.y||a.y>=1<<b)return a=c.createElement("IMG"),a.style.width="0px",a.style.height="0px",a;b=Lc(this,a,b);a=[this.url,b].join("/")+"?token="+this.token;this.wa&&this.wa.isEnabled()&&(a+="&profiling=1");b=[b,this.Bb,this.token].join("/");this.Bb+=1;c=nh("DIV",{id:b});var d=(new Date).getTime()/1E3;this.Db.push(b);ul(zq).send(b,a,d,u(this.al,this,c,b));Bp(this);return c};h.Qc=function(){return this.Db.length};
|
|
703
703
|
h.releaseTile=function(a){ul(zq).abort(a.id);if(void 0!==a.firstElementChild)var b=a.firstElementChild;else for(b=a.firstChild;b&&1!=b.nodeType;)b=b.nextSibling;this.wg.remove(b);""!==a.id&&(this.vg.remove(a.id),this.wa&&this.wa.sl(a.id))};h.setOpacity=function(a){this.Qf=a;var b=this.wg.Fa();rc(b,function(c){Mp(c,a)})};
|
|
704
|
-
h.al=function(a,b,c,d){"error"==c.type?(Ya(this.Db,b),this.vg.add(b),this.dispatchEvent(c)):(Ya(this.Db,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Qf&&Mp(c,this.Qf),a.appendChild(c)),Bp(this));this.wa&&null!==d&&this.wa.Ok(b,d)};w("ee.MapLayerOverlay",Eq);Eq.prototype.removeTileCallback=Eq.prototype.ag;Eq.prototype.addTileCallback=Eq.prototype.Ne;Eq.prototype.getTile=Eq.prototype.getTile;Eq.prototype.setOpacity=Eq.prototype.setOpacity;Eq.prototype.releaseTile=Eq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction.
|
|
705
|
-
c=[["name","
|
|
706
|
-
|
|
707
|
-
"
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
"opt_callback"],["
|
|
711
|
-
"opt_callback"],["
|
|
712
|
-
|
|
713
|
-
"
|
|
714
|
-
"
|
|
715
|
-
["
|
|
716
|
-
|
|
717
|
-
|
|
704
|
+
h.al=function(a,b,c,d){"error"==c.type?(Ya(this.Db,b),this.vg.add(b),this.dispatchEvent(c)):(Ya(this.Db,b),c.target&&"load"==c.type&&(c=c.target,this.wg.add(c),1!=this.Qf&&Mp(c,this.Qf),a.appendChild(c)),Bp(this));this.wa&&null!==d&&this.wa.Ok(b,d)};w("ee.MapLayerOverlay",Eq);Eq.prototype.removeTileCallback=Eq.prototype.ag;Eq.prototype.addTileCallback=Eq.prototype.Ne;Eq.prototype.getTile=Eq.prototype.getTile;Eq.prototype.setOpacity=Eq.prototype.setOpacity;Eq.prototype.releaseTile=Eq.prototype.releaseTile;(function(){var a={},b="ee.ApiFunction._apply ee.ApiFunction._call ee.ApiFunction.lookup ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.copyAsset ee.data.listBuckets ee.data.setAssetAcl ee.data.authenticateViaPrivateKey ee.data.getTaskStatus ee.data.deleteAsset ee.data.authenticateViaPopup ee.data.listImages ee.data.startIngestion ee.data.cancelOperation ee.data.listOperations ee.data.authenticate ee.data.renameAsset ee.data.getThumbId ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.makeTableDownloadUrl ee.data.getFilmstripThumbId ee.data.getVideoThumbId ee.data.getDownloadId ee.data.createFolder ee.data.createAssetHome ee.data.setAssetProperties ee.data.resetWorkloadTag ee.data.makeDownloadUrl ee.data.setDefaultWorkloadTag ee.data.getInfo ee.data.setWorkloadTag ee.data.getTableDownloadId ee.data.createAsset ee.data.getMapId ee.data.updateTask ee.data.startProcessing ee.data.getWorkloadTag ee.data.updateAsset ee.data.getAsset ee.data.cancelTask ee.data.getTileUrl ee.data.startTableIngestion ee.data.getOperation ee.data.getList ee.data.listAssets ee.data.getAssetRootQuota ee.data.getAssetRoots ee.data.getAssetAcl ee.data.getFeatureViewTilesKey ee.data.getTaskList ee.data.listFeatures ee.data.getTaskListWithLimit ee.data.computeValue ee.data.newTaskId ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.InitState ee.Algorithms ee.reset ee.apply ee.initialize ee.TILE_SIZE ee.call ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.prototype.not ee.Filter.inList ee.Filter ee.Filter.eq ee.Filter.metadata ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.cat ee.Image.prototype.expression ee.Image ee.Image.prototype.clip ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
705
|
+
c=[["name","namedArgs"],["name","var_args"],["name"],"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_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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(" "),
|
|
706
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "),"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(" "),"collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
707
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),"collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "),"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(" "),
|
|
708
|
+
"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_assetId","opt_maxVertices"],["classifier","opt_description","opt_assetId"],["name","operator","value"],["start","opt_end"],["algorithm",
|
|
709
|
+
"opt_first"],["filter"],["algorithm","opt_dropNulls"],["geometry"],["max","opt_property","opt_ascending"],["property","opt_ascending"],["func","var_args"],["callback"],["opt_callback"],["legacy"],["sourceId","destinationId","opt_overwrite","opt_callback"],["project","opt_callback"],["assetId","aclUpdate","opt_callback"],["privateKey","opt_success","opt_error","opt_extraScopes","opt_suppressDefaultScopes"],["taskId","opt_callback"],["assetId","opt_callback"],["opt_success","opt_error"],["parent","opt_params",
|
|
710
|
+
"opt_callback"],["taskId","request","opt_callback"],["operationName","opt_callback"],["opt_limit","opt_callback"],["clientId","success","opt_error","opt_extraScopes","opt_onImmediateFailed"],["sourceId","destinationId","opt_callback"],["params","opt_callback"],["id"],"clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "),["id"],["params","opt_callback"],["params","opt_callback"],["params","opt_callback"],["path","opt_force","opt_callback"],["requestedId",
|
|
711
|
+
"opt_callback"],["assetId","properties","opt_callback"],["opt_resetDefault"],["id"],["tag"],["id","opt_callback"],["tag"],["params","opt_callback"],["value","opt_path","opt_force","opt_properties","opt_callback"],["params","opt_callback"],["taskId","action","opt_callback"],["taskId","params","opt_callback"],[],["assetId","asset","updateFields","opt_callback"],["id","opt_callback"],["taskId","opt_callback"],["id","x","y","z"],["taskId","request","opt_callback"],["operationName","opt_callback"],["params",
|
|
712
|
+
"opt_callback"],["parent","opt_params","opt_callback"],["rootId","opt_callback"],["opt_callback"],["assetId","opt_callback"],["params","opt_callback"],["opt_callback"],["asset","params","opt_callback"],["opt_limit","opt_callback"],["obj","opt_callback"],["opt_count","opt_callback"],["date","opt_tz"],["json"],["json"],["json"],["json"],["opt_dict"],[],[],[],["func","namedArgs"],"opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "),[],["func","var_args"],
|
|
713
|
+
["var_args"],["geometry","opt_properties"],["opt_visParams","opt_callback"],["opt_callback"],["opt_visParams","opt_callback"],["propertySelectors","opt_newProperties","opt_retainGeometry"],["args","opt_column"],["opt_callback"],["opt_format","opt_selectors","opt_filename","opt_callback"],["name","value"],["var_args"],["var_args"],["name","value"],["start","opt_end"],[],["opt_leftField","opt_rightValue","opt_rightField","opt_leftValue"],["opt_filter"],["name","value"],["name","operator","value"],["name",
|
|
714
|
+
"value"],["geometry","opt_errorMargin"],["name","value"],["name","value"],["namedArgs"],["var_args"],[],[],["west","south","east","north"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["legacy"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["geoJson","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj"],["coords","opt_proj","opt_geodesic","opt_maxError"],["coords","opt_proj","opt_geodesic","opt_evenOdd"],["coords","opt_proj","opt_geodesic",
|
|
715
|
+
"opt_maxError"],["coords","opt_proj","opt_geodesic","opt_maxError","opt_evenOdd"],["params","opt_callback"],["var_args"],["var_args"],["expression","opt_map"],["opt_args"],["geometry"],["opt_visParams","opt_callback"],["var_args"],["params","opt_callback"],["r","g","b"],["opt_callback"],["params","opt_callback"],["args"],["params","opt_callback"],["params","opt_callback"],["opt_visParams","opt_callback"],["opt_callback"],[],["selectors","opt_names"],["list"],["number"],["obj","opt_isCompound"],["obj"],
|
|
716
|
+
["obj"],["obj"],["obj"],["obj"],["obj"],["string"],[]];[Xm,O,Wm,vo,Bo,xo,Do,zo,Fo,Eo,Ao,yo,Go,Co,Ho,V.prototype.kf,V.prototype.jf,V.prototype.Nh,V.prototype.filter,V.prototype.map,V.prototype.yh,V.prototype.limit,V.prototype.sort,M.prototype.Gg,M.prototype.evaluate,M.prototype.U,M.prototype.xa,ym,sm,Cm,yl,Tl,zm,vl,rm,km,Xl,Wl,xl,xm,Il,Ll,wl,Ql,Kl,Jl,Nl,wm,um,Dm,Im,Ol,Hm,nm,Gm,Pl,vm,Dl,Zl,gm,Bl,Bm,nm,$l,El,mm,Yl,pm,qm,Em,tm,Am,Fl,Vl,Gl,Ul,Hl,Rl,Yo,ap,gp,bp,cp,hp,up,sp,tp,wp,qp,256,vp,R.prototype.set,
|
|
717
|
+
W,W.prototype.getMap,W.prototype.U,X.prototype.getMap,X.prototype.select,X,X.prototype.U,X.prototype.vb,Mn,Qn,Rn,Nn,Sn,U.prototype.wc,Tn,U,Kn,Vn,Ln,Un,On,Pn,Rm.prototype.apply,Rm.prototype.call,S.prototype.ke,S.prototype.yg,vn,qn,zn,S.prototype.xa,Cn,S,tn,An,un,yn,Bn,L.prototype.Id,L.prototype.select,jo,L.prototype.l,L,L.prototype.clip,L.prototype.getMap,L.prototype.ti,L.prototype.vb,io,L.prototype.U,L.prototype.tf,Z,Z.prototype.rf,Z.prototype.vf,Z.prototype.getMap,Z.prototype.U,Z.prototype.first,
|
|
718
|
+
Z.prototype.select,ko,Oo,Rk,Sk,Xk,Uk,al,Zk,$k,Ro,kp].forEach(function(d,e){d&&(a[d.toString()]={name:b[e],paramNames:c[e]})});r.EXPORTED_FN_INFO=a})();}).call(this);
|
package/build/ee_api_js_debug.js
CHANGED
|
@@ -2606,9 +2606,10 @@ goog.events.BrowserFeature = {TOUCH_ENABLED:"ontouchstart" in goog.global || !!(
|
|
|
2606
2606
|
passive = !0;
|
|
2607
2607
|
}});
|
|
2608
2608
|
try {
|
|
2609
|
-
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2609
|
+
var nullFunction = function() {
|
|
2610
|
+
};
|
|
2611
|
+
goog.global.addEventListener("test", nullFunction, options);
|
|
2612
|
+
goog.global.removeEventListener("test", nullFunction, options);
|
|
2612
2613
|
} catch (e) {
|
|
2613
2614
|
}
|
|
2614
2615
|
return passive;
|
|
@@ -17587,7 +17588,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17587
17588
|
ee.apiclient = {};
|
|
17588
17589
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17589
17590
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17590
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17591
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.352";
|
|
17591
17592
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17592
17593
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17593
17594
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17868,8 +17869,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17868
17869
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17869
17870
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17870
17871
|
method = method || "POST";
|
|
17871
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17872
|
-
"0.1.
|
|
17872
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.352";
|
|
17873
|
+
"0.1.352" === version && (version = "latest");
|
|
17873
17874
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17874
17875
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17875
17876
|
if (null != authToken) {
|
|
@@ -19320,7 +19321,7 @@ ee.rpc_convert_batch.buildGeoTiffFormatOptions_ = function(params) {
|
|
|
19320
19321
|
throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
19321
19322
|
}
|
|
19322
19323
|
var tileSize = params.tiffShardSize || params.shardSize;
|
|
19323
|
-
return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.
|
|
19324
|
+
return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.tiffNoData),});
|
|
19324
19325
|
};
|
|
19325
19326
|
ee.rpc_convert_batch.buildTfRecordFormatOptions_ = function(params) {
|
|
19326
19327
|
var tfRecordOptions = new module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptions({compress:!!params.tfrecordCompressed, maxSizeBytes:stringOrNull_(params.tfrecordMaxFileSize), sequenceData:!!params.tfrecordSequenceData, collapseBands:!!params.tfrecordCollapseBands, maxMaskedRatio:numberOrNull_(params.tfrecordMaskedThreshold), defaultValue:numberOrNull_(params.tfrecordDefaultValue), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.tfrecordPatchDimensions),
|
|
@@ -21986,7 +21987,7 @@ module$contents$ee$batch_Export.table.toFeatureView = function(collection, opt_d
|
|
|
21986
21987
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
21987
21988
|
};
|
|
21988
21989
|
goog.exportSymbol("module$contents$ee$batch_Export.table.toFeatureView", module$contents$ee$batch_Export.table.toFeatureView);
|
|
21989
|
-
module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices) {
|
|
21990
|
+
module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices, opt_overwrite) {
|
|
21990
21991
|
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.table.toBigQuery, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.BIGQUERY, ee.data.ExportType.TABLE);
|
|
21991
21992
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
21992
21993
|
};
|
|
@@ -22163,7 +22164,7 @@ module$contents$ee$batch_Export.classifier.prepareTaskConfig_ = function(taskCon
|
|
|
22163
22164
|
return taskConfig = module$contents$ee$batch_Export.prepareDestination_(taskConfig, destination);
|
|
22164
22165
|
};
|
|
22165
22166
|
var module$contents$ee$batch_VideoFormat = {MP4:"MP4", GIF:"GIF", VP9:"VP9",}, module$contents$ee$batch_MapFormat = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", JPEG:"JPEG", PNG:"PNG",}, module$contents$ee$batch_ImageFormat = {GEO_TIFF:"GEO_TIFF", TF_RECORD_IMAGE:"TF_RECORD_IMAGE",}, module$contents$ee$batch_TableFormat = {CSV:"CSV", GEO_JSON:"GEO_JSON", KML:"KML", KMZ:"KMZ", SHP:"SHP", TF_RECORD_TABLE:"TF_RECORD_TABLE",}, module$contents$ee$batch_VideoMapVersion = {V1:"V1", V2:"V2",}, module$contents$ee$batch_FORMAT_OPTIONS_MAP =
|
|
22166
|
-
{GEO_TIFF:["cloudOptimized", "fileDimensions", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
|
|
22167
|
+
{GEO_TIFF:["cloudOptimized", "fileDimensions", "noData", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
|
|
22167
22168
|
module$contents$ee$batch_Export.reconcileVideoFormat_ = function(taskConfig) {
|
|
22168
22169
|
taskConfig.videoOptions = taskConfig.framesPerSecond || 5;
|
|
22169
22170
|
taskConfig.maxFrames = taskConfig.maxFrames || 1E3;
|
package/build/ee_api_js_npm.js
CHANGED
|
@@ -2606,9 +2606,10 @@ goog.events.BrowserFeature = {TOUCH_ENABLED:"ontouchstart" in goog.global || !!(
|
|
|
2606
2606
|
passive = !0;
|
|
2607
2607
|
}});
|
|
2608
2608
|
try {
|
|
2609
|
-
|
|
2610
|
-
}
|
|
2611
|
-
|
|
2609
|
+
var nullFunction = function() {
|
|
2610
|
+
};
|
|
2611
|
+
goog.global.addEventListener("test", nullFunction, options);
|
|
2612
|
+
goog.global.removeEventListener("test", nullFunction, options);
|
|
2612
2613
|
} catch (e) {
|
|
2613
2614
|
}
|
|
2614
2615
|
return passive;
|
|
@@ -17587,7 +17588,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17587
17588
|
ee.apiclient = {};
|
|
17588
17589
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17589
17590
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17590
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17591
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.352";
|
|
17591
17592
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17592
17593
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17593
17594
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17868,8 +17869,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17868
17869
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17869
17870
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17870
17871
|
method = method || "POST";
|
|
17871
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17872
|
-
"0.1.
|
|
17872
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.352";
|
|
17873
|
+
"0.1.352" === version && (version = "latest");
|
|
17873
17874
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17874
17875
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17875
17876
|
if (null != authToken) {
|
|
@@ -19320,7 +19321,7 @@ ee.rpc_convert_batch.buildGeoTiffFormatOptions_ = function(params) {
|
|
|
19320
19321
|
throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
19321
19322
|
}
|
|
19322
19323
|
var tileSize = params.tiffShardSize || params.shardSize;
|
|
19323
|
-
return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.
|
|
19324
|
+
return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.tiffNoData),});
|
|
19324
19325
|
};
|
|
19325
19326
|
ee.rpc_convert_batch.buildTfRecordFormatOptions_ = function(params) {
|
|
19326
19327
|
var tfRecordOptions = new module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptions({compress:!!params.tfrecordCompressed, maxSizeBytes:stringOrNull_(params.tfrecordMaxFileSize), sequenceData:!!params.tfrecordSequenceData, collapseBands:!!params.tfrecordCollapseBands, maxMaskedRatio:numberOrNull_(params.tfrecordMaskedThreshold), defaultValue:numberOrNull_(params.tfrecordDefaultValue), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.tfrecordPatchDimensions),
|
|
@@ -21986,7 +21987,7 @@ module$contents$ee$batch_Export.table.toFeatureView = function(collection, opt_d
|
|
|
21986
21987
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
21987
21988
|
};
|
|
21988
21989
|
goog.exportSymbol("module$contents$ee$batch_Export.table.toFeatureView", module$contents$ee$batch_Export.table.toFeatureView);
|
|
21989
|
-
module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices) {
|
|
21990
|
+
module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices, opt_overwrite) {
|
|
21990
21991
|
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.table.toBigQuery, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.BIGQUERY, ee.data.ExportType.TABLE);
|
|
21991
21992
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
21992
21993
|
};
|
|
@@ -22163,7 +22164,7 @@ module$contents$ee$batch_Export.classifier.prepareTaskConfig_ = function(taskCon
|
|
|
22163
22164
|
return taskConfig = module$contents$ee$batch_Export.prepareDestination_(taskConfig, destination);
|
|
22164
22165
|
};
|
|
22165
22166
|
var module$contents$ee$batch_VideoFormat = {MP4:"MP4", GIF:"GIF", VP9:"VP9",}, module$contents$ee$batch_MapFormat = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", JPEG:"JPEG", PNG:"PNG",}, module$contents$ee$batch_ImageFormat = {GEO_TIFF:"GEO_TIFF", TF_RECORD_IMAGE:"TF_RECORD_IMAGE",}, module$contents$ee$batch_TableFormat = {CSV:"CSV", GEO_JSON:"GEO_JSON", KML:"KML", KMZ:"KMZ", SHP:"SHP", TF_RECORD_TABLE:"TF_RECORD_TABLE",}, module$contents$ee$batch_VideoMapVersion = {V1:"V1", V2:"V2",}, module$contents$ee$batch_FORMAT_OPTIONS_MAP =
|
|
22166
|
-
{GEO_TIFF:["cloudOptimized", "fileDimensions", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
|
|
22167
|
+
{GEO_TIFF:["cloudOptimized", "fileDimensions", "noData", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
|
|
22167
22168
|
module$contents$ee$batch_Export.reconcileVideoFormat_ = function(taskConfig) {
|
|
22168
22169
|
taskConfig.videoOptions = taskConfig.framesPerSecond || 5;
|
|
22169
22170
|
taskConfig.maxFrames = taskConfig.maxFrames || 1E3;
|
|
@@ -25342,28 +25343,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
25342
25343
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
25343
25344
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
25344
25345
|
(function() {
|
|
25345
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
25346
|
-
orderedParamLists = [["name", "
|
|
25347
|
-
|
|
25348
|
-
"
|
|
25349
|
-
"collection opt_description
|
|
25350
|
-
|
|
25351
|
-
"
|
|
25352
|
-
["
|
|
25353
|
-
"opt_callback"], ["
|
|
25354
|
-
"
|
|
25355
|
-
"
|
|
25356
|
-
"
|
|
25357
|
-
"opt_callback"], ["
|
|
25358
|
-
[ee.ApiFunction.
|
|
25359
|
-
module$contents$ee$batch_Export.
|
|
25360
|
-
ee.ComputedObject.prototype.
|
|
25361
|
-
ee.data.
|
|
25362
|
-
ee.data.listAssets, ee.data.
|
|
25363
|
-
ee.Feature, ee.
|
|
25364
|
-
ee.Geometry.
|
|
25365
|
-
ee.Image.prototype.
|
|
25366
|
-
ee.Serializer.
|
|
25346
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction._call ee.ApiFunction.lookup ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.copyAsset ee.data.listBuckets ee.data.setAssetAcl ee.data.authenticateViaPrivateKey ee.data.getTaskStatus ee.data.deleteAsset ee.data.authenticateViaPopup ee.data.listImages ee.data.startIngestion ee.data.cancelOperation ee.data.listOperations ee.data.authenticate ee.data.renameAsset ee.data.getThumbId ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.makeTableDownloadUrl ee.data.getFilmstripThumbId ee.data.getVideoThumbId ee.data.getDownloadId ee.data.createFolder ee.data.createAssetHome ee.data.setAssetProperties ee.data.resetWorkloadTag ee.data.makeDownloadUrl ee.data.setDefaultWorkloadTag ee.data.getInfo ee.data.setWorkloadTag ee.data.getTableDownloadId ee.data.createAsset ee.data.getMapId ee.data.updateTask ee.data.startProcessing ee.data.getWorkloadTag ee.data.updateAsset ee.data.getAsset ee.data.cancelTask ee.data.getTileUrl ee.data.startTableIngestion ee.data.getOperation ee.data.getList ee.data.listAssets ee.data.getAssetRootQuota ee.data.getAssetRoots ee.data.getAssetAcl ee.data.getFeatureViewTilesKey ee.data.getTaskList ee.data.listFeatures ee.data.getTaskListWithLimit ee.data.computeValue ee.data.newTaskId ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.InitState ee.Algorithms ee.reset ee.apply ee.initialize ee.TILE_SIZE ee.call ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.prototype.not ee.Filter.inList ee.Filter ee.Filter.eq ee.Filter.metadata ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.cat ee.Image.prototype.expression ee.Image ee.Image.prototype.clip ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
25347
|
+
orderedParamLists = [["name", "namedArgs"], ["name", "var_args"], ["name"], "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_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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(" "),
|
|
25348
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "), "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(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
25349
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), "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(" "),
|
|
25350
|
+
"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_assetId", "opt_maxVertices"], ["classifier", "opt_description", "opt_assetId"], ["name", "operator", "value"], ["start",
|
|
25351
|
+
"opt_end"], ["algorithm", "opt_first"], ["filter"], ["algorithm", "opt_dropNulls"], ["geometry"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["taskId", "opt_callback"], ["assetId",
|
|
25352
|
+
"opt_callback"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id"], ["params", "opt_callback"],
|
|
25353
|
+
["params", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["requestedId", "opt_callback"], ["assetId", "properties", "opt_callback"], ["opt_resetDefault"], ["id"], ["tag"], ["id", "opt_callback"], ["tag"], ["params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "params", "opt_callback"], [], ["assetId", "asset", "updateFields", "opt_callback"],
|
|
25354
|
+
["id", "opt_callback"], ["taskId", "opt_callback"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["rootId", "opt_callback"], ["opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["asset", "params", "opt_callback"], ["opt_limit", "opt_callback"], ["obj", "opt_callback"], ["opt_count", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"],
|
|
25355
|
+
["json"], ["json"], ["opt_dict"], [], [], [], ["func", "namedArgs"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "var_args"], ["var_args"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"],
|
|
25356
|
+
["name", "value"], ["var_args"], ["var_args"], ["name", "value"], ["start", "opt_end"], [], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["opt_filter"], ["name", "value"], ["name", "operator", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], [], [], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["legacy"], ["coords", "opt_proj",
|
|
25357
|
+
"opt_geodesic", "opt_maxError", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["var_args"], ["var_args"], ["expression", "opt_map"], ["opt_args"], ["geometry"], ["opt_visParams", "opt_callback"],
|
|
25358
|
+
["var_args"], ["params", "opt_callback"], ["r", "g", "b"], ["opt_callback"], ["params", "opt_callback"], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], [], ["selectors", "opt_names"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
25359
|
+
[ee.ApiFunction._apply, ee.ApiFunction._call, ee.ApiFunction.lookup, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toDrive,
|
|
25360
|
+
module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo,
|
|
25361
|
+
ee.ComputedObject.prototype.serialize, ee.data.copyAsset, ee.data.listBuckets, ee.data.setAssetAcl, ee.data.authenticateViaPrivateKey, ee.data.getTaskStatus, ee.data.deleteAsset, ee.data.authenticateViaPopup, ee.data.listImages, ee.data.startIngestion, ee.data.cancelOperation, ee.data.listOperations, ee.data.authenticate, ee.data.renameAsset, ee.data.getThumbId, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.makeTableDownloadUrl, ee.data.getFilmstripThumbId, ee.data.getVideoThumbId,
|
|
25362
|
+
ee.data.getDownloadId, ee.data.createFolder, ee.data.createAssetHome, ee.data.setAssetProperties, ee.data.resetWorkloadTag, ee.data.makeDownloadUrl, ee.data.setDefaultWorkloadTag, ee.data.getInfo, ee.data.setWorkloadTag, ee.data.getTableDownloadId, ee.data.createAsset, ee.data.getMapId, ee.data.updateTask, ee.data.startProcessing, ee.data.getWorkloadTag, ee.data.updateAsset, ee.data.getAsset, ee.data.cancelTask, ee.data.getTileUrl, ee.data.startTableIngestion, ee.data.getOperation, ee.data.getList,
|
|
25363
|
+
ee.data.listAssets, ee.data.getAssetRootQuota, ee.data.getAssetRoots, ee.data.getAssetAcl, ee.data.getFeatureViewTilesKey, ee.data.getTaskList, ee.data.listFeatures, ee.data.getTaskListWithLimit, ee.data.computeValue, ee.data.newTaskId, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Dictionary, ee.InitState, ee.Algorithms, ee.reset, ee.apply, ee.initialize, ee.TILE_SIZE, ee.call, ee.Element.prototype.set, ee.Feature,
|
|
25364
|
+
ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.lt, ee.Filter.and, ee.Filter.or, ee.Filter.gte, ee.Filter.date, ee.Filter.prototype.not, ee.Filter.inList, ee.Filter, ee.Filter.eq, ee.Filter.metadata, ee.Filter.neq, ee.Filter.bounds, ee.Filter.gt, ee.Filter.lte, ee.Function.prototype.apply,
|
|
25365
|
+
ee.Function.prototype.call, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry.Point, ee.Geometry.LinearRing, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Image.prototype.getThumbId, ee.Image.prototype.select, ee.Image.cat, ee.Image.prototype.expression, ee.Image, ee.Image.prototype.clip, ee.Image.prototype.getMap,
|
|
25366
|
+
ee.Image.prototype.rename, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.Image.prototype.getInfo, ee.Image.prototype.getThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON,
|
|
25367
|
+
ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
25367
25368
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
25368
25369
|
});
|
|
25369
25370
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/build/main.js
CHANGED
|
@@ -2608,9 +2608,10 @@ goog.events.BrowserFeature = {TOUCH_ENABLED:"ontouchstart" in goog.global || !!(
|
|
|
2608
2608
|
passive = !0;
|
|
2609
2609
|
}});
|
|
2610
2610
|
try {
|
|
2611
|
-
|
|
2612
|
-
}
|
|
2613
|
-
|
|
2611
|
+
var nullFunction = function() {
|
|
2612
|
+
};
|
|
2613
|
+
goog.global.addEventListener("test", nullFunction, options);
|
|
2614
|
+
goog.global.removeEventListener("test", nullFunction, options);
|
|
2614
2615
|
} catch (e) {
|
|
2615
2616
|
}
|
|
2616
2617
|
return passive;
|
|
@@ -17589,7 +17590,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17589
17590
|
ee.apiclient = {};
|
|
17590
17591
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17591
17592
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17592
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17593
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.352";
|
|
17593
17594
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17594
17595
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17595
17596
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17870,8 +17871,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17870
17871
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17871
17872
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17872
17873
|
method = method || "POST";
|
|
17873
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17874
|
-
"0.1.
|
|
17874
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.352";
|
|
17875
|
+
"0.1.352" === version && (version = "latest");
|
|
17875
17876
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17876
17877
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17877
17878
|
if (null != authToken) {
|
|
@@ -19322,7 +19323,7 @@ ee.rpc_convert_batch.buildGeoTiffFormatOptions_ = function(params) {
|
|
|
19322
19323
|
throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
|
|
19323
19324
|
}
|
|
19324
19325
|
var tileSize = params.tiffShardSize || params.shardSize;
|
|
19325
|
-
return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.
|
|
19326
|
+
return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.tiffNoData),});
|
|
19326
19327
|
};
|
|
19327
19328
|
ee.rpc_convert_batch.buildTfRecordFormatOptions_ = function(params) {
|
|
19328
19329
|
var tfRecordOptions = new module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptions({compress:!!params.tfrecordCompressed, maxSizeBytes:stringOrNull_(params.tfrecordMaxFileSize), sequenceData:!!params.tfrecordSequenceData, collapseBands:!!params.tfrecordCollapseBands, maxMaskedRatio:numberOrNull_(params.tfrecordMaskedThreshold), defaultValue:numberOrNull_(params.tfrecordDefaultValue), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.tfrecordPatchDimensions),
|
|
@@ -21988,7 +21989,7 @@ module$contents$ee$batch_Export.table.toFeatureView = function(collection, opt_d
|
|
|
21988
21989
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
21989
21990
|
};
|
|
21990
21991
|
goog.exportSymbol("module$contents$ee$batch_Export.table.toFeatureView", module$contents$ee$batch_Export.table.toFeatureView);
|
|
21991
|
-
module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices) {
|
|
21992
|
+
module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices, opt_overwrite) {
|
|
21992
21993
|
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.table.toBigQuery, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.BIGQUERY, ee.data.ExportType.TABLE);
|
|
21993
21994
|
return module$contents$ee$batch_ExportTask.create(serverConfig);
|
|
21994
21995
|
};
|
|
@@ -22165,7 +22166,7 @@ module$contents$ee$batch_Export.classifier.prepareTaskConfig_ = function(taskCon
|
|
|
22165
22166
|
return taskConfig = module$contents$ee$batch_Export.prepareDestination_(taskConfig, destination);
|
|
22166
22167
|
};
|
|
22167
22168
|
var module$contents$ee$batch_VideoFormat = {MP4:"MP4", GIF:"GIF", VP9:"VP9",}, module$contents$ee$batch_MapFormat = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", JPEG:"JPEG", PNG:"PNG",}, module$contents$ee$batch_ImageFormat = {GEO_TIFF:"GEO_TIFF", TF_RECORD_IMAGE:"TF_RECORD_IMAGE",}, module$contents$ee$batch_TableFormat = {CSV:"CSV", GEO_JSON:"GEO_JSON", KML:"KML", KMZ:"KMZ", SHP:"SHP", TF_RECORD_TABLE:"TF_RECORD_TABLE",}, module$contents$ee$batch_VideoMapVersion = {V1:"V1", V2:"V2",}, module$contents$ee$batch_FORMAT_OPTIONS_MAP =
|
|
22168
|
-
{GEO_TIFF:["cloudOptimized", "fileDimensions", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
|
|
22169
|
+
{GEO_TIFF:["cloudOptimized", "fileDimensions", "noData", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
|
|
22169
22170
|
module$contents$ee$batch_Export.reconcileVideoFormat_ = function(taskConfig) {
|
|
22170
22171
|
taskConfig.videoOptions = taskConfig.framesPerSecond || 5;
|
|
22171
22172
|
taskConfig.maxFrames = taskConfig.maxFrames || 1E3;
|
|
@@ -25344,28 +25345,28 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
25344
25345
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
25345
25346
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
25346
25347
|
(function() {
|
|
25347
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
25348
|
-
orderedParamLists = [["name", "
|
|
25349
|
-
|
|
25350
|
-
"
|
|
25351
|
-
"collection opt_description
|
|
25352
|
-
|
|
25353
|
-
"
|
|
25354
|
-
["
|
|
25355
|
-
"opt_callback"], ["
|
|
25356
|
-
"
|
|
25357
|
-
"
|
|
25358
|
-
"
|
|
25359
|
-
"opt_callback"], ["
|
|
25360
|
-
[ee.ApiFunction.
|
|
25361
|
-
module$contents$ee$batch_Export.
|
|
25362
|
-
ee.ComputedObject.prototype.
|
|
25363
|
-
ee.data.
|
|
25364
|
-
ee.data.listAssets, ee.data.
|
|
25365
|
-
ee.Feature, ee.
|
|
25366
|
-
ee.Geometry.
|
|
25367
|
-
ee.Image.prototype.
|
|
25368
|
-
ee.Serializer.
|
|
25348
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._apply ee.ApiFunction._call ee.ApiFunction.lookup ee.batch.Export.image.toAsset ee.batch.Export.table.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.map.toCloudStorage ee.batch.Export.video.toDrive ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterDate ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.map ee.Collection.prototype.filterBounds ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.copyAsset ee.data.listBuckets ee.data.setAssetAcl ee.data.authenticateViaPrivateKey ee.data.getTaskStatus ee.data.deleteAsset ee.data.authenticateViaPopup ee.data.listImages ee.data.startIngestion ee.data.cancelOperation ee.data.listOperations ee.data.authenticate ee.data.renameAsset ee.data.getThumbId ee.data.makeThumbUrl ee.data.authenticateViaOauth ee.data.makeTableDownloadUrl ee.data.getFilmstripThumbId ee.data.getVideoThumbId ee.data.getDownloadId ee.data.createFolder ee.data.createAssetHome ee.data.setAssetProperties ee.data.resetWorkloadTag ee.data.makeDownloadUrl ee.data.setDefaultWorkloadTag ee.data.getInfo ee.data.setWorkloadTag ee.data.getTableDownloadId ee.data.createAsset ee.data.getMapId ee.data.updateTask ee.data.startProcessing ee.data.getWorkloadTag ee.data.updateAsset ee.data.getAsset ee.data.cancelTask ee.data.getTileUrl ee.data.startTableIngestion ee.data.getOperation ee.data.getList ee.data.listAssets ee.data.getAssetRootQuota ee.data.getAssetRoots ee.data.getAssetAcl ee.data.getFeatureViewTilesKey ee.data.getTaskList ee.data.listFeatures ee.data.getTaskListWithLimit ee.data.computeValue ee.data.newTaskId ee.Date ee.Deserializer.decode ee.Deserializer.fromCloudApiJSON ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Dictionary ee.InitState ee.Algorithms ee.reset ee.apply ee.initialize ee.TILE_SIZE ee.call ee.Element.prototype.set ee.Feature ee.Feature.prototype.getMap ee.Feature.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.select ee.FeatureCollection ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getDownloadURL ee.Filter.lt ee.Filter.and ee.Filter.or ee.Filter.gte ee.Filter.date ee.Filter.prototype.not ee.Filter.inList ee.Filter ee.Filter.eq ee.Filter.metadata ee.Filter.neq ee.Filter.bounds ee.Filter.gt ee.Filter.lte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.BBox ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry.prototype.serialize ee.Geometry.MultiPolygon ee.Geometry ee.Geometry.MultiPoint ee.Geometry.MultiLineString ee.Geometry.Rectangle ee.Geometry.LineString ee.Geometry.Polygon ee.Image.prototype.getThumbId ee.Image.prototype.select ee.Image.cat ee.Image.prototype.expression ee.Image ee.Image.prototype.clip ee.Image.prototype.getMap ee.Image.prototype.rename ee.Image.prototype.getDownloadURL ee.Image.rgb ee.Image.prototype.getInfo ee.Image.prototype.getThumbURL ee.ImageCollection ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.first ee.ImageCollection.prototype.select ee.List ee.Number ee.Serializer.encode ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
25349
|
+
orderedParamLists = [["name", "namedArgs"], ["name", "var_args"], ["name"], "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_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".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(" "),
|
|
25350
|
+
"collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking".split(" "), "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(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "),
|
|
25351
|
+
"collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices".split(" "), "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(" "),
|
|
25352
|
+
"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_assetId", "opt_maxVertices"], ["classifier", "opt_description", "opt_assetId"], ["name", "operator", "value"], ["start",
|
|
25353
|
+
"opt_end"], ["algorithm", "opt_first"], ["filter"], ["algorithm", "opt_dropNulls"], ["geometry"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["func", "var_args"], ["callback"], ["opt_callback"], ["legacy"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["project", "opt_callback"], ["assetId", "aclUpdate", "opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["taskId", "opt_callback"], ["assetId",
|
|
25354
|
+
"opt_callback"], ["opt_success", "opt_error"], ["parent", "opt_params", "opt_callback"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["opt_limit", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["sourceId", "destinationId", "opt_callback"], ["params", "opt_callback"], ["id"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id"], ["params", "opt_callback"],
|
|
25355
|
+
["params", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["requestedId", "opt_callback"], ["assetId", "properties", "opt_callback"], ["opt_resetDefault"], ["id"], ["tag"], ["id", "opt_callback"], ["tag"], ["params", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "params", "opt_callback"], [], ["assetId", "asset", "updateFields", "opt_callback"],
|
|
25356
|
+
["id", "opt_callback"], ["taskId", "opt_callback"], ["id", "x", "y", "z"], ["taskId", "request", "opt_callback"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["rootId", "opt_callback"], ["opt_callback"], ["assetId", "opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["asset", "params", "opt_callback"], ["opt_limit", "opt_callback"], ["obj", "opt_callback"], ["opt_count", "opt_callback"], ["date", "opt_tz"], ["json"], ["json"],
|
|
25357
|
+
["json"], ["json"], ["opt_dict"], [], [], [], ["func", "namedArgs"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], ["func", "var_args"], ["var_args"], ["geometry", "opt_properties"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"],
|
|
25358
|
+
["name", "value"], ["var_args"], ["var_args"], ["name", "value"], ["start", "opt_end"], [], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["opt_filter"], ["name", "value"], ["name", "operator", "value"], ["name", "value"], ["geometry", "opt_errorMargin"], ["name", "value"], ["name", "value"], ["namedArgs"], ["var_args"], [], [], ["west", "south", "east", "north"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["legacy"], ["coords", "opt_proj",
|
|
25359
|
+
"opt_geodesic", "opt_maxError", "opt_evenOdd"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["params", "opt_callback"], ["var_args"], ["var_args"], ["expression", "opt_map"], ["opt_args"], ["geometry"], ["opt_visParams", "opt_callback"],
|
|
25360
|
+
["var_args"], ["params", "opt_callback"], ["r", "g", "b"], ["opt_callback"], ["params", "opt_callback"], ["args"], ["params", "opt_callback"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], [], ["selectors", "opt_names"], ["list"], ["number"], ["obj", "opt_isCompound"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["string"], []];
|
|
25361
|
+
[ee.ApiFunction._apply, ee.ApiFunction._call, ee.ApiFunction.lookup, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toDrive,
|
|
25362
|
+
module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.classifier.toAsset, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterDate, ee.Collection.prototype.iterate, ee.Collection.prototype.filter, ee.Collection.prototype.map, ee.Collection.prototype.filterBounds, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.evaluate, ee.ComputedObject.prototype.getInfo,
|
|
25363
|
+
ee.ComputedObject.prototype.serialize, ee.data.copyAsset, ee.data.listBuckets, ee.data.setAssetAcl, ee.data.authenticateViaPrivateKey, ee.data.getTaskStatus, ee.data.deleteAsset, ee.data.authenticateViaPopup, ee.data.listImages, ee.data.startIngestion, ee.data.cancelOperation, ee.data.listOperations, ee.data.authenticate, ee.data.renameAsset, ee.data.getThumbId, ee.data.makeThumbUrl, ee.data.authenticateViaOauth, ee.data.makeTableDownloadUrl, ee.data.getFilmstripThumbId, ee.data.getVideoThumbId,
|
|
25364
|
+
ee.data.getDownloadId, ee.data.createFolder, ee.data.createAssetHome, ee.data.setAssetProperties, ee.data.resetWorkloadTag, ee.data.makeDownloadUrl, ee.data.setDefaultWorkloadTag, ee.data.getInfo, ee.data.setWorkloadTag, ee.data.getTableDownloadId, ee.data.createAsset, ee.data.getMapId, ee.data.updateTask, ee.data.startProcessing, ee.data.getWorkloadTag, ee.data.updateAsset, ee.data.getAsset, ee.data.cancelTask, ee.data.getTileUrl, ee.data.startTableIngestion, ee.data.getOperation, ee.data.getList,
|
|
25365
|
+
ee.data.listAssets, ee.data.getAssetRootQuota, ee.data.getAssetRoots, ee.data.getAssetAcl, ee.data.getFeatureViewTilesKey, ee.data.getTaskList, ee.data.listFeatures, ee.data.getTaskListWithLimit, ee.data.computeValue, ee.data.newTaskId, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromCloudApiJSON, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Dictionary, ee.InitState, ee.Algorithms, ee.reset, ee.apply, ee.initialize, ee.TILE_SIZE, ee.call, ee.Element.prototype.set, ee.Feature,
|
|
25366
|
+
ee.Feature.prototype.getMap, ee.Feature.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getDownloadURL, ee.Filter.lt, ee.Filter.and, ee.Filter.or, ee.Filter.gte, ee.Filter.date, ee.Filter.prototype.not, ee.Filter.inList, ee.Filter, ee.Filter.eq, ee.Filter.metadata, ee.Filter.neq, ee.Filter.bounds, ee.Filter.gt, ee.Filter.lte, ee.Function.prototype.apply,
|
|
25367
|
+
ee.Function.prototype.call, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.BBox, ee.Geometry.Point, ee.Geometry.LinearRing, ee.Geometry.prototype.serialize, ee.Geometry.MultiPolygon, ee.Geometry, ee.Geometry.MultiPoint, ee.Geometry.MultiLineString, ee.Geometry.Rectangle, ee.Geometry.LineString, ee.Geometry.Polygon, ee.Image.prototype.getThumbId, ee.Image.prototype.select, ee.Image.cat, ee.Image.prototype.expression, ee.Image, ee.Image.prototype.clip, ee.Image.prototype.getMap,
|
|
25368
|
+
ee.Image.prototype.rename, ee.Image.prototype.getDownloadURL, ee.Image.rgb, ee.Image.prototype.getInfo, ee.Image.prototype.getThumbURL, ee.ImageCollection, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.select, ee.List, ee.Number, ee.Serializer.encode, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON,
|
|
25369
|
+
ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
25369
25370
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
25370
25371
|
});
|
|
25371
25372
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
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.352';
|
|
29
29
|
|
|
30
30
|
exports.VERSION = apiVersion.VERSION;
|
|
31
31
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
package/src/batch.js
CHANGED
package/src/encodable_batch.js
CHANGED
|
@@ -306,7 +306,7 @@ ee.rpc_convert_batch.buildGeoTiffFormatOptions_ = function(params) {
|
|
|
306
306
|
Boolean(params['skipEmptyTiles'] || params['tiffSkipEmptyFiles']),
|
|
307
307
|
tileDimensions: ee.rpc_convert_batch.buildGridDimensions_(fileDimensions),
|
|
308
308
|
tileSize: numberOrNull_(tileSize),
|
|
309
|
-
noData: noDataOrNull_(params['
|
|
309
|
+
noData: noDataOrNull_(params['tiffNoData']),
|
|
310
310
|
});
|
|
311
311
|
};
|
|
312
312
|
|