Commit Graph

19 Commits

Author SHA256 Message Date
052c3ee6f6 Accepting request 880076 from home:LPechacek:pyproj301
- Update to 3.0.1:
  * WHL: Wheels contain PROJ 7.2.1
  * Use proj_context_errno_string in PROJ 8+ due to deprecation (issue #760)
  * BUG: Allow transformations with empty arrays (issue #766)
  * BUG: support numpy objects in CRS.from_cf (issue #773)

OBS-URL: https://build.opensuse.org/request/show/880076
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=34
2021-03-22 14:44:22 +00:00
58332b3959 Accepting request 874385 from home:Guillaume_G:branches:Application:Geo
- Disable Python 3.6 as numpy is not available anymore for 3.6.
  See NEP29: https://numpy.org/neps/nep-0029-deprecation_policy.html

OBS-URL: https://build.opensuse.org/request/show/874385
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=32
2021-02-23 05:57:55 +00:00
92ae1563d0 Accepting request 870721 from home:bnavigator:branches:Application:Geo
- Fix malformed Cython requirement
- Remove (malformed) unneeded coverage requirement and mock which
  is imported from unittest already.
- Actually install the alternative for the entrypoint
- Use the pytest_arch macro for the tests

OBS-URL: https://build.opensuse.org/request/show/870721
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=30
2021-02-10 06:36:50 +00:00
Libor Pechacek
87cd27e1ab Accepting request 865359 from home:Guillaume_G:branches:Application:Geo
- Update to 3.0.0:
  * Minimum supported Python version 3.6 (issue #499)
  * Minimum PROJ version 7.2 (issues #599 & #689)
  * WHL: Removed datumgrids from wheels because not needed with RFC 4 (pull #628)
  * ENH: Added PROJ Network Settings (#675, #691, #695)
  * ENH: Added ability to use global context (issue #661)
  * ENH: Added transformation grid sync API/CLI (issue #572)
  * ENH: Support obects with __array__ method (pandas.Series, xarray.DataArray, dask.array.Array) (issue #573)
  * ENH: Added pyproj.datadir.get_user_data_dir() (pull #636)
  * ENH: Added pyproj.transformer.Transformer.is_network_enabled (issue #629)
  * ENH: Added pyproj.transformer.TransformerGroup.download_grids() (pull #643)
  * ENH: Use ‘proj_get_units_from_database’ in pyproj.database.get_units_map() & cleanup pyproj.database.get_codes() (issue #619)
  * ENH: Added support for radians for Proj & Transformer.from_pipeline & use less gil (issue #612)
  * ENH: Datum.from_name default to check all datum types (issue #606)
  * ENH: Use from_user_input in __eq__ when comparing CRS sub-classes (i.e. PrimeMeridian, Datum, Ellipsoid, etc.) (issue #606)
  * ENH: Add support for coordinate systems with CRS using CF conventions (issue #536)
  * ENH: Use proj_is_equivalent_to_with_ctx in the place of proj_is_equivalent_to internally (issue #666)
  * BUG: Add support for identifying engineering/parametric/temporal datums (issue #670)
  * ENH: Add support for temporal CRS CF coordinate system (issue #672)
  * ENH: Added support for debugging internal PROJ (pull #696)
  * ENH: Added pathlib support for data directory methods (pull #702)
  * ENH: Added pyproj.database.query_crs_info() (pull #703)
  * ENH: Added pyproj.database.query_utm_crs_info() (pull #712)
  * REF: Refactor Proj to inherit from Transformer (issue #624)
  * REF: Added pyproj.database, pyproj.aoi, and pyproj.list modules (pull #703)
  * BUG: Fix handling of polygon holes when calculating area in Geod (pull #686)
- Drop upstream patch:
  * pyproj-3.0.0-TST-Update-tests-with-scope-remarks-649.patch
- Include 'pyproj' command line tool

OBS-URL: https://build.opensuse.org/request/show/865359
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=28
2021-01-22 10:09:55 +00:00
8199794f8d Accepting request 836456 from home:LPechacek:pyproj-fix-test
- Fix failing test after Proj update to 7.1.1
  - added patch pyproj-3.0.0-TST-Update-tests-with-scope-remarks-649.patch

OBS-URL: https://build.opensuse.org/request/show/836456
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=26
2020-09-24 08:40:04 +00:00
Libor Pechacek
c4c4a88dd2 Accepting request 807125 from home:LPechacek:branches:Application:Geo
Update python-pyproj to 2.6.1.post1

OBS-URL: https://build.opensuse.org/request/show/807125
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=24
2020-05-19 07:41:50 +00:00
2addbbf5c4 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=22 2020-04-23 10:08:54 +00:00
9be3ef4826 - Simplify spec file
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=21
2020-04-23 10:01:12 +00:00
9f40064545 Accepting request 786118 from home:LPechacek:branches:Application:Geo
- Update to 2.6.0
  * ENH: Added pyproj.proj.Proj.get_factors (issue #503)
  * ENH: Added type hints (issue #369)
  * BUG: Don't use CRS classes for defaults in CRS child class init
    signatures (issue #554)
  * ENH: Updated :pyproj.crs.CRS.axis_info to pull all relevant axis
    information from CRS (issue #557)
  * ENH: Added pyproj.transformer.Transform.__eq__ (issue #559)
  * ENH: Added pyproj.crs.CRS.utm_zone (issue #561)
  * BUG: Modify CRS dict test to accomodate numpy bool types.
    (issue #564)
  * BUG: Fix pipeline transformations to match cct (issue #565)
  * BUG: Don't silently ignore kwargs when projparams are
    specified (Proj & CRS) (issue #565)

OBS-URL: https://build.opensuse.org/request/show/786118
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=19
2020-03-18 13:29:17 +00:00
9e5c74a265 Accepting request 778982 from home:LPechacek:pyproj-update
Update to 2.5.0. An independent review would be appreciated. Thanks in advance!

OBS-URL: https://build.opensuse.org/request/show/778982
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=17
2020-02-25 10:15:21 +00:00
7431f61479 Accepting request 752807 from home:LPechacek:pyproj-upgrade
- Update to 2.4.2.post1
  * Elevate +init= warning to FutureWarning (pull #486)
  * Add UserWarning to to_proj4() (pull #486)
  * BUG: Fix for 32-bit i686 plaforms (issue #481)
  * Return ‘inf’ in Proj instead of 1.e30 (pull #491)

OBS-URL: https://build.opensuse.org/request/show/752807
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=15
2019-12-02 08:03:14 +00:00
f2427dbe15 Accepting request 746094 from home:LPechacek:branches:Application:Geo
Update to 2.4.1, fixes test failures with proj 6.2.1 which came in SR#745525.

OBS-URL: https://build.opensuse.org/request/show/746094
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=13
2019-11-07 07:47:25 +00:00
ab5466a652 Accepting request 745136 from home:LPechacek:branches:Application:Geo
- Update to 2.4.0
- Packaging: build only for Python 3 (requirement since v2.2.3), update package
  description and upstream URL, require Shapely, require PROJ >= 6.2.0

OBS-URL: https://build.opensuse.org/request/show/745136
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=11
2019-11-04 10:47:07 +00:00
30d7cd4fed Accepting request 709778 from home:TheBlackCat:branches:Application:Geo
- Update to 2.2.0
  * Minimum PROJ version is now 6.1.0
  + `pyproj.crs` updates:
    * Updated CRS repr (issue #264)
    * Add Datum, CoordinateSystem, CoordinateOperation clases (issue #262)
    * Added :meth:`~pyproj.crs.CRS.to_cf` and :meth:`~pyproj.crs.CRS.from_cf` for
      converting to/from Climate and Forcast (CF) 1.8 grid mappings (pull #244)
    * Added :meth:`~pyproj.crs.CRS.to_dict` (issue #226)
    * Added :meth:`~pyproj.crs.CRS.to_authority` (pull #294)
    * Added :attr:`~pyproj.crs.CRS.is_vertical` and :attr:`~pyproj.crs.CRS.is_engineering` (issue #316)
    * Added :attr:`~pyproj.crs.CRS.target_crs` (pull #328)
    * Provide option to "pretty print" WKT in :attr:`~pyproj.crs.CRS.to_wkt` (issue #258)
    * Add support for Bound and Compound CRS for :attr:`~pyproj.crs.CRS.is_geographic`, :attr:`~pyproj.crs.CRS.is_projected` (issue #274)
    * Add support for Bound CRS for :attr:`~pyproj.crs.CRS.is_geocentric` (issue #374)
    * Add support for comparison with CRS a non-crs type supported by :meth:`~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 :meth:`~pyproj.crs.CRS.to_epsg` for when `proj_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, latitudecfor geographic
      CRS and easting, northing for most projected CRS (issue #225)
    * Provide `direction` option in :meth:`~pyproj.transformer.Transformer.transform` (issue #266)
    * Add check for valid initialization of Transformer and ensure it is a transformer (issue #321)
    * Added :meth:`~pyproj.transformer.Transformer.to_wkt` as well as attributes related to `PJ_PROJ_INFO` (pull #322)
    * Undo deprecation of :meth:`~pyproj.transformer.Transformer.from_crs` (issue #275)
    * Fix false positive errors raised in transformer (issue #249)
  * Fix :class:`~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)
- Update to 2.1.3
  * Added support for time transformations (issue #208)
  * Fixed projection equivalence testing for transformations (pull #231).
  * Switch to pytest for testing (pull #230)
  * Various testing fixes (pull #223, #222, #221, #220)
  * Convert PROJ error messages from bytes to strings (pull #219)
  * Fix data dir path separator to be (;) for windows and (:) for linux (pull #234)
- Update to 2.1.2
  * Updated to use the CRS definition for Proj instances in transforms (issue #207)
  * Add option to skip tranformation operation if input and output projections are equivalent
    and always skip if the input and output projections are exact (issue #128)
  * Update setup.py method for checking PROJ version (pull #211)
  * Add internal proj error log messages to exceptions (pull #215)
- Update to 2.1.1
  * Restore behavior of 1.9.6 when illegal projection transformation requested
    (return ``inf`` instead of raising an exception, issue #202).  kwarg ``errcheck``
    added to :func:`~pyproj.transformer.transform` and :func:`~pyproj.transformer.itransform`
    (default ``False``). When ``errcheck=True`` an exception is raised.
- Update to 2.1.0
  * Added :class:`~pyproj.transformer.Transformer` to make repetitive transformations more efficient (issue #187)
  * Added fix for using local datumgrids with transform (issue #191)
  * Added :meth:`~pyproj.transformer.Transformer.from_pipeline` to support pipeline transformations.
  * Added fix for conversion between radians/degrees for transformations (issues #192 & #195)
- Update to 2.0.2
  * add filter for boolean values in dict2string so "no_rot=True" works (issue #183).
  * make sure .pxd files included in source tarball.
  * add radians flag back in for transform/itransform (issue #185).
- Run unit tests
- Fix dependencies

OBS-URL: https://build.opensuse.org/request/show/709778
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=9
2019-07-17 17:35:06 +00:00
d8f12de7f6 - Update to version 2.0.1:
* Ensure data path set properly for TransProj (pull request #179,
    addressed issue #176).
- Changes for version 2.0.0:
  * Update to PROJ.4 version 6.0.0 & removed support for older
    PROJ.4 versions.
  * Added pyproj.CRS class.
  * Updated pyproj.Proj & pyproj.transform to accept any input
    from CRS.from_user_input.
  * Removed internal PROJ.4 source code.
  * Changed default for preserve_units to be True in pyproj.Proj
    class initialization.
  * Modified logic for searching for the PROJ.4 data directory to
    not conflict with older versions of PROJ.4.
  * Added pyproject.toml.
- Temporarily disable tests

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=7
2019-03-11 14:07:47 +00:00
0b8a0020e3 Accepting request 671306 from home:bruno_friedmann:branches:Application:Geo
- update to 1.9.5 (python3.7 support)
- spec-cleaner minimal

OBS-URL: https://build.opensuse.org/request/show/671306
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=5
2019-02-05 11:07:48 +00:00
78b5afbad9 Accepting request 607623 from home:bruno_friedmann:branches:Application:Geo
We will certainly have to cleanup the python3 link
in App:Geo 

- Packaging : 
  + move to python singlespec
  + use %check and run unit tests for version >= 1500
  + spec-cleaner (date/license)
- update upstream release 1.9.5.1
  * fix for issue #42 compilation error with microsoft visual studio
  + 1.9.5
  * update proj4 source to latest github master commit 953cc00f
  * port of basemap fix for input arrays in fortran order 
  * restore inverse Hammer patch that was lost when proj4 source 
    code was updated.

OBS-URL: https://build.opensuse.org/request/show/607623
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=4
2018-05-20 07:16:22 +00:00
64a75f0543 Accepting request 340337 from home:bruno_friedmann:branches:Application:Geo
Updated upstream 1.9.4 release
spec clean and prepare python3-pyproj equivalent

OBS-URL: https://build.opensuse.org/request/show/340337
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=2
2015-10-22 07:44:52 +00:00
Angelos Tzotsos
4d3bbafdb4 Accepting request 114360 from home:tzotsos:python
Python interface to Proj library

OBS-URL: https://build.opensuse.org/request/show/114360
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=1
2012-04-18 11:19:12 +00:00