Eomaps

Latest version: v8.2.1

Safety actively analyzes 641024 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 15

6.2.1

Primarily a bugfix release that also introduces new WebMap services!

🌳 New
- There is a new option to directly export figures with a "tight bbox" in the companion-widget.
<img src=https://user-images.githubusercontent.com/22773387/225159717-b20f7601-c748-4fca-ab46-fab10adc13f8.png width=30%/>

πŸ—ΊοΈ new WebMap services
- **OpenStreetMap**
- Humanitarian (e.g. HOT) style (https://wiki.openstreetmap.org/wiki/HOT_style)
- OpenSeaMap (https://wiki.openstreetmap.org/wiki/OpenSeaMap)
- **GMRT** (Global Multi-Resolution Topography (GMRT) Synthesis, https://gmrt.org/)
- **GLAD** (Global Land Analysis and Discovery Team, https://glad.umd.edu/)
- **GOOGLE** (Google Maps layers, https://google.com)
πŸŒ‘ EOmaps is going outta space!
(❗ NOTE: since these WebMaps are provided in an earth-based WebMercator projection, units of scalebars, geod-circles etc. will be wrong since they represent earth-based units)
- **OpenPlanets** - Mars and Moon WebMaps! (https://www.openplanetary.org)
<img src=https://user-images.githubusercontent.com/22773387/225593290-dd789fb4-0965-4688-a42d-4c653c8c4fc0.png width=50%/>

🌦️ Changes
- `ESRI_ArcGIS` WebMap services are now fetched as `xyz` services

πŸ”¨ Fixes
- fix exporting figures with tight bboxes if `dpi=figure_dpi`
- fix data-manager issues if radius cannot be evaluated
- fix using custom globes with scalebars and gridlines
- make sure webmaps are added transparent in the companion-widget
- fix identification of picked values if `"shade_raster"` is used with 2D coordinates

6.2

A minor release that brings new WebMap services and addresses handling of non-EOmaps artists.

🌳 New

Improved handling of artists added with matplotlib/cartopy methods
Handling of artists added with methods NOT provided by `EOmaps` (e.g. using `matplotlib` or `cartopy` methods directly) has been improved:

- All artists that are created with non-`EOmaps` methods are now **drawn on the "base" layer by default**.
- To put artists on dedicated layers, you need to explicitly add them to the blit-manager (`m.BM`):
- for "dynamic" artists that have to be updated on every event on the map:
`m.BM.add_artist(artist, layer=...)`
- for "background" artists that only need to be re-drawn on pan/zoom/resize:
`m.BM.add_bg_artist(artist, layer=...)`

python
from eomaps import Maps
m = Maps(layer="base")
m.add_feature.preset.coastline() EOmaps method... the layer of `m` is used for the artist

a matplotlib method is used... this artist will show up on the "base" layer
m.ax.plot([10, 20, 30], [5, 78, 25], c="r", lw=3)

to put arbitrary artists on dedicated layers, add them to the blit-manager:
l, = m.ax.plot([10, 20, 30], [5, 78, 25], lw=2, c="b")
m.BM.add_bg_artist(l, layer="my_line")


πŸ—Ί New OpenStreetMap WebMap services added!
- OpenRiverboatMap
- CyclOSM
- OEPNV_public_transport
- OSM_WhereGroup
- OSM_WaymarkedTrails
- OSM_OpenRailwayMap
- OSM_CartoDB basemaps


πŸ”¨ Fixes

- fix drawing artists that were not added via EOmaps functions (e.g. using matplotlib/cartopy functionalitites)
- fix using `m.savefig()` with `bbox_inches="tight"`

6.1.3

A quick-fix release to fix adding multiple markers via lists of data IDs

πŸ”¨ Fixes
- fix adding multiple markers/annotations by ID

6.1.2

6.1.1

A quick bugfix release that addresses some issues in Jupyter Notebooks
πŸ”¨ fixes
- fix creating snapshots (e.g. for jupyter notebooks etc.) with arbitrary combinations of layers
- fix spines not properly updated when adding colorbars with `%matplotlib inline`

6.1

A minor release that fixes remaining issues with v6.0.x and adds functionalities for grid-lines!

🌳 New
- The `LayoutEditor` now supports undo/redo of recent events via `control + z` and `control + y`
- There is a new method `m.new_map()` to simplify adding new maps to existing figures
- `InsetMaps` now have a new method `m.get_inset_position()` to get the current position and size
- There is a new function `m.add_gridlines()` that can be used to add `GridLines` to the map!
- Have a look at the new section in the docs for more details: [β–¦ Gridlines](https://eomaps.readthedocs.io/en/dev/api.html#gridlines)
<img src="https://raw.githubusercontent.com/raphaelquast/EOmaps/dev/docs/_static/minigifs/grid_01.png" width=30%>

πŸ”¨ Fixes
- fix `ReferenceErrors` if the parent-map variable is overridden while the figure is still open
- fix performance issues caused by unnecessary updates in the companion widget
- avoid triggering "on_layer_change" actions if the layer is already active
- make sure the selected "pick-map" does not automatically reset in the companion-widget
- only attempt to close an opened file if opening was actually successful
- add support for the "frameon" kwarg when creating new Maps-objects
- fix "pick-only" datasets should not attempt to plot a collection
- fix misplaced axes-frames when adding colorbars on already opened plots
- fix re-positioning of already created `InsetMaps`
- fix handling of matplotlib-inline backends
- raise an error if geod_circles are used without providing a radius
- fix altering colorbar/histogram scaling with + and - keys
- fix issues when trying to fetch wms submenus for non-accessible servers

Page 5 of 15

Β© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.