Cartopy: Convert to proj v5 API

Created on 7 Oct 2018  路  6Comments  路  Source: SciTools/cartopy

The proj_api.h header and the functions related to it is considered deprecated from version 5.0.0 and onwards. The header will be removed from PROJ in version 7.0.0 scheduled for release February 1st 2020.

This applies to trace.pyx.

_Originally posted by @dopplershift in https://github.com/SciTools/cartopy/issues/1045#issuecomment-390043613_

proj Enhancement

Most helpful comment

Looks like removing proj_api.h has been postponed to 8.0 according to OSGeo/PROJ#837. Which explains how cartopy was built against PROJ 7.1 on conda-forge. I'd love to solve this by taking a stab at #1477.

All 6 comments

xref to jswhit/pyproj#152

I would be happy to take a stab at it if no one else is planning to do it anytime soon.

Now that proj 6 is out, it might be nice to define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H for the proper proj_version until the API update is complete.

Just a heads up, PROJ 7 is now out...

Looks like removing proj_api.h has been postponed to 8.0 according to OSGeo/PROJ#837. Which explains how cartopy was built against PROJ 7.1 on conda-forge. I'd love to solve this by taking a stab at #1477.

The proj_api.h has been removed from the PROJ src code. Change will be released in PROJ 8.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxnoe picture maxnoe  路  5Comments

ocefpaf picture ocefpaf  路  7Comments

munro picture munro  路  8Comments

QuLogic picture QuLogic  路  7Comments

choldgraf picture choldgraf  路  7Comments