Git Product home page Git Product logo

solara-geemap's Introduction

title emoji colorFrom colorTo sdk pinned license app_port
Solara Geemap
🏃
blue
purple
docker
false
mit
8765

Earth Engine Web Apps

Introduction

A collection of Earth Engine web apps developed using Solara and geemap

How to deploy this app on Hugging Face Spaces

  1. Go to https://huggingface.co/spaces/giswqs/solara-geemap/tree/main and duplicate the space to your own space.

  2. You need to set EARTHENGINE_TOKEN in order to use Earth Engine. The token value should be copied from the following file depending on your operating system:

    Windows: C:\\Users\\USERNAME\\.config\\earthengine\\credentials
    Linux: /home/USERNAME/.config/earthengine/credentials
    MacOS: /Users/USERNAME/.config/earthengine/credentials
    

    Simply open the file and copy ALL the content to the EARTHENGINE_TOKEN environment variable.

    Alternatively, you can run the following code to retrieve your Earth Engine token:

    import geemap
    geemap.get_ee_token()

    Copy all the content of the printed token and set it as the EARTHENGINE_TOKEN environment variable.

  3. After the space is built successfully, click the Embed this Space menu and find the Direct URL for the app, such as https://giswqs-solara-geemap.hf.space.

  4. Add your own apps (*.py) to the pages folder.

  5. Commit and push your changes to the repository. Wait for the space to be built successfully.

solara-geemap's People

Contributors

giswqs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

solara-geemap's Issues

问题:map 对象不存在 element 属性

Traceback (most recent call last):
File "solara-geemap-main\solara-geemap-main\pages\test.py", line 2, in
Map.element(
AttributeError: type object 'Map' has no attribute 'element'

这是怎么回事呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.