View Ticket
Not logged in
2019-05-15
09:08 Closed ticket [8349866db6]: Support for PROJ 6.0.0 plus 5 other changes artifact: 9743ab6ad3 user: sandro
2019-03-13
18:36 New ticket [8349866db6]. artifact: b67498814b user: anonymous

Ticket Hash: 8349866db6b8eeea025d1075e4a38fb1da995e9b
Title: Support for PROJ 6.0.0
Status: Closed Type: Feature_Request
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2019-05-15 09:08:02
Version Found In: 2.1.0-beta0
User Comments:
anonymous added on 2019-03-13 18:36:57:
PROJ 6.0.0 has been released and it deprecates the proj_api.h interface that spatialite_gui uses.

Including that header without using the -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 flag causes an error:

 /usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
  #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
   ^~~~~

PROJ 6.0.0 removes the old projects.h interface, and PROJ 7.0.0 (scheduled for March 202) will remove proj_api.h.

Support for the proj.h API introduced in PROJ 6.0.0 should be added to spatialite-gui.

sandro added on 2019-05-15 09:08:02:
support to PROJ.6 has been added by commit faca8cdab8