[PROJ] Use of EPSG codes in proj_create()

Even Rouault even.rouault at spatialys.com
Tue Apr 2 12:32:39 PDT 2019


On mardi 2 avril 2019 20:59:11 CEST Oliver Eichler wrote:
> > 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.
> 
> sounds promising. Will there be an example in the migration guide? Right
> now this guide is pretty frustrating. It gives you a rough example of
> something that does not even match the old behavior and the rest is
> "find out yourself". No documentation in the headers. No obvious link to
> API documentation on the web page. Yes, I found it by chance using
> Google.

Any suggestion on how to make it more accessible ?

> 
> It would really help to have example code to restore the old complex
> functions like pj_transform(). Keep in mind that you introduced quite
> some pitfalls that will break the software using PROJ silently. The
> moment a user uses a CRS that does it different the software will fail
> leading to a bug report, a lot of investigation why it breaks, the
> realization that new PROJ introduced inconsistencies (from the user's
> point of view) and finally patching the software that uses PROJ over and
> over again. This will be a very frustrating experience for every party
> involved.
> 
> Would that be possible?

Kristian filed https://github.com/OSGeo/proj.4/issues/1403 this morning about 
updating the example / quickstart
I've just filed https://github.com/OSGeo/proj.4/issues/1407 for a Version 5
->Version 6 migration guide

Documentation contributions are also accepted :-)

Even

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


More information about the PROJ mailing list