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

Port EcoMap to Lonboard backend #189

Merged
merged 30 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
34a920e
first cut of lonboard drop-in
atmorling May 24, 2024
6bce594
adding zoom_to_bounds
atmorling May 28, 2024
f3169a0
png widget + add local geotiff
atmorling Jun 18, 2024
a24d0fd
fix zoom to bounds flow
atmorling Jun 19, 2024
7c3d797
first cut convert tiff to png
atmorling Jun 20, 2024
23a693b
fix ee.Geometry path
atmorling Jun 20, 2024
f79abac
cleanup and static mode
atmorling Jun 21, 2024
86a06a5
some integration tweaks
atmorling Jun 21, 2024
19b47ce
support named xyz services dict from contrib
atmorling Jun 23, 2024
4e92d2a
use viz_layer
atmorling Jun 24, 2024
b01b1c8
Merge branch 'master' into 165/lonboard
atmorling Jun 24, 2024
ba62ec5
first pass of explore() overide change
atmorling Jun 24, 2024
573d64f
named tile layer changes
atmorling Jun 24, 2024
f018510
speedmap port
atmorling Jun 24, 2024
1abf2c1
add docs for new ecomap
atmorling Jun 24, 2024
2cea59b
tests and pil support
atmorling Jun 25, 2024
43a3117
fix breaking change in matplotlib 3.9.0
atmorling Jun 25, 2024
e51425e
add lonboard fork as dep
atmorling Jun 25, 2024
d77d7e9
replace folium ecomap with lonboard
atmorling Jun 25, 2024
c26d026
remove contrib/foliummap
atmorling Jun 25, 2024
119579a
support applying cmap to a column in add_gdf()
atmorling Jun 25, 2024
838ed6a
notebook updates
atmorling Jun 25, 2024
cf17368
fix environment.yml
atmorling Jun 25, 2024
910a90d
remove explore wrapper - effectively reverts this functionality to na…
atmorling Jun 27, 2024
c2bf05e
remove selenium and bs4 deps
atmorling Jun 27, 2024
1003a2f
EcoMap notebook updates
atmorling Jun 28, 2024
65507c7
remove speedmap and png export (this is replaced by an widget on the …
atmorling Jun 28, 2024
5ec29c1
update etd notebook
atmorling Jun 28, 2024
1473053
Update tests/test_ecomap.py
atmorling Jun 28, 2024
3b4dd40
Merge branch 'master' into 165/lonboard
atmorling Jul 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
exclude *.txt
exclude MANIFEST.in
recursive-include *.pxi *.pxd *.pyx *.so
include ecoscope/contrib/legend.txt
12 changes: 3 additions & 9 deletions ecoscope/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,11 @@ def explore(data, *args, **kwargs):
"""
from ecoscope import mapping

initialized = "m" in kwargs
if not initialized:
kwargs["m"] = mapping.EcoMap()

if isinstance(kwargs["m"], mapping.EcoMap):
m = kwargs.pop("m")
try:
m = mapping.EcoMap2()
m.add_gdf(data, *args, **kwargs)
if not initialized:
m.zoom_to_bounds(data.geometry.to_crs(4326).total_bounds)
return m
else:
except Exception:
return gpd.explore._explore(data, *args, **kwargs)

gpd.GeoDataFrame.explore = explore
atmorling marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
325 changes: 0 additions & 325 deletions ecoscope/contrib/basemaps.py

This file was deleted.

Loading
Loading