[GRASS-dev] PROJ 5 support in trunk

Moritz Lennert mlennert at club.worldonline.be
Fri Mar 23 02:55:34 PDT 2018


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



More information about the grass-dev mailing list