ai4er-cdt / geograph

GeoGraph provides a tool for analysing habitat fragmentation and related problems in landscape ecology. GeoGraph builds a geospatially referenced graph from land cover or field survey data and enables graph-based landscape ecology analysis as well as interactive visualizations.
https://geograph.readthedocs.io
MIT License
39 stars 10 forks source link

Feature/graph-analysis-visualisation #30

Closed rdnfn closed 3 years ago

rdnfn commented 3 years ago

This tiny PR adds basic GeoGraphViewer functionality.

It currently is only built on the prior folium plotting functions, next step will be to redo it with ipyleaflet. I am planning to maintain the basic folium support because folium can be used on some platforms that don't support ipywidgets (and therefore ipyleaflet), like google colab. Also: plotting of polygons is not part of it yet and will be added once the df attribute is merged.

Main Changes

Other Changes

Demo of usage: Screenshot 2021-02-25 at 10 48 27

Croydon-Brixton commented 3 years ago

... but that can come in another PR if you want to leave it until you implement the ipyleaflet viewer.

Agree with that 😉

rdnfn commented 3 years ago

@Croydon-Brixton @herbiebradley: Thanks for the reviewing! For the ipyleaflet version I will keep the polymorphism in mind 🚀