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

Feature: Function to enable adding GEE assets and metadata #74

Open
edwardpmorris opened this issue Sep 25, 2019 · 0 comments
Open

Feature: Function to enable adding GEE assets and metadata #74

edwardpmorris opened this issue Sep 25, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@edwardpmorris
Copy link

It would be great to have a helper for creating metadata and uploading GEE assets (featureCollection, Image, ImageCollection), that links to the resourcewatch API.

For example, tiled images need to be added as a GEE ImageCollection and then the resulting GEE asset added as a dataset/layer to the RW API. LMIPy facilitates making the dataset and layer defintion and upload manifest, reusing parameters from both.

  • Ideally so as not to include to much 'bloat' in LMIpy this could be based around the creation of a JSON GEE upload manifest (with required and suggested fields).
  • This could be linked to LMIpy dataset/layer dictionaries, i.e., mapping of fields.
  • The upload task could then be created using CLI earthengine.

Classes:

  • eeUploadManifest
    • featureCollection
    • Image
    • ImageCollection

Methods:

  • create_manifest (JSON)
  • get_file_paths (JSON, string)
  • set_tile_sets (JSON)
  • set_asset_name (string)
  • set_start_time (ISO8601, string)
  • set_end_time (ISO8601, string)
  • set_band_names (list, string)
  • set_pyramiding_policy (list, string)
  • set_image_scale (float, string)
  • set_sld_style (XML-string)
  • set_properties (dictionary)
@edwardpmorris edwardpmorris added the enhancement New feature or request label Sep 25, 2019
@edwardpmorris edwardpmorris self-assigned this Sep 25, 2019
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

1 participant