[PROJ] Use of EPSG codes in proj_create()

Even Rouault even.rouault at spatialys.com
Tue Apr 2 11:13:50 PDT 2019


On mardi 2 avril 2019 20:08:46 CEST Oliver Eichler wrote:
> Thanks for the answer! :D
> 
> But I still wonder what is the best way to get the same functionality as
> with pj_transform(). It might not have been the most standard conform
> thing but it did the job quite good and consistent. Now it seems to be
> that everyone needs to write a beast that analyzes the axis ordering,
> analyzes the coordinate format, fix all input to match requirements, do
> the conversion and normalize all output.

PROJ master (future 6.1.0) has a new proj_normalize_for_visualization() 
function that takes a pedantic-axis-order compliant PJ object (returned by 
proj_create_crs_to_crs()) and add the needed axis swapping to get the 
traditional GIS friendly order.

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


More information about the PROJ mailing list