-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Merging cartoee features into geemap #157
Comments
Wow! This is incredible. Wish I had known about this 12 weeks ago. Geemap, I kind of assumed was the go to for using the Google earth Engine API with Python, didn't know about this module. Amazing. |
Hi @Blue101black 👋 I would say Including other features that users would find useful to further reduce the barrier in using ee will make |
@KMarkert This would a great addition to geemap, making geemap an interactive mapping library that can generate publication-quality maps. 1+1 > 2. Please feel free to create a pull request. |
Working branch has been pushed to feature/cartoee The module has been isolated as not to interfere with base dependencies, users will have to run On the topic of dependencies, cartopy is usually a pain to install...I tested running |
Thanks a lot for your prompt action! One potential solution is to check cartopy installation when the module is imported. If users are using conda, then proceeds with the installation automatically. Otherwise, prompts users to install cartopy manually.
|
I like that suggestion! I can add checks to make sure that all of the dependencies are installed when importing the package in the example you provided. I have had the same issues where conda can be really slow especially with conflicts...unfortunately, I don't think we can get around using conda to install cartopy at this moment. |
I just tested it with mamba, so much faster. It only took a few seconds to resolve dependencies
|
mamba seems to be the preferred approach given it is much quicker. We can create tiered approach checking for mamba first then conda if mamba is not installed. If both aren't in the path then raise exception. |
API docs for the cartoee module has been added. |
Unable to properly install 'cartopy' that is asked while running the command, 'from geemap import cartoee'. Tried using pip, conda and mamba. |
@hyjk-git It is very challenging to install cartopy on Windows. You might want to try Google Colab. See this example. |
Thank you Dr Wu. It is working on Google Colab. |
cartoee
is a Python package meant to assist Earth Engine users in creating publication quality maps. This was a project started over two years ago and was developed primarily to support a small group in figure creation. This package is admittedly not so well maintained... I feel thatgeemap
andcartoee
have a similar broad goal in aiding visualization of EE data but with slightly different end target visualizations (one for creating publication figures the other for interactive mapping).Gauging interest here on taking functionality from
cartotee
and merging it intogeemap
so thatgeemap
becomes the one-stop shop for EE visualization using the Python API.I imagine that we can have another module with optional dependencies where users can call
from geemap import cartoee
(or whatever we want to name the module) and create the figure. This module would have to be somewhat isolated given thatcartoee
dependencies (cython
andcartopy
) can make installation complex. Users should be able to install the optional dependencies to use thecartoee
module if they want but it will not be needed for the majority of users.@giswqs what are your thoughts on this?
The text was updated successfully, but these errors were encountered: