Skip to content
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

Add explore function (like in GeoPandas) #360

Open
anitagraser opened this issue Dec 30, 2023 · 4 comments
Open

Add explore function (like in GeoPandas) #360

anitagraser opened this issue Dec 30, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request upstream this issue has to be fixed upstream

Comments

@anitagraser
Copy link
Collaborator

Is your feature request related to a problem?

Sometimes it can be difficult to install geoviews to get interactive plots

Describe the solution you'd like

Since GeoPandas already ships with interactive plots using folium, I'd like to see an .explore() function in MovingPandas as well https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoDataFrame.explore.html

API breaking implications

None

Describe alternatives you've considered

None, since this is the only interactive plotting provided via GeoPandas functions.

Additional context

Maybe something as simple as:

tc.to_line_gdf().explore()
@anitagraser anitagraser added the enhancement New feature or request label Dec 30, 2023
@anitagraser
Copy link
Collaborator Author

anitagraser commented Dec 30, 2023

This needs upstream handling of datetime columns / indexes, see geopandas/geopandas#2378 (comment)

@anitagraser anitagraser added the upstream this issue has to be fixed upstream label Dec 30, 2023
@martinfleis
Copy link
Contributor

@anitagraser do you have a preference how datetime columns should be serialised for folium use case? Is a simple string of that okay for movingpandas?

@anitagraser
Copy link
Collaborator Author

@martinfleis Yes, i think simple strings would do just fine. Thanks

@anitagraser
Copy link
Collaborator Author

Note to self: this is pending the GeoPandas 1.0 release

@anitagraser anitagraser self-assigned this Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request upstream this issue has to be fixed upstream
Projects
None yet
Development

No branches or pull requests

2 participants