Skip to content

DOC: Add v0.25 whats new entries #2539

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
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
78 changes: 74 additions & 4 deletions docs/source/whatsnew/v0.25.rst
Original file line number Diff line number Diff line change
@@ -1,21 +1,91 @@
Version 0.25 (Date TBD)
=======================

This version contains a lot of maintenance work and updating internal
portions of the code to use more modern Python features and methods.
There was a lot of work done in path transformations to provide more
robust Shapely to Matplotlib Path and vice versa transformations. Additionally,
there are several new projections that were added in this release.

The new minimum supported versions of dependencies that have been updated are:

* Shapely 2.0


Features
--------
🎉 Features
-----------

* Ruth Comer introduced `~cartopy.mpl.path.shapely_to_path` and
`~cartopy.mpl.path.path_to_shapely` which map a single Shapely geometry or
collection to a single Matplotlib path and *vice versa*. (:pull:`2455`)

* The Orthographic projection now supports a ``rotation`` keyword argument
that applies azimuthal rotation to the projection.
Thanks Ken Hirata for this work. (:pull:`2504`)

* The Spilhaus projection was added by Wenrui Jiang (requires PROJ 9.6+).
(:pull:`2529`)


🐛 Bug Fixes
------------

* Greg Lucas fixed the image transform code to add a half-pixel shift to
the y coordinate (the x coordinate was already shifted a half-pixel).
(:pull:`2461`)

* Ruth Comer fixed cases where a single inverted polygon was being
projected incorrectly. (:pull:`2470`)

* Transforming multipolygons with holes was improved by Ruth Comer to
avoid some libgeos errors. (:pull:`2521`)

* Greg Lucas fixed gridline handling of offset central longitudes.
The gridlines now extend to the edges of the maps. (:pull:`2489`)

* Romain Jolivet fixed a potential initialization error when downloading with
a PosixPath. (:pull:`2500`)

📚 Documentation
----------------

* Philippe Miron updated the logo to center the Cartopy text. (:pull:`2460`)

* Warrick Ball updated the BibTex citation. (:pull:`2485`)

* Edwin added an example demonstrating how to reproject a raster image.
:ref:`sphx_glr_gallery_scalar_data_raster_reprojections.py` (:pull:`2496`)

* Ruth Comer added an example aligning Cartopy and Matplotlib Axes.
:ref:`sphx_glr_gallery_gridlines_and_labels_map_latitudes.py` (:pull:`2502`)

* Jan Meischner updated the gridliner label example.
:ref:`sphx_glr_gallery_gridlines_and_labels_gridliner.py` (:pull:`2505`)


🛠️ Maintenance
--------------

* Greg Lucas changed all internal function calls to prefer the (lon, lat)
ordering for all inputs and outputs to provide more consistency. (:pull:`2453`)

* Greg Lucas replaced the deprecated ``utcnow()`` calls.

* Miroslav Šedivý updated path and math functions with modern replacements.
(:pull:`2508` and :pull:`2509`)

* Mattias Cuntz updated the French WFS server addresses for tests.
(:pull:`2524`)

* Katelyn Fitzgerald updated the Cython code to use ``libc.math`` instead of
``numpy.math``. (:pull:`2528`)

* Bill Little updated the license and license-file fields to conform with
PEP 639. (:pull:`2526`)


Deprecations and Removals
-------------------------
🚫 Deprecations and Removals
----------------------------

* The ``cartopy.mpl.clip_path`` module is deprecated without replacement.
Please vendor these functions if you need them.
Expand Down