Compound CRS with NAVD88 height (ftUS) to WGS 84-based + NAVD88 height: pipeline mixes GEOID18 and GEOID03 (~1.2 m error)
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by reproducing with the two cs2cs commands and inspecting the pipeline from projinfo -s EPSG:6588+6360 -t EPSG:3857+5703 --spatial-test intersects. The problem is in PROJ's coordinate-operation selection: it chooses a pipeline that round-trips NAVD88 through GEOID18 and GEOID03 instead of a unit conversion. Read the operation-factory and pipeline-composition code that builds compound-CRS transformations, then add or adjust a test using EPSG:6588+6360 to EPSG:3857+5703. Done means the selected pipeline preserves the NAVD88 height (91.4402 m) using a single consistent geoid model.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What is the bug?
Transforming from a compound CRS with NAVD88 height (ftUS) (EPSG:6360) to a compound CRS with
NAVD88 height in metres (EPSG:5703) gives a height that is about 1.2 m wrong. This happens
when the horizontal datum also changes from NAD83(2011) to WGS 84. The source and target share
the same vertical datum (NAVD88), so the expected result is a unit conversion. Instead, the
selected pipeline converts the height to an ellipsoidal height with GEOID18 (on NAD83(2011)) and
back with GEOID03 (on NAD83(HARN)/FBN). Because the two geoid models differ, the NAVD88 height
changes.
The result is inconsistent with closely related transformations:
| Source (EPSG:6588+6360, 300 ftUS) → target | Z | Expected |
|---|---|---|
| EPSG:6588+5703 (unit change only) | 91.4402 | 91.4402 ✓ |
| EPSG:6344+5703 (NAD83(2011) UTM 15N, unit change) | 91.4402 | 91.4402 ✓ |
| EPSG:3857+6360 (horizontal datum change, same unit) | 300.0000 | 300.0000 ✓ |
| EPSG:3857+5703 (horizontal datum change + unit change) | 92.6258 | 91.4402 ✗ |
| EPSG:4326+5703 | 92.6258 | 91.4402 ✗ |
| Two steps: → EPSG:6588+5703 → EPSG:3857+5703 | 91.4402 | 91.4402 ✓ |
Steps to reproduce the issue
export PROJ_NETWORK=ON
echo 3120038.778 13841751.995 300 | cs2cs EPSG:6588+6360 EPSG:3857+5703 -f "%.4f"
# -10616540.3439 3472736.7180 92.6258
echo 3120038.778 13841751.995 300 | cs2cs EPSG:6588+6360 EPSG:6588+5703 -f "%.6f" \
| cs2cs EPSG:6588+5703 EPSG:3857+5703 -f "%.4f"
# -10616540.3439 3472736.7180 91.4402
(Point near Houston, TX; EPSG:6588 is NAD83(2011) / Texas South Central (ftUS).)
The first operation projinfo -s EPSG:6588+6360 -t EPSG:3857+5703 --spatial-test intersects
returns is:
+proj=pipeline
+step +proj=unitconvert +xy_in=us-ft +xy_out=m
+step +inv +proj=lcc ... +ellps=GRS80
+step +proj=unitconvert +z_in=us-ft +z_out=m
+step +proj=vgridshift +grids=us_noaa_g2018u0.tif +multiplier=1
+step +proj=cart +ellps=WGS84
+step +inv +proj=helmert ... (NAD83(2011) to WGS 84 (1))
+step +inv +proj=cart +ellps=GRS80
+step +proj=gridshift +grids=us_noaa_nadcon5_nad83_harn_nad83_fbn_conus.tif
+step +inv +proj=vgridshift +grids=us_noaa_geoid03_conus.tif +multiplier=1
+step +inv +proj=gridshift +no_z_transform +grids=us_noaa_nadcon5_nad83_harn_nad83_fbn_conus.tif
...
+step +proj=webmerc ...
Its summary is "Inverse of NAD83(2011) to NAVD88 height (3) + NAD83(2011) to WGS 84 (1) + Inverse
of NAD83(HARN) to WGS 84 (3) + NAD83(FBN) to NAVD88 height (1) using Inverse of NAD83(HARN) to
NAD83(FBN) (1)". PDAL 2.10.2 filters.reprojection with out_srs: EPSG:3857+5703 on a LAS file
tagged EPSG:6588+6360 gives the same 92.6258 m.
Expected
91.4402 m: the NAVD88 height converted from US survey feet to metres. The same applies to any
pipeline that keeps the NAVD88 datum, as PROJ already does for EPSG:6588+5703, EPSG:6344+5703 and
EPSG:3857+6360. At minimum, the up/down geoid round trip should use the same geoid model.
Why it matters
US state-plane LiDAR is commonly delivered with NAVD88 heights in US survey feet, and
EPSG:3857+5703 is a common reprojection target in PDAL pipelines. The result is a silent bias of
about 1.2 m across Texas (up to 1.29 m on a 7 × 7 grid of points over the state).
Environment Information
- PROJ 9.9.0 (September 15th, 2026), conda-forge, with
PROJ_NETWORK=ON(the same result with
proj-datainstalled locally) - PDAL 2.10.2, conda-forge
- Linux x86_64
Installation method
- conda-forge
- Lingua principale
- C++
- Stelle
- 2k
- Fork
- 918
- Merge medio
- 20h 49m
- PR unite (30g)
- 12
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OSGeo/PROJ
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
I maintainer di solito rispondono entro 1 giorno
-
bug question
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
OSGeo/PROJ#4955 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
gs48 / alsk / gs50: `P->a` is reassigned in the projection setup but `P->ra` keeps the ellipsoid's reciprocal, so forward and inverse disagreeForse già presa @manduinca l’ha presa 24 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
OSGeo/PROJ#4933 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
mil_os / lee_os / gs48: `P->es = 0` without `P->e = 0` projects such that the center does not map to the origin on the default ellipsoidForse già presa @manduinca l’ha presa 24 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
OSGeo/PROJ#4932 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
String parser: +czech on krovak/mod_krovak sets the base geographic CRS axes to W/S, so the exported conversion negates lat/lonForse già presa @manduinca l’ha presa 24 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
OSGeo/PROJ#4931 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
duckdb/duckdb-azure#231 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 87/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ros-navigation/navigation2#6883 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
`libdbgshim` crashes in `MachOModule::ReadSymbolTable` on macOS 27 when a Metal app is attachedAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
dotnet/diagnostics#6293 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100