Release: | 0.13.0 |
---|---|
Date: | 30th June 2015 |
Andrea Smith fixed the cartopy CRS class such that 3d transforms such as cartopy.crs.Geocentric now correctly apply deg2rad and rad2deg. (PR #625)
Peter Killick fixed the cartopy.crs.Mercator projection for non-zero central longitudes. (PR #633)
Conversion between matplotlib matplotlib.path.Path and shapely.geometry.Geometry using cartopy.mpl.patch.path_to_geos() and cartopy.mpl.patch.geos_to_path() now handles degenerate point paths.
Update of tools/feature_download.py to allow mass download of feature data rather than on-demand downloading.
A new example was added to the gallery:
Release: | 0.12.0 |
---|---|
Date: | 14th April 2015 |
We are very pleased to announce that Elliott Sales de Andrade was added to the cartopy core development team. Elliott has added several new projections in this release, as well as setting up cartopy’s Python 3 testing on TravisCI and generally improving the cartopy codebase.
Installing cartopy became much easier for conda users. A scitools channel has been added which makes getting cartopy and all of its dependencies on Linux, OSX and Windows possible with:
conda install -c scitools cartopy
Support for Python 3, specifically 3.3 and 3.4, has been added. Some features that depend on OWSLib will not be available as it does not support Python 3.
Two new projections, AzimuthalEquidistant and AlbersEqualArea have been added. See the Cartopy projection list for the full list of projections now available in cartopy.
The Web Map Service (WMS) interface has been extended to support on-the-fly reprojection of imagery if the service does not support the projection of the map being drawn. The following example demonstrates the process by adding WMS imagery to an Interrupted Goode Homolosine map - unsurprisingly this WMS service does not provide IGH imagery, so cartopy has had to reproject them from a projection the WMS does support:
Peter Killick added an interface for accessing MapBox tiles using the MapBox Developer API. A MapBox client can be created with, MapboxTiles and as with the other imagery from a simple URL based imagery service, it can be added to a GeoAxes with the add_image() method. The following example demonstrates the interface for another source of imagery:
Some improvements were made to the geometry transformation algorithm to improve the stability of geometry winding. Several cases of geometries being incorrectly inverted when transformed have now been resolved. (PR #545)
Mark Hedley added the central_rotated_longitude keyword to cartopy.crs.RotatedPole, which is particularly useful for limited area rotated pole models in areas such as New Zealand:
A new method has been added to the GeoAxes to allow control of the neatline of a map drawn with the matplotlib interface. The method, set_boundary(), takes a matplotlib Path object, which means that arbitrary shaped edges can be achieved:
A new SRTM3 RasterSource has been implemented allowing interactive pan/zoom of 3 arc-second elevation data from the Shuttle Radar Topography Mission. The SRTM example has also been updated to use the new interface.
New additions to the gallery:
Release: | 0.11.0 |
---|---|
Date: | 19 June 2014 |
Release: | 0.10.0 |
---|---|
Date: | 17 January 2014 |
We are very pleased to announce that Andrew Dawson was added to the cartopy core development team. In this release Andrew has single-handedly implemented comprehensive vector transformation and visualisation capabilities, including:
Release: | 0.9.0 |
---|---|
Date: | 12 September 2013 |
We are very pleased to announce that Bill Little was added to the cartopy core development team. Bill has made some excellent contributions to cartopy, and his presentation at EuroScipy‘13 on “Iris & Cartopy” was voted best talk of the conference.
Other talks and tutorials during this release cycle include Phil Elson’s talk at SciPy‘13 (with video), Thomas Lecocq’s tutorial at EuroSciPy and a forthcoming talk at FOSS4G.
Christoph Gohlke updated cartopy to support Windows 7.
The Plate Carree projection was updated to fully handle arbitrary globe definitions.
Peter Killick updated the Mercator class’ default globe to WGS84. His refactor paved the way for some follow on work to fully implement the Google Spherical Mercator (EPSG:3857) projection.
The TransverseMercator class saw a tidy up to include several common arguments (ticket)
Bill Little added the Geostationary projection to allow geolocation of satellite imagery.
Byron Blay added the Lambert conformal conic projection.
Release: | 0.8.0 |
---|---|
Date: | 3 June 2013 |
Release: | 0.7.0 |
---|---|
Date: | 21 Mar 2013 |
This is a quick release which targets two very specific requirements. The goals outlined in the development plan at v0.6 still remain the primary target for v0.8 and beyond.
Release: | 0.6.0 |
---|---|
Date: | 19 Feb 2013 |
Release: | 0.5.0 |
---|---|
Date: | 7 Dec 2012 |
This document explains the new/changed features of cartopy in version 0.5.
Release 0.5 of cartopy continues the work to expand the feature-set of cartopy to encompass common operations, and provide performance improvements.
A summary of the main features added with version 0.5:
None
A new features api is now available, see Using the cartopy shapereader.
import cartopy
import matplotlib.pyplot as plt
def main():
ax = plt.axes(projection=cartopy.crs.PlateCarree())
ax.add_feature(cartopy.feature.LAND)
ax.add_feature(cartopy.feature.OCEAN)
ax.add_feature(cartopy.feature.COASTLINE)
ax.add_feature(cartopy.feature.BORDERS, linestyle=':')
ax.add_feature(cartopy.feature.LAKES, alpha=0.5)
ax.add_feature(cartopy.feature.RIVERS)
ax.set_extent([-20, 60, -40, 40])
plt.show()
if __name__ == '__main__':
main()