Many thanks Dr Wu for this amazing tutorial!! :) I was wondering, would it be possible to create an EE App using python that exports data (e.g. features) into a specific Google Drive? Any suggestion will be much appreciated! Cheers!
Thanks for the tutorials Prof Qiusheng . Quick Question - is Earth Engine Data available for commercial use - any updates on this ? , thanks - Regards .
See the Earth Engine FAQ: earthengine.google.com/faq/ Is Earth Engine available for commercial use? Earth Engine has a commercial license program, so if you are interested in pursuing a commercial application of our product, please contact us at earthengine-commercial@google.com. Earth Engine's terms allow for use in development, research, and education environments. It may also be used for evaluation in a commercial or operational environment, but sustained production use is not allowed. Additionally, data products generated by Earth Engine may not be sold.
@@giswqs - Thanks that clarifies and further confirms my thought process . Would like to see Google , let it be used for - whatever and that too Free :)
This is such a great video. Question: could I use this method to take an official EE app written in javascript and embed it into my IPython notebook? That way I can do analyses and make plots but also take advantage of the EE ui functions. Thank you.
Thanks, Dr Wu for this great tutorial. Is it possible to use my earth engine service account key file (JSON format) instead of using the token of my private earth engine account?
The loading time of map while the application loads can it be reduced like it's executing all the codes so, any sort of way is their so that the loading time can be reduced ??
Make changes to your app, then use git to push changes to heroku.com. You can also link GitHub repo to your heroku app. In this way, you simply push changes to GitHub, and heroku will automatically pull changes from GitHub and depoly the updated app. git add . git commit -m "commit message" git push
吴老师,您好。我想把制图功能也加在app中,部署完后在网页上报错“cartopy is not installed....”然后我就在requirements.txt中添加了cartopy,在运行“git push heroku master”总是报错“ UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.” 想请问老师怎样解决,描述的有点乱,望理解,盼回复。
It doesn't work anymore. I tried every possible way. But got the error all the time with "Please authorize access to your Earth Engine account by running earthengine authenticate in your command line, and then retry." Could you please check it again?
Hello Proj Qiusheng! I've seen your post on the Streamlit community about supporting secrets and it is already a supported feature. Is it possible now to deploy Earth Engine Apps using Streamlit sharing? Thank you!
Thank you for letting me know that streamlit now supports secrets. Could you open an issue on GitHub? I will look into it. github.com/giswqs/geemap/issues
This seems to be IpyLeaflet maps, not exactly Published maps right? So there are lots of UI elements needed to be added, and it seems tha can only be done by Javascript editor and publishing to Google Cloud. Is there any other way?
The official Earth Engine Apps can only be created and deployed using JavaScript www.earthengine.app. I am providing the Python solution. If you want full UI, try geemap with Jupyter notebook.
Sir, you upload another nice video. this is very helpful for our learning season. Sir, I have a little problem for using zonal stat every time I got result only coordinate, but not real value. Please help me what is the actual problem..
This is a known issue. The recent GEE API update broke some download functions. Please wait for Google to fix it. See github.com/giswqs/geemap/issues/63 and issuetracker.google.com/issues/159926579
I am trying to deploy my own notebook but getting this error: There was an error when executing cell [1]. Please run Voilà with --show_tracebacks=True or --debug to see the error message, or configure VoilaConfiguration.show_tracebacks. Could you suggest me how I can fix this. Thank you.
Make sure you run `geemap.Map()` or `geemap.ee_initialize()` in the notebook before doing anything else with ee. Do NOT use `ee.Authenticate()` or `ee.Initialize()`. These will fail the authenticate process. Follow the steps in this repo. github.com/giswqs/geemap-heroku
Greetings Professor. Very good content. I enjoy all of your posts. One issue though: the app does not run with ee commands. It raises an error when ee.Initialize() is run. However, without this command it doesn't access ee variables. Any idea on the solution for this?
Hi Dr. Wu, I followed all your steps in this tutorial but when I write 'python config_vars.py', prompt gives me a warning as ' command returned non-zero exit status 1'. What is your suggestion? Thanks in advance.
i m searching for long time how to deploy gee in web app , thank you very mush , you are the best. One question is there a way to integrate django (geodjango) with gee ? once again thanks you lot
Also just noticed - why are you creating Heroku Apps . I dont think the Heroku App free hosting version allows you to have your own Domain Names ? Best option would be to host your own App on your own Cloud Server or Local machine using a Nginx or Apache server. Thats the Free and best option im aware of - Regards n Thanks
Heroku free version does allow custom domains. See www.heroku.com/pricing. I like it because it can be automatically deployed from GitHub. Once it is set up properly, I only need to push changes to GitHub. There is no hassle for maintaining a local server or paying money for a cloud server.
@@giswqs - Yes ure right . But a Custom domain on Heroku will cost lots more than own server. Also Heroku is not as easy as a personal server. Thanks for your reply - Regards.
Thanks Dr Wu for such a terrific tutorial!. Hope you can help me to solve the following issue: When running config_vars.py I get the error: ''[WinError 2] The system cannot find the file specified''. This means I can't upload the credentials to heroku. I tried to manually create an environmental variable EARTHENGINE_TOKE: VALUE (from the credential file in my PC), but the app still doesn't work. Perhaps you could provide some suggestions on how to manually set the credentials for the heroku app. Thank you!
Thank you Wu for the useful video, but I got this error: "conda : The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program."
@@giswqs Thank you for your reply. Again I received: "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." I checked the link and installed: conda create -n gee python=3.7 conda activate gee conda install mamba -c conda-forge mamba install geemap -c conda-forge
在push geemap.ipynb例子创建app后发生错误:To authorize access needed by Earth Engine, open the following URL in a web browser and follow the instructions:... The authorization workflow will generate a code, which you should paste in the box below 后边报错There was an error when executing cell [2]. Please run Voila with --debug to see the error message. push bqplot.ipynb例子 app中可以成功显示。在jupyter notebook和vscode中都可以加载Map,请问老师google earth 生成的授权代码应该加在哪里?谢谢
Dear Prof Qiusheng , im totally loving most of the content you are sharing . - Thanks - Regards
Many thanks Dr Wu for this amazing tutorial!! :)
I was wondering, would it be possible to create an EE App using python that exports data (e.g. features) into a specific Google Drive? Any suggestion will be much appreciated!
Cheers!
Thank you for sharing
Dear Dr. Wu, it seems that Heroku platform is not free anymore, do you know another alternative to deploy jupyter notebook apps?
the demo links says Offline for maintenance
This app is undergoing maintenance right now. can you check pls
Thanks for the tutorials Prof Qiusheng . Quick Question - is Earth Engine Data available for commercial use - any updates on this ? , thanks - Regards .
See the Earth Engine FAQ: earthengine.google.com/faq/
Is Earth Engine available for commercial use?
Earth Engine has a commercial license program, so if you are interested in pursuing a commercial application of our product, please contact us at earthengine-commercial@google.com.
Earth Engine's terms allow for use in development, research, and education environments. It may also be used for evaluation in a commercial or operational environment, but sustained production use is not allowed. Additionally, data products generated by Earth Engine may not be sold.
@@giswqs - Thanks that clarifies and further confirms my thought process . Would like to see Google , let it be used for - whatever and that too Free :)
This is such a great video. Question: could I use this method to take an official EE app written in javascript and embed it into my IPython notebook? That way I can do analyses and make plots but also take advantage of the EE ui functions. Thank you.
Unfortunately, the answer is no. GEE JavaScript GUI and Python GUI are not interchangeable.
Thanks, Dr Wu for this great tutorial. Is it possible to use my earth engine service account key file (JSON format) instead of using the token of my private earth engine account?
I have not used GEE service account before, so I cannot comment on this one.
The loading time of map while the application loads can it be reduced like it's executing all the codes so, any sort of way is their so that the loading time can be reduced ??
The best practice is not to execute computationally intensive tasks when the map is being loaded. Only compute when users request it.
Thanks for this wonderful tutorial. It is really helpful
I have one doubt
How to update already deployed app in heroku??
Make changes to your app, then use git to push changes to heroku.com. You can also link GitHub repo to your heroku app. In this way, you simply push changes to GitHub, and heroku will automatically pull changes from GitHub and depoly the updated app.
git add .
git commit -m "commit message"
git push
i am having a token problem,,,, even after running config command,,,,
Go to the Heroku website, you can set the token there.
吴老师,您好。我想把制图功能也加在app中,部署完后在网页上报错“cartopy is not installed....”然后我就在requirements.txt中添加了cartopy,在运行“git push heroku master”总是报错“ UserWarning: Unable to determine GEOS version. Ensure you have 3.3.3 or later installed, or installation may fail.” 想请问老师怎样解决,描述的有点乱,望理解,盼回复。
cartopy is very challenging to install using pip. You will need to install many dependencies. See scitools.org.uk/cartopy/docs/v0.12/installing.html
@@giswqs 感谢老师的回复,尝试了各种方法还是都没有解决这个问题,似乎python2.6.6之后现在已经无法通过pip安装cartopy了。打扰老师了
It doesn't work anymore. I tried every possible way. But got the error all the time with "Please authorize access to your Earth Engine account by running earthengine authenticate in your command line, and then retry." Could you please check it again?
What Python version are you using?
@@giswqs I have tried python 3.7.7, and python 3.9.6. Got the same error.
Hello Proj Qiusheng! I've seen your post on the Streamlit community about supporting secrets and it is already a supported feature. Is it possible now to deploy Earth Engine Apps using Streamlit sharing? Thank you!
Thank you for letting me know that streamlit now supports secrets. Could you open an issue on GitHub? I will look into it. github.com/giswqs/geemap/issues
@@giswqs Sure professor. Thanks!
This seems to be IpyLeaflet maps, not exactly Published maps right? So there are lots of UI elements needed to be added, and it seems tha can only be done by Javascript editor and publishing to Google Cloud. Is there any other way?
The official Earth Engine Apps can only be created and deployed using JavaScript www.earthengine.app. I am providing the Python solution. If you want full UI, try geemap with Jupyter notebook.
@@giswqs Ok ! :) Thanks for the reply sir :)
吴老师您好,在heroku login/heroku login -i时,点击log in总是出现“IP address mismatch”,请问应该怎样处理,谢谢~
I have not encountered this error before. You can Google it.
@@giswqs Thanks
Sir, you upload another nice video. this is very helpful for our learning season.
Sir, I have a little problem for using zonal stat every time I got result only coordinate, but not real value. Please help me what is the actual problem..
This is a known issue. The recent GEE API update broke some download functions. Please wait for Google to fix it. See github.com/giswqs/geemap/issues/63 and issuetracker.google.com/issues/159926579
@@giswqs Thanks sir for your valuable reply..
I am trying to deploy my own notebook but getting this error: There was an error when executing cell [1]. Please run Voilà with --show_tracebacks=True or --debug to see the error message, or configure VoilaConfiguration.show_tracebacks. Could you suggest me how I can fix this. Thank you.
Make sure you run `geemap.Map()` or `geemap.ee_initialize()` in the notebook before doing anything else with ee. Do NOT use `ee.Authenticate()` or `ee.Initialize()`. These will fail the authenticate process. Follow the steps in this repo. github.com/giswqs/geemap-heroku
@@giswqs Thank you so much Dr. Wu. I was able to fix the issue. Have a good day
Greetings Professor. Very good content. I enjoy all of your posts.
One issue though: the app does not run with ee commands. It raises an error when ee.Initialize() is run. However, without this command it doesn't access ee variables. Any idea on the solution for this?
See github.com/giswqs/geemap/discussions/465#discussioncomment-710744
@@giswqs thank you very much! Solved.
Hi Dr. Wu, I followed all your steps in this tutorial but when I write 'python config_vars.py', prompt gives me a warning as ' command returned non-zero exit status 1'. What is your suggestion? Thanks in advance.
See github.com/giswqs/geemap-heroku/issues/1#issuecomment-656101951
@@giswqs Thanks, I will read it.
i m searching for long time how to deploy gee in web app , thank you very mush , you are the best. One question is there a way to integrate django (geodjango) with gee ? once again thanks you lot
Sorry I don't have an answer to your question. I have not used Django before, but I might look into geodjango when I have time.
@@giswqs thank you , great work
Also just noticed - why are you creating Heroku Apps . I dont think the Heroku App free hosting version allows you to have your own Domain Names ? Best option would be to host your own App on your own Cloud Server or Local machine using a Nginx or Apache server. Thats the Free and best option im aware of - Regards n Thanks
Heroku free version does allow custom domains. See www.heroku.com/pricing. I like it because it can be automatically deployed from GitHub. Once it is set up properly, I only need to push changes to GitHub. There is no hassle for maintaining a local server or paying money for a cloud server.
@@giswqs - Yes ure right . But a Custom domain on Heroku will cost lots more than own server. Also Heroku is not as easy as a personal server. Thanks for your reply - Regards.
Thanks Dr Wu for such a terrific tutorial!. Hope you can help me to solve the following issue:
When running config_vars.py I get the error: ''[WinError 2] The system cannot find the file specified''. This means I can't upload the credentials to heroku.
I tried to manually create an environmental variable EARTHENGINE_TOKE: VALUE (from the credential file in my PC), but the app still doesn't work. Perhaps you could provide some suggestions on how to manually set the credentials for the heroku app. Thank you!
See github.com/giswqs/geemap-heroku/issues/1#issuecomment-656101951
@@giswqs thanks it run now
Thank you Wu for the useful video, but I got this error: "conda : The term 'conda' is not recognized as the name of a cmdlet, function, script file, or operable program."
Did you install Anaconda or Miniconda on your computer? See github.com/giswqs/geemap#installation
@@giswqs Thank you for your reply. Again I received: "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." I checked the link and installed: conda create -n gee python=3.7
conda activate gee
conda install mamba -c conda-forge
mamba install geemap -c conda-forge
"The credentials file does not exist."
吴老师您好,我按照您的步骤做到运行config_vars.py时出现错误[win error2]:系统找不到指定的文件,请问应该如何解决?谢谢
See the solution here:github.com/giswqs/geemap-heroku/issues/1#issuecomment-656101951
@@giswqs 谢谢,解决了
在push geemap.ipynb例子创建app后发生错误:To authorize access needed by Earth Engine, open the following URL in a web browser and follow the instructions:...
The authorization workflow will generate a code, which you should paste in the box below
后边报错There was an error when executing cell [2]. Please run Voila with --debug to see the error message.
push bqplot.ipynb例子 app中可以成功显示。在jupyter notebook和vscode中都可以加载Map,请问老师google earth 生成的授权代码应该加在哪里?谢谢
You need to make sure that your Earth Engine token is set up correctly on heroku. See github.com/giswqs/geemap-heroku/issues/1#issuecomment-656101951
@@giswqs 非常感谢!
英语不好,听起来太难了0.0,请问吴老师,您的geemap可以做随机森林回归吗,有没有案例啊
See github.com/giswqs/earthengine-py-notebooks/tree/master/MachineLearning
@@giswqs 感谢吴老师!