Compound CRS with NAVD88 height (ftUS) to WGS 84-based + NAVD88 height: pipeline mixes GEOID18 and GEOID03 (~1.2 m error)

Aperta
#4,923 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@manduinca ci sta già lavorando.

Dal 4/11/2026.

  • #4930 di @manduinca — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
tooling

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-data installed 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

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OSGeo/PROJ

Tutte le issue di OSGeo/PROJ

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.