Comments (1)
The correct syntax is batch.Download.ImageCollection.toDrive
. The error Cannot read property <property> of undefined
generally means that you are trying to access a property (toDrive
in this case) of an object that does not exist or is null
. This is a sign that you should inspect the parent object further. In this case, the parent object batch.ImageCollection
does not exist because batch
has no property ImageCollection
.
As a general note in EE javascript, when you require
a javascript file, the object returned is a dictionary with the properties given by any exports that were assigned in the script. The batch
script only has two exports: exports.getRegion
and exports.Download
.
You can access batch
's exported objects with batch.<objectName>
. In the batch script, the dictionary object Download
is exported at the end of the script using exports.Download = Download
.
The Download
object is defined as a dictionary. Then, the ImageCollection.toDrive
function is defined as a property of the Downloads dictionary using Download.ImageCollection.toDrive
.
from geetools-code-editor.
Related Issues (16)
- problem exporting imageCollection to drive HOT 2
- error with "Download.ImageCollection.toDrive"
- Error when using trying to batch export VIIRS images to Google Drive HOT 1
- error collection.toList is not a function when exporting imagecollections
- geetools:cloud_masks not running with Landsat new collections HOT 2
- String: Unable to convert object to string. Predicted pH: Layer error: String: Unable to convert object to string.
- Time Series Prediction of CEEI
- Invalid GeoJSON geometry error when trying to batch download HOT 7
- String: Unable to convert object to string. HOT 4
- GEE image does not display after applying the cloud mask based on SCL band HOT 2
- Batch download won't work
- difference from cloudmask in ee HOT 3
- Export image collection to asset HOT 2
- Regarding geetools (cloud masks) HOT 6
- Unable to export multiple images HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geetools-code-editor.