Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploading .tifs without metadata? #7

Closed
adrianom-gh opened this issue Jun 21, 2019 · 4 comments
Closed

Uploading .tifs without metadata? #7

adrianom-gh opened this issue Jun 21, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@adrianom-gh
Copy link

Hi @samapriya,

Was curious to know the reason behind making metadata a required input when uploading as an asset. I only need to upload .tifs that do not have metadata.

@samapriya
Copy link
Owner

Hi Adrianom,
The upload tool now uses the manifest upload method, and hence needs metadata, even if the metadata is nothing with a list of the names of the files as system:id. I will keep this issue open with the possibility of uploading without metadata using simple upload.

@samapriya samapriya added the enhancement New feature or request label Jun 26, 2019
@mgmanalili
Copy link

Hi @samapriya ,
Can you provide me a sample metadata file? I also want to upload a raw TIF without metadata. Thanks. I am not sure if getting GDALINFO and paste it in a text file would work.

Thanks!

@samapriya
Copy link
Owner

Hi @mgmanalili and @adrianom-gh
I think I took your idea about creating metadata by using simple gdal and I am going to create and release that as part of the next version of the tool. A bare minimum metadata file can be something as simple as just the filenames in rows with id_no as header. Do not use the file extension in the id_no column. it assumes all files are GeoTiffs. I am testing a tool currently to do this for all rasters in a folder using the GDAL based simple metadata tags.

id_no
L15-2673E-2340N
L15-2673E-2341N
L15-2673E-2342N
L15-2673E-2343N

samapriya added a commit that referenced this issue Aug 16, 2019
- Now allows for downloading geckodriver for macos Fix to [Issue 10](#10)
- Now includes a metadata tool to generate a generalized metadata for any raster to allow upload.
Fix to [Issue 7](#7)
- Changed from geeup update to init to signify initialization
- Added selsetup this tool allows for setting up the gecko driver with your account incase there are issues uploading
- Better error handling for selenium driver download
@samapriya
Copy link
Owner

Hi @adrianom-gh and @mgmanalili
Instead of uploading rasters without metadata, this updates v0.2.5 includes a general metadata creator using gdal info and metadata tags. This way you can create metadata for any set of rasters and then upload. I wanted to keep the manifest method standard for image upload. Closing the issue as a result of the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants