Spaces:
Sleeping
Sleeping
Delete README.md
Browse files
README.md
DELETED
|
@@ -1,58 +0,0 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Solara Geemap
|
| 3 |
-
emoji: 🏃
|
| 4 |
-
colorFrom: blue
|
| 5 |
-
colorTo: purple
|
| 6 |
-
sdk: docker
|
| 7 |
-
pinned: false
|
| 8 |
-
license: mit
|
| 9 |
-
app_port: 8765
|
| 10 |
-
---
|
| 11 |
-
|
| 12 |
-
## Earth Engine Web Apps
|
| 13 |
-
|
| 14 |
-
### Introduction
|
| 15 |
-
|
| 16 |
-
**A collection of Earth Engine web apps developed using [Solara](https://github.com/widgetti/solara) and geemap**
|
| 17 |
-
|
| 18 |
-
- Web App: <https://giswqs-solara-geemap.hf.space>
|
| 19 |
-
- GitHub: <https://github.com/opengeos/solara-geemap>
|
| 20 |
-
- Hugging Face: <https://huggingface.co/spaces/giswqs/solara-geemap>
|
| 21 |
-
|
| 22 |
-
### How to deploy this app on Hugging Face Spaces
|
| 23 |
-
|
| 24 |
-
1. Go to <https://huggingface.co/spaces/giswqs/solara-geemap/tree/main> and duplicate the space to your own space.
|
| 25 |
-
|
| 26 |
-

|
| 27 |
-
|
| 28 |
-
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:
|
| 29 |
-
|
| 30 |
-
```text
|
| 31 |
-
Windows: C:\\Users\\USERNAME\\.config\\earthengine\\credentials
|
| 32 |
-
Linux: /home/USERNAME/.config/earthengine/credentials
|
| 33 |
-
MacOS: /Users/USERNAME/.config/earthengine/credentials
|
| 34 |
-
```
|
| 35 |
-
|
| 36 |
-
Simply open the file and copy **ALL** the content to the `EARTHENGINE_TOKEN` environment variable.
|
| 37 |
-
|
| 38 |
-

|
| 39 |
-
|
| 40 |
-

|
| 41 |
-
|
| 42 |
-
Alternatively, you can run the following code to retrieve your Earth Engine token:
|
| 43 |
-
|
| 44 |
-
```python
|
| 45 |
-
import geemap
|
| 46 |
-
geemap.get_ee_token()
|
| 47 |
-
```
|
| 48 |
-
|
| 49 |
-
Copy all the content of the printed token and set it as the `EARTHENGINE_TOKEN` environment variable.
|
| 50 |
-
|
| 51 |
-
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>.
|
| 52 |
-
|
| 53 |
-

|
| 54 |
-
|
| 55 |
-

|
| 56 |
-
|
| 57 |
-
4. Add your own apps (\*.py) to the `pages` folder.
|
| 58 |
-
5. Commit and push your changes to the repository. Wait for the space to be built successfully.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|