From 95787e9c79df119fc60b4bc03d0e1fc8716a77d7 Mon Sep 17 00:00:00 2001 From: myl-dvl Date: Mon, 21 Apr 2025 18:15:20 +0200 Subject: [PATCH 1/4] update doc for pyproj4#1400 --- pyproj/geod.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproj/geod.py b/pyproj/geod.py index 6dcef7bc..9ed13274 100644 --- a/pyproj/geod.py +++ b/pyproj/geod.py @@ -1029,7 +1029,10 @@ def geometry_area_perimeter( the 2 loops in a figure-8 polygon will partially cancel. There's no need to "close" the polygon by repeating the first vertex. - .. note:: lats should be in the range [-90 deg, 90 deg]. + .. note:: | There are a few limitations : + | - lats should be in the range [-90 deg, 90 deg] ; + | - only works with areas up to half the size of the globe ; + | - certain large polygons may return negative values. .. warning:: The area returned is signed with counter-clockwise (CCW) traversal being treated as positive. For polygons, holes should use the From 0c8daf7d13ca0783af9a14d3333003d03ce1198b Mon Sep 17 00:00:00 2001 From: myl-dvl Date: Tue, 22 Apr 2025 09:28:32 +0200 Subject: [PATCH 2/4] edit changes to doc --- pyproj/geod.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproj/geod.py b/pyproj/geod.py index 9ed13274..b3988dd6 100644 --- a/pyproj/geod.py +++ b/pyproj/geod.py @@ -1029,8 +1029,9 @@ def geometry_area_perimeter( the 2 loops in a figure-8 polygon will partially cancel. There's no need to "close" the polygon by repeating the first vertex. + .. note:: lats should be in the range [-90 deg, 90 deg]. + .. note:: | There are a few limitations : - | - lats should be in the range [-90 deg, 90 deg] ; | - only works with areas up to half the size of the globe ; | - certain large polygons may return negative values. From f851504bfe3811633bfcef681685cdbc1147c150 Mon Sep 17 00:00:00 2001 From: myl-dvl Date: Tue, 22 Apr 2025 09:56:19 +0200 Subject: [PATCH 3/4] update doc CRS --- pyproj/_crs.pyx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproj/_crs.pyx b/pyproj/_crs.pyx index 4e3f28c2..81c50299 100644 --- a/pyproj/_crs.pyx +++ b/pyproj/_crs.pyx @@ -569,7 +569,10 @@ cdef class CoordinateSystem(_CRSParts): """ .. versionadded:: 2.2.0 - Coordinate System for CRS + Coordinate System for CRS. + + .. note:: | WKT and CRS are not compatible as standalone element (see `OSGeo/PROJ#1819 `_ for more details). + | We recommend using `to_json`/`from_json` for the import. Attributes ---------- From 8ff8133c55bb2da50fe39fd07cd0e29f08f5b433 Mon Sep 17 00:00:00 2001 From: myl-dvl Date: Sun, 27 Apr 2025 13:24:46 +0200 Subject: [PATCH 4/4] add note for WKT on import --- pyproj/_crs.pyx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproj/_crs.pyx b/pyproj/_crs.pyx index 81c50299..0209ee85 100644 --- a/pyproj/_crs.pyx +++ b/pyproj/_crs.pyx @@ -574,6 +574,9 @@ cdef class CoordinateSystem(_CRSParts): .. note:: | WKT and CRS are not compatible as standalone element (see `OSGeo/PROJ#1819 `_ for more details). | We recommend using `to_json`/`from_json` for the import. + .. note:: | WKT does not work on import for CoordinateSystem. + | PROJ JSON is preferred. + Attributes ---------- name: str