You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Google Earth Engine Batch Asset Manager with Addons is an extension of the one developed by Lukasz [here](https://github.com/tracek/gee_asset_manager) and additional tools were added to include functionality for moving assets, conversion of objects to fusion table, cleaning folders, querying tasks. The ambition is apart from helping user with batch actions on assets along with interacting and extending capabilities of existing GEE CLI. It is developed case by case basis to include more features in the future as it becomes available or as need arises. tab.
5
3
6
4

@@ -12,6 +10,7 @@ Google Earth Engine Batch Asset Manager with Addons is an extension of the one d
12
10
*[Parsing metadata](#parsing-metadata)
13
11
*[Usage examples](#usage-examples)
14
12
* [EE User](#ee-user)
13
+
* [Create](#create)
15
14
* [Upload a directory with images and associate properties with each image:](#upload-a-directory-with-images-and-associate-properties-with-each-image)
16
15
* [Upload a directory with images with specific NoData value to a selected destination:](#upload-a-directory-with-images-with-specific-nodata-value-to-a-selected-destination)
17
16
* [Asset List](#asset-list)
@@ -23,20 +22,11 @@ Google Earth Engine Batch Asset Manager with Addons is an extension of the one d
* [Convert to Fusion Table](#convert-to-fusion-table)
27
25
* [Cleanup Utility](#cleanup-utility)
28
26
* [Cancel all tasks](#cancel-all-tasks)
29
27
30
28
## Installation
31
-
We assume Earth Engine Python API is installed and EE authorised as desribed [here](https://developers.google.com/earth-engine/python_install). This toolbox also uses some functionality from GDAL
For Windows I found this [guide](https://sandbox.idre.ucla.edu/sandbox/tutorials/installing-gdal-for-windows) from UCLA
38
-
39
-
To install toolbox:
29
+
We assume Earth Engine Python API is installed and EE authorised as desribed [here](https://developers.google.com/earth-engine/python_install). To install:
collprop Sets Overall Properties for Image Collection
84
-
convert2ft Uploads a given feature collection to Google Fusion
85
-
Table.
86
80
cleanout Clear folders with datasets from earlier downloaded
87
81
cancel Cancel all running tasks
88
82
@@ -161,6 +155,17 @@ Having metadata helps in organising your asstets, but is not mandatory - you can
161
155
### EE User
162
156
This tool is designed to allow different users to change earth engine authentication credentials. The tool invokes the authentication call and copies the authentication key verification website to the clipboard which can then be pasted onto a browser and the generated key can be pasted back
163
157
158
+
### Create
159
+
This tool allows you to create a collection or folder in your earth engine root directory. The tool uses the system cli to achieve this and this has been included so as to reduce the need to switch between multiple tools and CLI.
160
+
```
161
+
usage: ppipe.py create [-h] --typ TYP --path PATH
162
+
163
+
optional arguments:
164
+
-h, --help show this help message and exit
165
+
--typ TYP Specify type: collection or folder
166
+
--path PATH This is the path for the earth engine asset to be created full
167
+
path is needsed eg: users/johndoe/collection
168
+
```
164
169
### Upload a directory with images to your myfolder/mycollection and associate properties with each image:
Once validated with gdal and google fusion table it can be used to convert any geoObject to google fusion table. Forked and contributed by Gennadii [here](https://github.com/gena/ogr2ft). The scripts can be used only with a specific google account
305
-
```
306
-
usage: geeadd.py convert2ft [-h] --i I --o O [--add_missing]
307
-
308
-
optional arguments:
309
-
-h, --help show this help message and exit
310
-
--i I input feature source (KML, SHP, SpatiLite, etc.)
311
-
--o O output Fusion Table name
312
-
--add_missing add missing features from the last inserted feature index
parser_create=subparsers.add_parser('create',help='Allows the user to create an asset collection or folder in Google Earth Engine')
88
+
parser_create.add_argument('--typ', help='Specify type: collection or folder', required=True)
89
+
parser_create.add_argument('--path', help='This is the path for the earth engine asset to be created full path is needsed eg: users/johndoe/collection', required=True)
parser_ft.add_argument('--add_missing', help='add missing features from the last inserted feature index', action='store_true', required=False, default=False)
145
-
parser_ft.set_defaults(func=ft_from_parser)
146
-
147
148
parser_cleanout=subparsers.add_parser('cleanout',help='Clear folders with datasets from earlier downloaded')
148
149
parser_cleanout.add_argument('--dirpath',help='Folder you want to delete after all processes have been completed')
0 commit comments