pyproj4 / pyproj

Python interface to PROJ (cartographic projections and coordinate transformations library)
https://pyproj4.github.io/pyproj
MIT License
1.05k stars 212 forks source link

ENH: Added parameter output_axis_rule to CRS.to_wkt #1287

Closed jjimenezshaw closed 1 year ago

jjimenezshaw commented 1 year ago

This PR adds the parameter output_axis_rule to the method CRS.to_wkt, as documented in https://proj.org/development/reference/functions.html#c.proj_as_wkt

YES is mapped to True, NO to False, and AUTO to None (default).

codecov[bot] commented 1 year ago

Codecov Report

Merging #1287 (3180e72) into main (3d0fb75) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head 3180e72 differs from pull request most recent head 2893be4. Consider uploading reports for the commit 2893be4 to get more accurate results

@@           Coverage Diff           @@
##             main    #1287   +/-   ##
=======================================
  Coverage   96.41%   96.41%           
=======================================
  Files          20       20           
  Lines        1812     1812           
=======================================
  Hits         1747     1747           
  Misses         65       65           
Impacted Files Coverage Δ
pyproj/crs/crs.py 98.08% <100.00%> (ø)
snowman2 commented 1 year ago

Thanks @jjimenezshaw :+1: