You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The concatenated_operation 14434 is supposed to perform these steps:
EPSG:9168 -- NAD83(FBN) 3D to NAD83(FBN)+NAVD88 height
EPSG:7989 -- NAVD88 height to NAVD88 depth
NOAA:11492 -- NAD83(FBN)+LMSL to NAD83(FBN)+NAVD88 depth
NOAA:11490 -- NAD83(FBN)+MLLW to NAD83(FBN)+LMSL
In the function ConcatenatedOperation::fixStepsDirection the second step is recognized as a conversion and then assumes the target of the first operation is the same as the source of the third operation, rather than checking if the third operation needs an op->inverse() like the rest of the function does.
If I reverse the source and target of the NOAA:11492 operation then the call results in my expected output below.
Expected Output
Candidate operations found: 1
-------------------------------------
Operation No. 1:
NOAA:14434, Inverse of 'Inverse of 'NAD83(FBN) to NAD83(FBN) + MLLW (WAjuandefuca01/vdatum_3.4_20141224/1983-2001) depth'', 0.1 m, 17203 Washington - Strait of Juan de Fuca Local Mean Sea Level 1983-2001
PROJ string:
+proj=pipeline
+step +proj=axisswap +order=2,1
+step +proj=unitconvert +xy_in=deg +xy_out=rad
+step +inv +proj=vgridshift +grids=us_noaa_geoid03_conus.tif +multiplier=1
+step +proj=unitconvert +xy_in=rad +xy_out=deg
+step +proj=axisswap +order=2,1
+step +proj=axisswap +order=1,2,-3
+step +proj=axisswap +order=2,1
+step +proj=unitconvert +xy_in=deg +xy_out=rad
+step +inv +proj=vgridshift
+grids=us_noaa_nos_NAD83(FBN)_LMSL_NAVD88_(WAjuandefuca01_vdatum_3.4_20141224_1983-2001).tif
+multiplier=1
+step +proj=axisswap +order=1,2,-3
+step +proj=axisswap +order=1,2,-3
+step +proj=vgridshift
+grids=us_noaa_nos_NAD83(FBN)_MLLW_LMSL_(WAjuandefuca01_vdatum_3.4_20141224_1983-2001).tif
+multiplier=1
+step +proj=unitconvert +xy_in=rad +xy_out=deg
+step +proj=axisswap +order=2,1
Example of problem
Using the attached proj.db including custom NOAA tidal CRS and transform records
Problem description
The concatenated_operation 14434 is supposed to perform these steps:
In the function
ConcatenatedOperation::fixStepsDirection
the second step is recognized as a conversion and then assumes the target of the first operation is the same as the source of the third operation, rather than checking if the third operation needs anop->inverse()
like the rest of the function does.If I reverse the source and target of the NOAA:11492 operation then the call results in my expected output below.
Expected Output
Environment Information
Installation method
proj.zip
The text was updated successfully, but these errors were encountered: