[PROJ] [PROJ 6.0.0] Different behaviors for creating a transformation of type EPSG:9616
Even Rouault
even.rouault at spatialys.com
Tue Apr 30 10:25:35 PDT 2019
> 2.- Tested on IGNF:NTFLAMB2E.NGF84 to IGNF:ETRS89LCC.EVRF2000
> but the final type is PJ_TYPE_UNKNOWN, not
> PJ_TYPE_OTHER_COORDINATE_OPERATION :
>
> obj = proj_create_crs_to_crs(c, "IGNF:NTFLAMB2E.NGF84",
> "IGNF:ETRS89LCC.EVRF2000", NULL);
Ah, another subtelty here...
If you look at the projinfo -s -t output, you'll see several candidate
operations.
proj_create_crs_to_crs() in that case stores them inside a "wrapper" PJ
object. So in that situation where you have the wrapper PJ returned, its type
is PJ_TYPE_UNKNOWN.
(When proj_trans() is called, then one of the candidates is selected
dependending on the input coordinates.)
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the PROJ
mailing list