[PROJ] Regarding the new API

Even Rouault even.rouault at spatialys.com
Mon Nov 26 08:54:25 PST 2018


On lundi 26 novembre 2018 17:31:08 CET Chen Barnoy wrote:
> Hi,
> 
> Regarding the new API:
> If I want to transform from WGS84 geo to another projection, is there a
> difference (in the performance) between using  proj_create_crs_to_crs  and
> proj_create?

In PROJ 5, proj_create_crs_to_crs() is a simpler wrapper around proj_create() 
that constructs the following string

+proj=pipeline +step +init=srid_from +inv +step +init=srid_to

and pass it to proj_create().

(things will change in PROJ 6 once the just submitted
https://github.com/OSGeo/proj.4/pull/1182 will be merged)

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com



More information about the Proj mailing list