Re: PROJ 5 support in trunk

Moritz Lennert <[email protected]> Fri, 23 Mar 2018 10:55:34 +0100
Newsgroups gmane.comp.gis.grass.devel,gmane.comp.gis.grass.user
Message-ID <[email protected]>
On 23/03/18 10:41, Markus Metz wrote:
> Now (last related commit is trunk r72522) it's finished. I have 
> introduced a new GRASS API that handles both PROJ 4 and PROJ 5, 
> consisting of
> 
> GPJ_init_transform() (new, initializes coordinate transformation)
> GPJ_transform() replacing pj_do_proj()
> GPJ_transform_array() replacing pj_do_transform()
> 
> The old GRASS API is still there but is no longer used by core modules.
> 
> Only few ifdefs in lib/proj are needed for different PROJ versions. 
> Modules do not need any ifdefs, they can simply call 
> GPJ_init_transform() + GPJ_transform() without caring about the PROJ API.
> 
> As soon as PROJ 5.0.1 is out, I would like to drop support for PROJ 
> 5.0.0 and only support PROJ 4 and PROJ 5.0.1 or higher (learning from 
> GDAL :-)).

Wow ! Congratulations and thank you for all this hard work !!

Moritz

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev