Skip to content

Commit

Permalink
updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
samapriya committed Jul 29, 2021
1 parent f20604c commit 99457f9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

### 0.5.0
- fixed typo in version check
-

### v0.4.9
- Improvements to redundancy in code
- Improvements to version check for tool
Expand Down
15 changes: 10 additions & 5 deletions docs/projects/table_upload.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
# Table Upload

This tool allows you to batch download tables/shapefiles to a folder. It uses a modified version of the image upload and a wrapper around the earthengine upload cli to achieve this while creating folders if they don't exist and reporting on assets and checking on uploads. This only requires a source, destination and your ee authenticated email address. This tool also uses selenium to upload the tables. The table upload tool now allows the user to copy cookie list from your browser and bypass selenium based authentication. It saves the cookie temporarily and uses it automatically till it expires when it asks you for cookie list again. Just use the ```--method cookies``` argument.
This tool allows you to batch download tables/shapefiles/CSVs to a folder. It uses a modified version of the image upload and a wrapper around the earthengine upload cli to achieve this while creating folders if they don't exist and reporting on assets and checking on uploads. This only requires a source, destination and your ee authenticated email address. This tool also uses selenium to upload the tables. The table upload tool now allows the user to copy cookie list from your browser and bypass selenium based authentication. It saves the cookie temporarily and uses it automatically till it expires when it asks you for cookie list again. Just use the ```--method cookies``` argument.

```
usage: geeup tabup [-h] --source SOURCE --dest DEST [-u USER]
[--method METHOD]
[--method METHOD] [--x X] [--y Y]
optional arguments:
-h, --help show this help message and exit
Required named arguments.:
--source SOURCE Path to the directory with zipped folder for upload.
--source SOURCE Path to the directory with zipped files or CSV files
for upload.
--dest DEST Destination. Full path for upload to Google Earth
Engine, e.g. users/pinkiepie/myponycollection
Engine folder, e.g. users/pinkiepie/myfolder
-u USER, --user USER Google account name (gmail address).
--method METHOD Choose method <cookies> to use cookies to authenticate
Optional named arguments:
--x X Column with longitude value
--y Y Column with latitude value
```

If you are using cookies for table upload setup would be

```
geeup tabup --source "full path to folder with Zipped Shapefiles" --dest "Full path for upload to Google Earth Engine, e.g. users/pinkiepie/foler" --user "email@domain.com authenticated and used with GEE" --method "cookies"
geeup tabup --source "full path to folder with Zipped Shapefiles/CSV files" --dest "Full path for upload to Google Earth Engine, e.g. users/pinkiepie/folder" --user "email@domain.com authenticated and used with GEE" --method "cookies"
```

0 comments on commit 99457f9

Please sign in to comment.