GEE Tutorial #1 - Introducing the geemap Python package for interactive mapping with Earth Engine

  Рет қаралды 67,827

Open Geospatial Solutions

Open Geospatial Solutions

Күн бұрын

Пікірлер: 279
@giswqs
@giswqs 4 жыл бұрын
If you are encountering issues installing geemap using conda, try the following commands: conda create -n gee python=3.8 conda activate gee pip install geemap
@clancyoliver3317
@clancyoliver3317 4 жыл бұрын
Thanks for this info! After using those commands, I still encountered a kernel error within Jupyter Notebook ("DLL load failed while importing win32api") when I opened it. I found this fix for it: github.com/jupyter/notebook/issues/4980#issuecomment-600992296
@clancyoliver3317
@clancyoliver3317 4 жыл бұрын
Then I encountered this error when importing geemap in Jupyter Notebook: developercommunity.visualstudio.com/content/problem/1207405/fmod-after-an-update-to-windows-2004-is-causing-a.html As mentioned there, reverting numpy seems to work: pip install numpy==1.19.3
@raytwoghosh5221
@raytwoghosh5221 4 жыл бұрын
I can't install geemap. Please help
@saktola
@saktola 4 жыл бұрын
ModuleNotFoundError Traceback (most recent call last) in ----> 1 import geemap ModuleNotFoundError: No module named 'geemap' I get this message in jupyter notebook. please suggest
@giswqs
@giswqs 4 жыл бұрын
@@saktola conda activate gee
@Jim-KQ4YUS
@Jim-KQ4YUS 3 жыл бұрын
Thank you for your service to the geospatial community!
@filmonafewerki7884
@filmonafewerki7884 4 жыл бұрын
Absolutely incredible work you showed us thank you, Sir. from Eritrea.
@M94-24
@M94-24 3 жыл бұрын
Thank you very much for your efforts ♥. I'm gonna primarily depend on GEE in my master thesis topic. There are no words to express my gratefulness
@Victorcurta
@Victorcurta 4 жыл бұрын
Thank you so much for your iniciative! Best regards from Brazil!
@jalmiburung
@jalmiburung 4 жыл бұрын
I love the way you hit the Enter button :D
@mayanda159
@mayanda159 3 жыл бұрын
Hi Dr. WU after i make the authentication I get this error in ----> 1 m=geemap.Map() 2 m ~\anaconda3\envs\python-gis\lib\site-packages\geemap\geemap.py in __init__(self, **kwargs) 131 self.roi_end = False 132 if kwargs["ee_initialize"]: --> 133 self.roi_reducer = ee.Reducer.mean() 134 self.roi_reducer_scale = None 135 AttributeError: module 'ee' has no attribute 'Reducer'
@saranshjaiswal1420
@saranshjaiswal1420 8 ай бұрын
i am also facing the same issue did you find any solution?
@winthuyahtut5040
@winthuyahtut5040 4 жыл бұрын
Thank you! Your sharings are so helpful and it will greatly support for self-study . and I hope that you'll upload the other interesting video.
@giswqs
@giswqs 4 жыл бұрын
See kzbin.info/aero/PLAxJ4-o7ZoPccOFv1dCwvGI6TYnirRTg3
@Snowfall_2244
@Snowfall_2244 4 жыл бұрын
@Qiusheng Wu I cant open Jupyter notebook under gee base? How can I solve the problem
@giswqs
@giswqs 4 жыл бұрын
conda create -n gee python=3.8 conda activate gee pip install geemap jupyter notebook
@thevgancheetah
@thevgancheetah 2 жыл бұрын
Hello! I am trying to install geemap. But when I try to import it I am getting this error. "Token is required for this provider, but not provided. You can either update Tile provider or pass respective keywords to build_url()" The version I am using is 0.15.4 Thank you.
@giswqs
@giswqs 2 жыл бұрын
pip install -U geemap
@giswqs
@giswqs 2 жыл бұрын
You might also need to use 'pip install -U xyzservices'
@thevgancheetah
@thevgancheetah 2 жыл бұрын
Thank you! It worked! I didn’t have to install xyz services. Thanks again!
@GeospatialConservationLab
@GeospatialConservationLab 4 жыл бұрын
I really want to learn to use this but I'm stuck! Anyone has a solution to this? when I get to the step "Jupyter notebook" I get the message in the prompt: [W 17:02:37.584 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty' Jupyter notebook launches but says "Kernel error" - Any help is much appreciated! thnx
@giswqs
@giswqs 4 жыл бұрын
Try Google Colab? You just need a browser. No installation is needed. colab.research.google.com/github/giswqs/geemap/blob/master/examples/notebooks/35_geemap_colab.ipynb
@GeospatialConservationLab
@GeospatialConservationLab 4 жыл бұрын
@@giswqs thank you! I will try that!
@naman_ind
@naman_ind 10 ай бұрын
after running m=geemap.Map() and m it shows long error and doesent open the browser to sign up
@douglagug
@douglagug 6 ай бұрын
Having trouble with launching the Jupyter Notebook on a m3 MacBook Pro using terminal. I get this error AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)" Any thoughts appreciated.
@luckyyoila6496
@luckyyoila6496 2 жыл бұрын
hello good day. i started installing the package but my computer had a glitch and shutdown now i wanna continue with installation but its saying conda environment already exist. meanwhile the installation isn't complete. pls how can i complete the installation?
@dgkitchen7386
@dgkitchen7386 2 жыл бұрын
sorry but i can do anything. I have tried with pip install but when i go on jupyter he told me "module 'ee' has no attribute 'Reducer'
@alexmodi5159
@alexmodi5159 4 жыл бұрын
Thank you sir I can't wait for more video
@painxdpainxd9252
@painxdpainxd9252 Жыл бұрын
RefreshError: ('invalid_scope: Bad Request', {'error': 'invalid_scope', 'error_description': 'Bad Request'}) this is the error i am getting any help?
@debobratasadhukhan5517
@debobratasadhukhan5517 Жыл бұрын
how to integrate with html and host it ? any documentation or github codes?
@aleilpazzo92
@aleilpazzo92 2 жыл бұрын
I have a problem after copy token..Credential problem..How can I resolve that?
@akkaraponchaiyana6520
@akkaraponchaiyana6520 3 жыл бұрын
Dear Dr.Wu I am following your mention m = geemap.Map() m I run code, Map does not show.
@giswqs
@giswqs 3 жыл бұрын
See kzbin.info/www/bejne/gHTcd42If7Sghc0
@akkaraponchaiyana6520
@akkaraponchaiyana6520 3 жыл бұрын
@@giswqs I followed any step, installing geemap is find but only map in the jupyter note book does not show.
@akkaraponchaiyana6520
@akkaraponchaiyana6520 3 жыл бұрын
I followed any step, installing geemap is fine but only map in the jupyter note book does not show.
@ChristhianSantanaCunha
@ChristhianSantanaCunha 3 жыл бұрын
Thanks for sharing. Do you know why this code doesn't work in pycharm? I installed all the packages however, after running, it doesn't show the results and no errors. I appreciate if you can help me.
@giswqs
@giswqs 3 жыл бұрын
I have not tested geemap with PyCharm before. Please try Jupyter notebook, JupyterLab, or Google Colab. colab.research.google.com/drive/1KbIj-V9Z3bP9rotCBKSwbTe9q3zk4Mr-?usp=sharing
@thegamechanger7157
@thegamechanger7157 3 жыл бұрын
Pycharm has different format from jupyter notebook.
@genesis13fiatlux
@genesis13fiatlux 3 жыл бұрын
Hello Dr. Wu: I made it all the way to 6:19 but at "import gee" I get a message: ModuleNotFoundError: No module named 'geemap'; please suggestions. Thanks for the amazing work!
@giswqs
@giswqs 3 жыл бұрын
Make sure you activate the conda env where geemap is installed. Execute "!pip list" within Jupyter notebook. If you don't see geemap there, that mean you are in the wrong env.
@genesis13fiatlux
@genesis13fiatlux 3 жыл бұрын
@@giswqs thanks! I got it. It's working!
@alayetmanel6986
@alayetmanel6986 2 жыл бұрын
Thank you so much, you have no idea how you helped me in my studies i'm all gratefull god bless you
@bilalahmad773
@bilalahmad773 4 жыл бұрын
I am using window and I installed anaconda when I reached the jupyter notebook and then import geemap so it can not display and show attribute error what to do know sir?
@andrestorrico113
@andrestorrico113 2 жыл бұрын
i have this problem Error 400: invalid_request The version of the app you're using doesn't include the latest security features to keep you protected. Please make sure to download from a trusted source and update to the latest, most secure version.
@Lucyfik
@Lucyfik 4 жыл бұрын
Thank you so much! It's amazing source of information.
@nirajmallaioe
@nirajmallaioe 4 жыл бұрын
I get kernell error with this message . What should I do ? ImportError: DLL load failed while importing win32api: The specified module could not be found.
@giswqs
@giswqs 4 жыл бұрын
conda install pywin32
@Lokendrasinghrathorenalu
@Lokendrasinghrathorenalu 4 жыл бұрын
The basemap in not showing in my Jupyter notebook. It shows nothing after the following command: M= geemap.Map() ; M
@giswqs
@giswqs 4 жыл бұрын
How did you install geemap? Try creating a fresh conda env to install it. See giswqs.github.io/geemap/installation/ conda create -n gee python=3.8 conda activate gee conda install mamba -c conda-forge mamba install geemap -c conda-forge
@Lokendrasinghrathorenalu
@Lokendrasinghrathorenalu 4 жыл бұрын
@@giswqs Thanks for the prompt reply, I installed geemap with pip and using it on Jupyter notebook. In order to show the map, do I need to install any other library or enable any extension on Jupyter?
@giswqs
@giswqs 4 жыл бұрын
Try run the follow command to see if it works. If not, your current Python env might have some dependecy issue. Try conda. jupyter nbextension enable --py --sys-prefix ipyleaflet
@Lokendrasinghrathorenalu
@Lokendrasinghrathorenalu 4 жыл бұрын
@@giswqs It is showing now, thanks
@范思源-o1b
@范思源-o1b 2 жыл бұрын
I cannot successfully open geemap, and it said "由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。" What can I do?
@giswqs
@giswqs 2 жыл бұрын
VPN problem
@范思源-o1b
@范思源-o1b 2 жыл бұрын
@@giswqs thanks for answering!
@زهراءمسيرناصر
@زهراءمسيرناصر 2 жыл бұрын
hi ,I would like to contact you about a produce check for interpolation method
@andreadrozd880
@andreadrozd880 3 жыл бұрын
Hi. I have installed geemap without mamba. Is this a problem? How could I solve it?. Thank you very much!
@giswqs
@giswqs 3 жыл бұрын
Not a problem. You can also install it using conda, but it might take a while to resolve all the dependencies. As long as you can install it, either conda or mamba is fine.
@andreadrozd880
@andreadrozd880 3 жыл бұрын
@@giswqs Thank you!!!
@kumudumadhawakurugama3244
@kumudumadhawakurugama3244 2 жыл бұрын
Thanks for such a wonderful video. During working on jupyter notebook as per video for first time I'm coming up with the error: AttributeError: module 'ee' has no attribute 'Reducer' Kindly let me know how to resolve it.
@giswqs
@giswqs 2 жыл бұрын
You need an Earth Engine account
@kumudumadhawakurugama3244
@kumudumadhawakurugama3244 2 жыл бұрын
@@giswqs Thank you sir. It worked., I have an another question that, when making the time lapse videos, can we change the camera angle or the viewing point rather than using the plane (top) view, just like in timelapse in google earth?
@giswqs
@giswqs 2 жыл бұрын
Unfortunately, the answer is no. GEE doesn’t provide such functionality
@kumudumadhawa493
@kumudumadhawa493 2 жыл бұрын
@@giswqs thanks for the prompt reply
@dibyajyotimohanty6371
@dibyajyotimohanty6371 4 жыл бұрын
Sir , while installing geemap using Mamba in gee environment.....it's throwing error : nothing provides basemap 1.0.7 needed by mss-1.2.1-py27_0
@giswqs
@giswqs 4 жыл бұрын
Try python 3.8
@eskil9800
@eskil9800 3 жыл бұрын
When creating the map I get the AttributeError: module 'six.moves' has no attribute 'collections_abc' . Any idea what is wrong?
@giswqs
@giswqs 3 жыл бұрын
Try creating a fresh conda env to install it. conda create-n gee python=3.8 conda activate gee pip install geemap
@sabbahamunandar3996
@sabbahamunandar3996 3 жыл бұрын
Previously thank you so much Mr Wu, it's so help me. But i not understand how to displaying geemap function automatically like you do (add_basemap)? what is the key for do that
@giswqs
@giswqs 3 жыл бұрын
See kzbin.info/www/bejne/jpyXf6OMosmdnZI
@sabbahamunandar3996
@sabbahamunandar3996 3 жыл бұрын
@@giswqs thanks
@JulietaArellanoo
@JulietaArellanoo 4 жыл бұрын
Hello! I try to install geemap but I have this problem: "Problem: nothing provides basemap 1.0.7 needed by mss-1.2.1-py27_0". Thanks
@giswqs
@giswqs 4 жыл бұрын
Are you using Python 3.9? Try Python 3.8 conda create -n gee python=3.8 conda activate gee pip install geemap
@JulietaArellanoo
@JulietaArellanoo 4 жыл бұрын
@@giswqs thanks! Now I try to find examples outside US with sentinel-2 data
@abdellahizri7359
@abdellahizri7359 4 жыл бұрын
good work can i add click mouse function that when I click on marker it will change the color of that marker
@giswqs
@giswqs 4 жыл бұрын
Yes, take a look at this ipyleaflet example: github.com/jupyter-widgets/ipyleaflet/blob/stable/examples/AwesomeIcons.ipynb
@fowadahmed6174
@fowadahmed6174 4 жыл бұрын
Hello did anyone receive this error after the 3rd installing line *conda install -c conda-forge geemap* Output in format: Requested package -> Available versions i have changed the python version to the same as seen in video but still not Happening, tried both with mini conda and annaconda.
@giswqs
@giswqs 4 жыл бұрын
try “pip install geemap”
@fowadahmed6174
@fowadahmed6174 4 жыл бұрын
@@giswqs thanks a lot it worked now i am jumping into GEE through your package :)
@1doublegy
@1doublegy 4 жыл бұрын
Tried installing with conda and even updated but not getting geemap v0.7.2. Stuck with 0.6.. Any help with this?
@giswqs
@giswqs 4 жыл бұрын
Looks like there might be some dependency compatibility issues. Try the following two commands: conda remove --force geemap pip install geemap
@casandrathewitch
@casandrathewitch 4 жыл бұрын
Thanks Quisheng. This is really helpful. I followed all the installation instructions and they ran successfully. However when i try 'import geemap' from the jupyter notebook I get an error: 'modulenotfounderror: no module named 'geemap' . I feel like I am overlooking some basic step. Do you have any suggestions
@giswqs
@giswqs 4 жыл бұрын
Make sure you activate the conda env where geemap is installed.
@casandrathewitch
@casandrathewitch 4 жыл бұрын
@@giswqs Thank you for the suggestion. This didnt seem to work for me so I tried to reinstall Geemap. I get the following error: Looking for: ['geemap'] Encountered problems while solving. Problem: nothing provides basemap 1.0.7 needed by mss-1.2.1-py27_0 Sorry to bother you further. But any help is really appreciated.
@giswqs
@giswqs 4 жыл бұрын
@@casandrathewitch Try the following: conda create -n gee python -y conda activate gee pip install geemap jupyter notebook
@casandrathewitch
@casandrathewitch 4 жыл бұрын
@@giswqs Thanks a ton. I was able to sort out the issue. I couldn't have sorted it out without your help. Cheers
@giswqs
@giswqs 4 жыл бұрын
Congratulations! Enjoy the coding journey with geemap!
@acinad4605
@acinad4605 3 жыл бұрын
Thanks sir! May I ask how can I display my proportional symbol map using geemap? I have a shapefile containing information of flood hazard. I dont know how to display it in my interactive map as well as put legend.
@dannypan4143
@dannypan4143 4 жыл бұрын
Dear Qiusheng, There is a mistake when I import 'jupyter notebook' into the terminal. The error information is 'jupyter'不是内部或外部命令,也不是可运行的程序或批处理文件。 Do you know what's wrong with this? Thank you so much for your reply. Danny
@giswqs
@giswqs 4 жыл бұрын
Make sure you activate the conda env where geemap is installed, such as conda activate gee jupyter notebook
@dannypan4143
@dannypan4143 4 жыл бұрын
@@giswqs Thank you so much for your help. It works successfully.
@huanvuduc
@huanvuduc 4 жыл бұрын
Dear Qiusheng Wu, Thank you so much for your presentation. I did the same your instruction but the map does not show and I got the message as :"Map(center=[40, -100], controls=(WidgetControl(options=['position'], widget=HBox(children=(ToggleButton(value=…" . WHat should I do ?
@giswqs
@giswqs 4 жыл бұрын
Did you create a fresh conda env to install geemap? See github.com/giswqs/geemap#installation conda create -n gee python conda activate gee conda install -c conda-forge geemap
@huanvuduc
@huanvuduc 4 жыл бұрын
@@giswqs Thank you, Quisheng Wu, Yes, but it was fixed. My system default for jupyter notebook .htnl is IE browser, when I change to FireFox browser, it successfully works.
@prashantshahi4626
@prashantshahi4626 2 жыл бұрын
Great video. I got this error when tried to load the map: AttributeError: module 'collections' has no attribute 'Callable'. Could you tell me how to resolve it?
@giswqs
@giswqs 2 жыл бұрын
Install the latest version: pip install -U geemap
@jinxiang5398
@jinxiang5398 4 жыл бұрын
hello! I installed pip geemap,when I import geemap,then I got a message as"TimeoutError Traceback (most recent call last)".I don't know whether it is my installed geemap or my network problem.what should i do? thank you very much!
@giswqs
@giswqs 4 жыл бұрын
Check out github.com/giswqs/geemap/issues/36#issuecomment-625790106
@srinivasateja7235
@srinivasateja7235 4 жыл бұрын
‘ jupyter notebook ‘ command is opening a notebook in browser , but ‘jupyter lab’ is showing an error and not working
@giswqs
@giswqs 4 жыл бұрын
jupyterlab.readthedocs.io/en/stable/getting_started/installation.html
@srinivasateja7235
@srinivasateja7235 4 жыл бұрын
@@giswqs Thanku sir, realised the mistake, actually i didn't know i have to install jupyter lab in the (gee) environment again, it's working now
@giswqs
@giswqs 4 жыл бұрын
jupyterlab is not a dependency of geemap. You will have to install it separately
@aseemshaikh12
@aseemshaikh12 4 жыл бұрын
sorry i am new in coding and just started...i install anaconda in my system, please tell me how to install the geemap...how to open conda python environment to write the script..help
@giswqs
@giswqs 4 жыл бұрын
What operating system are you using? If it is Windows, go to the start menu, find Anaconda Prompt, then follow the tutorial to install geemap.
@aseemshaikh12
@aseemshaikh12 4 жыл бұрын
@@giswqs ok sir thank you i will try
@caelinmurray4011
@caelinmurray4011 4 жыл бұрын
After authorizing earth Engine the geemap map will not run/open in jupyter and does not identify any errors in juypter or anaconda. Suggestions?
@caelinmurray4011
@caelinmurray4011 4 жыл бұрын
uninstalled three times, used new script and folder. however map function worked first try before authorizing.
@giswqs
@giswqs 4 жыл бұрын
Check this github.com/giswqs/geemap/issues/31#issuecomment-624436491
@caelinmurray4011
@caelinmurray4011 4 жыл бұрын
@@giswqs thank you! unfortunately it did not fix my widget problem
@giswqs
@giswqs 4 жыл бұрын
Could you show the screenshot?
@giswqs
@giswqs 4 жыл бұрын
You can open an issue on the repo with a detailed description of the error message github.com/giswqs/geemap/issues
@guijayy
@guijayy 4 жыл бұрын
Hello, thanks for the playlist! Everything went well until I opened jupyter notebook and it says 'Kernel Error', with a buch of files not being found. What can I do?
@giswqs
@giswqs 4 жыл бұрын
What operating system are you using? How did you install geemap? pip or conda? Can you share more details about the error message?
@johnwaweru7631
@johnwaweru7631 4 жыл бұрын
I also got this error. I am using Windows 10 and installed Anaconda. I had installed already installed the Qgis GEE map plugin already which also required me to do the authentification. Could it be the reason for the error?
@johnwaweru7631
@johnwaweru7631 4 жыл бұрын
It worked out just now try using pip install that worked everything out for me and now everything works fine
@rubamohammed8042
@rubamohammed8042 4 жыл бұрын
i have this problem >> ERROR: Error [WinError 2] The system cannot find the file specified while executing command git clone -q github.com/giswqs/geemap 'C:\Users\96659\AppData\Local\Temp\pip-req-build-wfakqj0r' ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH?
@ynsatspace3692
@ynsatspace3692 3 жыл бұрын
Is it possible to use this package with python 3.9? Thanks
@giswqs
@giswqs 3 жыл бұрын
Yes, you can
@asselyaospan8280
@asselyaospan8280 4 жыл бұрын
Hello! I have installed geemap, but JN shows me this error: ImportError: cannot import name 'mtls' from 'google.auth.transport' (C:\Users\semyatova.alinura\AppData\Local\Continuum\anaconda3\lib\site-packages\google\auth\transport\__init__.py). Please can you help me to solve this?
@giswqs
@giswqs 4 жыл бұрын
Try "pip install -U google-auth"
@asselyaospan8280
@asselyaospan8280 4 жыл бұрын
@@giswqs thank you 🙏 should I write this code on cmd or JN?
@giswqs
@giswqs 4 жыл бұрын
cmd
@TheGabynEuginia
@TheGabynEuginia 4 жыл бұрын
Hello, thank you for sharig this! Everything went well until I entered verification code on jupyter notebok and it says "HttpError Traceback (most recent call last) ~\miniconda3\envs\gee\lib\site-packages\ee\data.py in _execute_cloud_call(call, num_retries), and couple of EEException". Any suggestion?
@giswqs
@giswqs 4 жыл бұрын
Did you sign up for an Earth Engine account?
@TheGabynEuginia
@TheGabynEuginia 4 жыл бұрын
@@giswqs Thanks for the prompt reply, I will sign up for Earth Engine account first and see how it goes.
@MohanBChand-dj3st
@MohanBChand-dj3st 4 жыл бұрын
Sorry, I am just starting a python, I am facing the problem of conda install -c conda-forge geemap, I can not run it successfully. it pop up with unsatisfiableerror, geemap ->folium >=0.10.1 ->python>=3.5, some kind of conflict.
@giswqs
@giswqs 4 жыл бұрын
Try creating a new conda env to install geemap using the following commands: conda create -n gee python conda activate gee conda install -c conda-forge geemap
@MohanBChand-dj3st
@MohanBChand-dj3st 4 жыл бұрын
@@giswqs Thank you, I managed to install it, but when in want to import and want to display the base map, it doesn't respond
@giswqs
@giswqs 4 жыл бұрын
How did you install it! What do you mean by “it doesn’t respond”?
@MohanBChand-dj3st
@MohanBChand-dj3st 4 жыл бұрын
@@giswqs I installed using Anaconda. Sorry, it worked in the end. Sorry, I am interested to make Landsat animation by selecting without cloud cover images. Is it possible to select the images with the least cloud cover or snow cover? Thank you.
@giswqs
@giswqs 4 жыл бұрын
@@MohanBChand-dj3stCheck out this tutorial on how to make landsat animations kzbin.info/www/bejne/hajNhH2kfLx-gNU
@胡珺
@胡珺 4 жыл бұрын
Thank you for giving the tutorial sir. I had downloaded the package and installed it by pip, but the map didn't show in jupyter notebook. I also tried to install it in colab, after enter the authorizing information, the interactive map still didn't show. What should I do?
@giswqs
@giswqs 4 жыл бұрын
I would suggest using conda to install geemap. If you use Colab, check out this repo: github.com/giswqs/earthengine-py-notebooks conda create -n gee python=3.7 conda activate gee conda install mamba -c conda-forge mamba install geemap -c conda-forge
@heithorqueiroz747
@heithorqueiroz747 3 жыл бұрын
Hi! Is there any way to print static maps (plots and subplots) from ee.Image or ee.ImageCollection, by integrating libraries such as Matplotlib?
@giswqs
@giswqs 3 жыл бұрын
Yes, see tutorial 47 kzbin.info/www/bejne/p6i7i3eJl8use5o
@ranamobeen3500
@ranamobeen3500 4 жыл бұрын
Dear Respected instructor. I faced some problems countinuosly while installation of gee package. During installation many times Anaconda crashed. If luckily not then gee map didn't show. I used VPN. I also add proxy for gee map but still didn't show the map. I also have some queries about the next videos. Can you please help me out to fix these.
@izakkaz
@izakkaz 3 жыл бұрын
hi everyone! Can you help me, I've got error with geemap? in fact, 2-3 weeks ago when I was working on Jupytere Notebook geemap worked fine, I made my project. And today I went back to edit something else, it stopped working
@giswqs
@giswqs 3 жыл бұрын
What error did you get?
@izakkaz
@izakkaz 3 жыл бұрын
@@giswqs how are you? it said *ModuleNotFoundError: No module named 'fcntl'*, before it said * ModuleNotFoundError: No module named '_curses' *, I downloaded it with pip install.. last time this was not, then it worked without error
@giswqs
@giswqs 3 жыл бұрын
Create a new conda env to install geemap
@xinchenhe6239
@xinchenhe6239 4 жыл бұрын
Hi Dr. Wu. Thanks for your kind sharing! I have successfully installed geemap and get verifying code from GEE. But the interactive map still didn't show and [WinError 10060] returned. It will be appreciated that you can give some suggestions!
@giswqs
@giswqs 4 жыл бұрын
See groups.google.com/g/google-earth-engine-developers/c/GeO3d6Utyto
@xinchenhe6239
@xinchenhe6239 4 жыл бұрын
@@giswqs Thank you for your help! I changed the mode of VPN and it works.
@nept4ne
@nept4ne 4 жыл бұрын
Hi!. I tried to do in google collab. Is it possible? . I tried this: !pip install geemap import geemap print(geemap.__version__) 0.7.0 m = geemap.Map() -> here I accepted the permision and coppied de link and hit enter m but then it doesn't show the map. Also shows no error in the script. Thanks in advance.
@giswqs
@giswqs 4 жыл бұрын
You can use it in Goolge Colab with limited interactive functionality. You need to use ""import geemap.eefolium as geemap". See examples in this repo: github.com/giswqs/earthengine-py-notebooks
@GISYavnet
@GISYavnet 4 жыл бұрын
Do we need to install package and every times we use anaconda?
@giswqs
@giswqs 4 жыл бұрын
Of course not. You only need to install once
@GISYavnet
@GISYavnet 4 жыл бұрын
@@giswqs Thank you so much, love your video, I have a question, I want to select only Cambodia as USA, but I can't and it still shows all countries from states = ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017"). can you guide me, please?
@giswqs
@giswqs 4 жыл бұрын
states = ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017").filter(ee.Filter.eq("country_na", "Cambodia"))
@GISYavnet
@GISYavnet 4 жыл бұрын
@@giswqs Thank you so much, now it works
@stephanemarin9434
@stephanemarin9434 4 жыл бұрын
Hello, thanks for job, but for me it don't work i've the following message : EEException: Permission denied. have you got a solution ?
@giswqs
@giswqs 4 жыл бұрын
What operating system are you using? How did you install it? Using pip or conda? What commands did you use to install it!
@gracetortorici1389
@gracetortorici1389 4 жыл бұрын
Hi! Great tutorial. I am getting an error " 'jupyter' is not recognized as an internal or external command, operable program or batch file." what am I doing wrong?
@giswqs
@giswqs 4 жыл бұрын
What operating system are you using? Did you install Anaconda?
@gracetortorici1389
@gracetortorici1389 4 жыл бұрын
miniconda on a PC
@giswqs
@giswqs 4 жыл бұрын
Open Anaconda Prompt from the Start Menu, then conda activate gee
@josephthuha8480
@josephthuha8480 4 жыл бұрын
Hello, Dr Wu, I have a very specific problem with earth engine, not related to this video though and I can't find a way to contact you. My map seems to have some data gaps. I am using django and Google Earth Engine + Leaflet. When I run the same code on the Google Earth Engine Code Editor, the code works fine. I can share a snippet of my code.
@giswqs
@giswqs 4 жыл бұрын
You are welcome to join the geemap slack channel for live discussions. gishub.org/geemap-slack
@businessrunner3037
@businessrunner3037 4 жыл бұрын
How to make an interactive map using PYTHON I want to add data in the pieces of map that I have added... Such as population
@adrianacalderon7418
@adrianacalderon7418 Жыл бұрын
Hello Qiusheng. Do you recommend installing geemap with pip in jupyter notebook or through Ananconda? thank you
@nickmadden9052
@nickmadden9052 4 жыл бұрын
Dr. Wu, I followed your steps to install geemap, but when I tried to import geemap into jupyter notebook, I get an error message ModuleNotFoundError in ----> 1 import geemap ModuleNotFoundError: No module named 'geemap' I am using miniconda on Windows 10. Any ideas how to solve import problem?
@giswqs
@giswqs 4 жыл бұрын
Did you activate the conda env where geemap is installed? conda activate gee jupyter notebook
@nickmadden9052
@nickmadden9052 4 жыл бұрын
@@giswqs Yes, I did. I used (conda env list) to check I had the environment...I do. I then entered the environment (conda activate gee) and started junypter notebook. I then created a new notebook in /gee and these messages (Meassage #1) popped up in the Anaconda prompt. I tried again to import geemap into junypter notebook (import geemap), but no success. I then tried to re-install geemap again in the gee environment (mamba install geemap -c conda-forge), but got the second message below (Message #2) in the Anaconda prompt. Any ideas? Thanks for your time. MESSAGE #1 [I 06:23:57.028 NotebookApp] Creating new notebook in /gee [W 06:23:57.188 NotebookApp] Config option `template_path` not recognized by `ExporterCollapsibleHeadings`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.206 NotebookApp] Config option `template_path` not recognized by `ExporterCollapsibleHeadings`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.260 NotebookApp] Config option `template_path` not recognized by `TocExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.269 NotebookApp] Config option `template_path` not recognized by `TocExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.289 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.303 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.327 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.340 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.396 NotebookApp] Config option `template_path` not recognized by `LenvsLatexExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.406 NotebookApp] Config option `template_path` not recognized by `LenvsLatexExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.637 NotebookApp] Config option `template_path` not recognized by `LenvsSlidesExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.649 NotebookApp] Config option `template_path` not recognized by `LenvsSlidesExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.780 NotebookApp] Config option `template_path` not recognized by `ExporterCollapsibleHeadings`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.799 NotebookApp] Config option `template_path` not recognized by `ExporterCollapsibleHeadings`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.852 NotebookApp] Config option `template_path` not recognized by `TocExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.861 NotebookApp] Config option `template_path` not recognized by `TocExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.881 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.894 NotebookApp] Config option `template_path` not recognized by `LenvsHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.918 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.932 NotebookApp] Config option `template_path` not recognized by `LenvsTocHTMLExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.988 NotebookApp] Config option `template_path` not recognized by `LenvsLatexExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:57.998 NotebookApp] Config option `template_path` not recognized by `LenvsLatexExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:58.231 NotebookApp] Config option `template_path` not recognized by `LenvsSlidesExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [W 06:23:58.243 NotebookApp] Config option `template_path` not recognized by `LenvsSlidesExporter`. Did you mean one of: `extra_template_paths, template_name, template_paths`? [I 06:23:58.487 NotebookApp] Kernel started: 62ecac37-062b-4f5f-86b7-aa062df60a65, name: python3 Meassage #2 Looking for: ['geemap'] conda-forge/win-64 Using cache conda-forge/noarch Using cache pkgs/r/win-64 [====================] (00m:00s) No change pkgs/r/noarch [====================] (00m:00s) No change pkgs/msys2/win-64 [====================] (00m:00s) No change pkgs/main/win-64 [====================] (00m:00s) No change pkgs/main/noarch [====================] (00m:00s) No change pkgs/msys2/noarch [====================] (00m:00s) No change Encountered problems while solving. Problem: nothing provides basemap 1.0.7 needed by mss-1.2.1-py27_0
@nickmadden9052
@nickmadden9052 4 жыл бұрын
Dr. Wu...I figured it out. Thanks for your help! Great videos and great work!
@ranamobeen3500
@ranamobeen3500 4 жыл бұрын
I followed the all steps and install the geemap package, but i faced a error can any one help me where is i am wrong.
@giswqs
@giswqs 4 жыл бұрын
What error?
@ranamobeen3500
@ranamobeen3500 4 жыл бұрын
@@giswqs When i import geemap,then I got a message as"TimeoutError Traceback (most recent call last)".I don't know whether it is my installed geemap or my network problem.
@giswqs
@giswqs 4 жыл бұрын
​@@ranamobeen3500 Try the following two lines. If it does not work, geemap won't work either. Make sure you have signed up for an Earth Engine account and you can authenticate ee successfully before you can use geemap. import ee ee.Authenticate()
@ranamobeen3500
@ranamobeen3500 4 жыл бұрын
When i entered the verification code then they showed this message Successfully saved authorization token. And then instead of show the map they showed a error "TimeoutError Traceback (most recent call last) ~\.conda\envs\gee\ lib\site-package\geemap\.py in ee_initialize(token_name)
@giswqs
@giswqs 4 жыл бұрын
Does you country have access to Google services? Are you using a VPN?
@maryamraeesi6467
@maryamraeesi6467 3 жыл бұрын
Hello, thank you for your clear tutorial. At the first step, I installed Miniconda on my Windows. Then, I tried to write codes on Terminal, but I have a problem with installing conda on terminal. There are some errors like this: conda : The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + conda activate gee + ~~~~~ + CategoryInfo : ObjectNotFound: (conda:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@giswqs
@giswqs 3 жыл бұрын
Try using the Anaconda Prompt from the start menu.
@maryamraeesi6467
@maryamraeesi6467 3 жыл бұрын
@@giswqs yes, I tried codes from Anaconda prompt, but the same massage has showed: anaconda is not recognized as an internal or external command!!
@giswqs
@giswqs 3 жыл бұрын
@@maryamraeesi6467 Check out this video: kzbin.info/www/bejne/gHTcd42If7Sghc0
@ladiffaerence2491
@ladiffaerence2491 4 жыл бұрын
Hi Qiusheng Wu, Thanks a lot for your tutorials, I just want to know if it is possible to integrate geemap in django web apps. If possible can you give some directives.
@giswqs
@giswqs 4 жыл бұрын
Sorry, I have not used Django before. It might take a while before I can look into this
@ladiffaerence2491
@ladiffaerence2491 4 жыл бұрын
@@giswqs Ok, Thanks for your answer.
@mikemacneill6714
@mikemacneill6714 4 жыл бұрын
Hi Mr. Wu, love the video but for whatever reason Jupyter does not allow me to create a file saying Permission denied: Untitled Folder. Just wondering if there is any way around that or if I need to change something.
@giswqs
@giswqs 4 жыл бұрын
Could you provide more details? What operating system are you using? What commands did you use to install the geemap package? Under what folder were you trying to create a file?
@mikemacneill6714
@mikemacneill6714 4 жыл бұрын
@@giswqs Windows, microconda. And yeah it just seems to not let me create any folders or files on Jupyter. Potentially an admin or security issue?
@giswqs
@giswqs 4 жыл бұрын
@@mikemacneill6714 This is a conda issue rather than geemap. You can Google the specific error and see if you can find a solution.
@MayuriK_it
@MayuriK_it 2 жыл бұрын
Thanks for this tutorial, really useful!
@olkebatolessaleta3228
@olkebatolessaleta3228 2 жыл бұрын
Excellent tutorial. Thanks!
@benyoudz8556
@benyoudz8556 3 жыл бұрын
AttributeError Traceback (most recent call last) in ----> 1 n = geemap.map() 2 n AttributeError: module 'geemap' has no attribute 'map' What is the solution
@giswqs
@giswqs 3 жыл бұрын
Uppercase, geemap.Map()
@souvikbiswas3755
@souvikbiswas3755 4 жыл бұрын
Hi, Thanks for sharing! I installed miniconda and in my computer but I can't import geemap. Please help me. This is error.... --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) in ----> 1 import geemap ModuleNotFoundError: No module named 'geemap'
@giswqs
@giswqs 4 жыл бұрын
Did you activate the conda env which you installed geemap?
@souvikbiswas3755
@souvikbiswas3755 4 жыл бұрын
@@giswqs Sir, I activate the conda environment... When I passing command 'jupyter notebook' in anaconda prompt (miniconda 3) it throws an error message python.exe - Entry point not found although jupyter notebook is open then I create a folder 'gee' in jupyter notebook and import geemap but it throws errors
@souvikbiswas3755
@souvikbiswas3755 4 жыл бұрын
@@giswqs Sir Error occupied conda.core.link:_ececute(700):an error occurred while installing package Link error: post - link script failed for package
@giswqs
@giswqs 4 жыл бұрын
@@souvikbiswas3755 Please watch the video carefully and follow the steps to install. Also check github.com/giswqs/geemap#installation
@srinivasateja7235
@srinivasateja7235 4 жыл бұрын
@@giswqs but sir, it is working for jupyter notebook but how to open jupyter lab after activating gee?
@ululazmi5778
@ululazmi5778 4 жыл бұрын
When I enter the verification code, I keep getting the "permission denied" error message. Any suggestion?
@giswqs
@giswqs 4 жыл бұрын
Did you sign up for an Earth Engine account? You need to sign up for an account before you can use it. Check here: earthengine.google.com/signup/
@ululazmi5778
@ululazmi5778 4 жыл бұрын
@@giswqs Thank you for your prompt reply, I will sign up for the account and see how it goes
@ululazmi5778
@ululazmi5778 4 жыл бұрын
@@giswqs it works like a charm, thank you for making this tool available
@giswqs
@giswqs 4 жыл бұрын
@@ululazmi5778 Great to hear to it is working for you. Feel free to open an issue on the GitHub repo if you encounter any problems. github.com/giswqs/geemap/issues
@wayne9972
@wayne9972 Жыл бұрын
Does it work on Mac?
@giswqs
@giswqs Жыл бұрын
Yes
@mabyes
@mabyes 4 жыл бұрын
Hello, Qiusheng. Thank you for sharing the steps for starting with geemap. Greetings.
@giswqs
@giswqs 4 жыл бұрын
Yes, check the link below for 360+ notebook examples. There is a Colab icon on each notebook you can click on to run the notebook directly on Colab. github.com/giswqs/earthengine-py-notebooks
@tobiasfischer7670
@tobiasfischer7670 3 жыл бұрын
Dear Mr Wu. thanks a lot for this incredible work. I tried to use geemap and the installation worked fine in a new environment using conda-forge channel. However, geemap is not showing the map in jupyter lab. Insteadt it shows: Map(center=[40, -100], controls=(WidgetControl(options=['position', 'transparent_bg'], widget=HBox(children=(T… In jupyter notebook however it shows it. How could I solve this porblem since I prefer working in jupyte lab. You help is highly appreciated
@giswqs
@giswqs 3 жыл бұрын
Try the following commands: ipyleaflet.readthedocs.io/en/latest/installation.html#jupyterlab-extension jupyter nbextension install --py --symlink --sys-prefix ipyleaflet jupyter nbextension enable --py --sys-prefix ipyleaflet
@tobiasfischer7670
@tobiasfischer7670 3 жыл бұрын
@@giswqs Thanks a lot for the quick answer. Unfortunately, it didn't solve the problem. Any other ideas on how to solve the display problem?
@giswqs
@giswqs 3 жыл бұрын
This is an ipyleaflet problem rather than geemap. Check the ipyleaflet installation section. You can also try Jupyter Notebook if JupyterLab does not work. Geemap won't work if ipyleaflet is not working propertly ipyleaflet.readthedocs.io/en/latest/installation.html
@tobiasfischer7670
@tobiasfischer7670 3 жыл бұрын
​@@giswqs​ thanks again for your quick reply, after some research about the ipyleaflet issue, I found a way to make it work. I'll share just in case someone is encountering the same issue. Even though, I'm using a higher version of jupyter lab than 2, I needed to install ipyleaflet as a labextension using the following two commands: jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter labextension install jupyter-leaflet source: github.com/jupyter-widgets/ipyleaflet/issues/173
@brunagarciaambrosio1419
@brunagarciaambrosio1419 4 жыл бұрын
Hello Qiusheng. Thanks for sharing this excellent source of knowledge. I would like to know if the geemap tools work well for areas where only Landsat T2 images are available. Thank you!
@giswqs
@giswqs 4 жыл бұрын
Yes, geemap works well with any Earth Engine datasets as well local datasets
@brunagarciaambrosio1419
@brunagarciaambrosio1419 4 жыл бұрын
That's amazing! Thanks for reply, ​@Qiusheng Wu.
@Beita2023
@Beita2023 3 жыл бұрын
Thank you very much!!!! Very useful tutorial!!!!
@JorgeRodriguez-mp1mt
@JorgeRodriguez-mp1mt 4 жыл бұрын
Ready first, let's go for two, thanks
@tahirakhurshidali1506
@tahirakhurshidali1506 4 жыл бұрын
Hi .. Thanks for your video. I am sorry I am new with geemap. I have a question regarding 'Terminal'.... What is the 'Terminal'?? How to install it??
@giswqs
@giswqs 4 жыл бұрын
If you are using Windows, it means the Command Prompt
@tahirakhurshidali1506
@tahirakhurshidali1506 4 жыл бұрын
@@giswqs Thank you very much.
@КириллБабушкин-ь1п
@КириллБабушкин-ь1п 2 жыл бұрын
Thank you so much for this course!!!СПАСИБО!!!
@bilalahmad773
@bilalahmad773 4 жыл бұрын
I am facing this problem --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in ----> 1 m = geemap.map() 2 m AttributeError: module 'geemap' has no attribute 'map'
@gentryzheng244
@gentryzheng244 4 жыл бұрын
Fantastic work!
@giswqs
@giswqs 4 жыл бұрын
Thank you for the kind words! Appreciated,
@mdwaquarhassan6064
@mdwaquarhassan6064 4 жыл бұрын
I immensely appreciate this share. Kudos for your effort sir. Could you please help me understanding the application automatic thresh-holding over microwave data for flood detection. I have tried using ostu on SAR over GEE but it didn't worked out fine.
@giswqs
@giswqs 4 жыл бұрын
I am not an SAR expert, but this example might be helpful code.earthengine.google.com/57319ca7ffbe6f00e23d60eaf662847a
@mdwaquarhassan6064
@mdwaquarhassan6064 4 жыл бұрын
@@giswqs Thank you! Much appreciated.
@phestoosano1294
@phestoosano1294 4 жыл бұрын
This is beautiful! Thank you! can you create tutorial on how to link this with geoserver. So that I can call shapefile from my local disk and overlay! Thank you very mush!
@giswqs
@giswqs 4 жыл бұрын
Sorry, I am not an expert on geoserver. It might take a while before I can dive into geoserver.
@phestoosano1294
@phestoosano1294 4 жыл бұрын
@@giswqs thank you very much for your response and effort
@段小楼-v2o
@段小楼-v2o 4 жыл бұрын
谢谢吴老师!
@abdielrivas6633
@abdielrivas6633 4 жыл бұрын
help! (gee) PS C:\Users\abdiel> jupyter notebook jupyter : The term 'jupyter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + jupyter notebook + ~~~~~~~ + CategoryInfo : ObjectNotFound: (jupyter:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@giswqs
@giswqs 4 жыл бұрын
Make sure you use Anaconda Prompt and active the conda env where geemap is installed.
@abdielrivas6633
@abdielrivas6633 4 жыл бұрын
@@giswqs it its activated, but doesnt works, i dont know what to do
@giswqs
@giswqs 4 жыл бұрын
@@abdielrivas6633 Try Google Colab: colab.research.google.com/github/giswqs/geemap/blob/master/examples/notebooks/35_geemap_colab.ipynb
@pingtea4777
@pingtea4777 4 жыл бұрын
after Successfully saved authorization token. Then (I don't know what happen) FileNotFoundError Traceback (most recent call last) ~\.conda\envs\gee\lib\site-packages\ee\data.py in get_persistent_credentials() 218 try: --> 219 tokens = json.load(open(oauth.get_credentials_path())) 220 refresh_token = tokens['refresh_token'] FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Chen/.config/earthengine/credentials' During handling of the above exception, another exception occurred: EEException Traceback (most recent call last) ~\.conda\envs\gee\lib\site-packages\geemap\common.py in ee_initialize(token_name) 46 ---> 47 ee.Initialize() 48 except: ~\.conda\envs\gee\lib\site-packages\ee\__init__.py in Initialize(credentials, opt_url, cloud_api_key, http_transport, project) 111 if credentials == 'persistent': --> 112 credentials = data.get_persistent_credentials() 113 data.initialize( ~\.conda\envs\gee\lib\site-packages\ee\data.py in get_persistent_credentials() 228 except IOError: --> 229 raise ee_exception.EEException( 230 'Please authorize access to your Earth Engine account by ' EEException: Please authorize access to your Earth Engine account by running earthengine authenticate in your command line, and then retry. During handling of the above exception, another exception occurred: timeout Traceback (most recent call last) in ----> 1 m = geemap.Map() 2 m ~\.conda\envs\gee\lib\site-packages\geemap\geemap.py in __init__(self, **kwargs) 34 35 if kwargs["ee_initialize"]: ---> 36 ee_initialize() 37 38 # Default map center location and zoom level ~\.conda\envs\gee\lib\site-packages\geemap\common.py in ee_initialize(token_name) 48 except: 49 ee.Authenticate() ---> 50 ee.Initialize() 51 52 # out_dir = os.path.join(os.path.expanduser('~'), 'Downloads') ~\.conda\envs\gee\lib\site-packages\ee\__init__.py in Initialize(credentials, opt_url, cloud_api_key, http_transport, project) 111 if credentials == 'persistent': 112 credentials = data.get_persistent_credentials() --> 113 data.initialize( 114 credentials=credentials, 115 api_base_url=(opt_url + '/api' if opt_url else None), ~\.conda\envs\gee\lib\site-packages\ee\data.py in initialize(credentials, api_base_url, tile_base_url, cloud_api_base_url, cloud_api_key, project, http_transport) 197 _http_transport = http_transport 198 --> 199 _install_cloud_api_resource() 200 201 if project is not None: ~\.conda\envs\gee\lib\site-packages\ee\data.py in _install_cloud_api_resource() 264 265 timeout = (_deadline_ms / 1000.0) or None --> 266 _cloud_api_resource = _cloud_api_utils.build_cloud_resource( 267 _cloud_api_base_url, 268 credentials=_credentials, ~\.conda\envs\gee\lib\site-packages\ee\_cloud_api_utils.py in build_cloud_resource(api_base_url, api_key, credentials, timeout, headers_supplier, response_inspector, http_transport, raw) 141 else: 142 alt_model = None --> 143 resource = discovery.build( 144 'earthengine', 145 VERSION, ~\.conda\envs\gee\lib\site-packages\googleapiclient\_helpers.py in positional_wrapper(*args, **kwargs) 132 elif positional_parameters_enforcement == POSITIONAL_WARNING: 133 logger.warning(message) --> 134 return wrapped(*args, **kwargs) 135 136 return positional_wrapper ~\.conda\envs\gee\lib\site-packages\googleapiclient\discovery.py in build(serviceName, version, http, discoveryServiceUrl, developerKey, model, requestBuilder, credentials, cache_discovery, cache, client_options, adc_cert_path, adc_key_path, num_retries) 268 269 try: --> 270 content = _retrieve_discovery_doc( 271 requested_url, 272 discovery_http, ~\.conda\envs\gee\lib\site-packages\googleapiclient\discovery.py in _retrieve_discovery_doc(url, http, cache_discovery, cache, developerKey, num_retries) 374 # Note that it will already raise an error if we don't get a 2xx response 375 req = HttpRequest(http, HttpRequest.null_postproc, actual_url) --> 376 resp, content = req.execute(num_retries=num_retries) 377 378 try: ~\.conda\envs\gee\lib\site-packages\googleapiclient\_helpers.py in positional_wrapper(*args, **kwargs) 132 elif positional_parameters_enforcement == POSITIONAL_WARNING: 133 logger.warning(message) --> 134 return wrapped(*args, **kwargs) 135 136 return positional_wrapper ~\.conda\envs\gee\lib\site-packages\googleapiclient\http.py in execute(self, http, num_retries) 898 899 # Handle retries for server-side errors. --> 900 resp, content = _retry_request( 901 http, 902 num_retries, ~\.conda\envs\gee\lib\site-packages\googleapiclient\http.py in _retry_request(http, num_retries, req_type, sleep, rand, uri, method, *args, **kwargs) 202 if exception: 203 if retry_num == num_retries: --> 204 raise exception 205 else: 206 continue ~\.conda\envs\gee\lib\site-packages\googleapiclient\http.py in _retry_request(http, num_retries, req_type, sleep, rand, uri, method, *args, **kwargs) 175 try: 176 exception = None --> 177 resp, content = http.request(uri, method, *args, **kwargs) 178 # Retry on SSL errors and socket timeout errors. 179 except _ssl_SSLError as ssl_error: ~\.conda\envs\gee\lib\site-packages\google_auth_httplib2.py in request(self, uri, method, body, headers, **kwargs) 187 request_headers = headers.copy() if headers is not None else {} 188 --> 189 self.credentials.before_request( 190 self._request, method, uri, request_headers) 191 ~\.conda\envs\gee\lib\site-packages\google\auth\credentials.py in before_request(self, request, method, url, headers) 131 # the http request.) 132 if not self.valid: --> 133 self.refresh(request) 134 self.apply(headers) 135 ~\.conda\envs\gee\lib\site-packages\google\oauth2\credentials.py in refresh(self, request) 198 ) 199 --> 200 access_token, refresh_token, expiry, grant_response = _client.refresh_grant( 201 request, 202 self._token_uri, ~\.conda\envs\gee\lib\site-packages\google\oauth2\_client.py in refresh_grant(request, token_uri, refresh_token, client_id, client_secret, scopes) 246 body["scope"] = " ".join(scopes) 247 --> 248 response_data = _token_endpoint_request(request, token_uri, body) 249 250 try: ~\.conda\envs\gee\lib\site-packages\google\oauth2\_client.py in _token_endpoint_request(request, token_uri, body) 103 # occurs. 104 while True: --> 105 response = request(method="POST", url=token_uri, headers=headers, body=body) 106 response_body = ( 107 response.data.decode("utf-8") ~\.conda\envs\gee\lib\site-packages\google_auth_httplib2.py in __call__(self, url, method, body, headers, timeout, **kwargs) 114 try: 115 _LOGGER.debug('Making request: %s %s', method, url) --> 116 response, data = self.http.request( 117 url, method=method, body=body, headers=headers, **kwargs) 118 return _Response(response, data) ~\.conda\envs\gee\lib\site-packages\httplib2\__init__.py in request(self, uri, method, body, headers, redirections, connection_type) 1983 content = b"" 1984 else: -> 1985 (response, content) = self._request( 1986 conn, 1987 authority, ~\.conda\envs\gee\lib\site-packages\httplib2\__init__.py in _request(self, conn, host, absolute_uri, request_uri, method, body, headers, redirections, cachekey) 1648 auth.request(method, request_uri, headers, body) 1649 -> 1650 (response, content) = self._conn_request( 1651 conn, request_uri, method, body, headers 1652 ) ~\.conda\envs\gee\lib\site-packages\httplib2shim\__init__.py in _conn_request(self, conn, request_uri, method, body, headers) 152 153 except Exception as e: --> 154 raise _map_exception(e) 155 156 return response, content timeout: timed out
@fatehiabdo1740
@fatehiabdo1740 9 ай бұрын
nice
@gokulanand7915
@gokulanand7915 4 жыл бұрын
Wow..
@yanzhang2332
@yanzhang2332 4 жыл бұрын
虽然老师说的很标准了,但是华人的口语听起来还是更容易理解一点!
@leoking4421
@leoking4421 Жыл бұрын
Love from Pakistan
@junwang1819
@junwang1819 5 ай бұрын
I cannot load the map, saying the map has not been initialized
@narendra1858
@narendra1858 3 жыл бұрын
Sir i have successfully installed geemap but when i import geemap in Jupitar notebook i get an errror of no module found
@genesis13fiatlux
@genesis13fiatlux 3 жыл бұрын
the same here; found a solution?
@giswqs
@giswqs 3 жыл бұрын
Make sure you activate the conda env where geemap is installed.
Google Earth Engine 101: An Introduction for Complete Beginners
1:35:07
Stanford Geospatial Center
Рет қаралды 71 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
GEE Tutorial #3 - Introducing the Inspector tool for Earth Engine Python API
6:23
Open Geospatial Solutions
Рет қаралды 14 М.
Google Earth Engine Tutorial 3: Visualizing Satellite Image
7:42
GIS & RS Solution
Рет қаралды 4,4 М.
Processing DEMs with GDAL in Python
12:04
Making Sense Remotely
Рет қаралды 14 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,5 МЛН
CALCULATE NDVI OF SENTINEL 2 IN GOOGLE EARTH ENGINE
8:20
GIS & RS Professionals
Рет қаралды 16 М.
How to download SRTM DEM from Google Earth Engine
8:24
GIS & RS Professionals
Рет қаралды 12 М.
How to find Gold Locations using Google Earth
8:01
Goldfields Guide
Рет қаралды 101 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН