Version 2.2.0 Release
Changes
- Minimum PROJ version is now 6.1.0
pyproj.crs
updates:- Updated CRS repr (issue #264)
- Add Datum, CoordinateSystem, CoordinateOperation clases (issue #262)
- Added
pyproj.crs.CRS.to_cf()
andpyproj.crs.CRS.from_cf()
for
converting to/from Climate and Forcast (CF) 1.8 grid mappings (pull #244) - Added
pyproj.crs.CRS.to_dict()
(issue #226) - Added
pyproj.crs.CRS.to_authority()
(pull #294) - Added
pyproj.crs.CRS.is_vertical
andpyproj.crs.CRS.is_engineering
(issue #316) - Added
pyproj.crs.CRS.target_crs
(pull #328) - Provide option to "pretty print" WKT in
pyproj.crs.CRS.to_wkt()
(issue #258) - Add support for Bound and Compound CRS for
pyproj.crs.CRS.is_geographic
,pyproj.crs.CRS.is_projected
(issue #274) - Add support for Bound CRS for
pyproj.crs.CRS.is_geocentric
(issue #374) - Add support for comparison with CRS a non-crs type supported by
pyproj.crs.CRS.from_user_input()
(issue #312) - Added support for ITRF, compound EPSG, and urn projection strings in CRS (pull #289)
- Better handle Compound CRS (issue #265)
- Disallow creation of non-CRS object (eg pipeline) in CRS class (issue #267)
- Added check in
pyproj.crs.CRS.to_epsg()
for whenproj_list
is null (issue #257) - Fix comparing classes of non-instance types (issue #310)
pyroj.transformer
updates:- Added
always_xy
option to Transformer so the transform method will
always accept as input and return as output coordinates using the
traditional GIS order, that is longitude, latitude for geographic
CRS and easting, northing for most projected CRS (issue #225) - Provide
direction
option inpyproj.transformer.Transformer.transform()
(issue #266) - Add check for valid initialization of Transformer and ensure it is a transformer (issue #321)
- Added
pyproj.transformer.Transformer.to_wkt()
as well as attributes related toPJ_PROJ_INFO
(pull #322) - Undo deprecation of
pyproj.transformer.Transformer.from_crs()
(issue #275) - Fix false positive errors raised in transformer (issue #249)
- Added
- Fix
pyproj.proj.Proj
initialization from DerivedGeographicCRS (issue #270) - Add interface to get the projection/ellps/prime_meridian/units lists (issue #251)
- Docs/Build/Test fixes (pull #278, pull #245, pull #248, pull #247, issue #253, pull #252)
Acknowledgements
Thanks to everyone who contributed to this release! There have been many great ideas
for improvement, code reviews, and bug reports that are definitely appreciated.
A total of 4 people contributed to the codebase in this release. People with a
"+" by their names contributed a patch for the first time.
- Alan D. Snow
- Chris Mayo
- Joris Van den Bossche +
- Micah Cochran