cs2cs fails "Mismatched units" from EPSG:4979 to a vertical offset height (Kumul 34, Kiunga, POM96, POM08)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Ambito
- data
Direzione di ricerca
Inspect Transformation::_exportToPROJString in singleoperation.cpp, focusing on the Vertical Offset branch and how its unit conversions are ordered after a geoid transformation. Use cs2cs and projinfo with EPSG:4979 and EPSG:7651 to reproduce and inspect the generated pipeline. Done means the affected CRS pairs create a valid pipeline without “Mismatched units” and produce the expected transformed coordinates.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
PROJ 9.8.1. Transforming from EPSG:4979 to a vertical CRS whose only route is a geoid model followed by a Vertical Offset (method 9616) fails at pipeline creation:
$ echo "-7 143 100" | cs2cs -d 6 EPSG:4979 EPSG:7651
pipeline: Pipeline: Mismatched units between step 4 and 5
* * inf
Same for EPSG:7652 (Kiunga height), 7832 (POM96 height) and 7841 (POM08 height), through EPSG:7653, 7654, 7873 and 7874.
projinfo -s EPSG:4979 -t EPSG:7651 -o PROJ lists one operation:
+proj=pipeline
+step +proj=axisswap +order=2,1
+step +proj=unitconvert +xy_in=deg +xy_out=rad
+step +inv +proj=vgridshift +grids=us_nga_egm96_15.tif +multiplier=1
+step +proj=unitconvert +xy_in=rad +xy_out=deg
+step +proj=axisswap +order=2,1
+step +proj=geogoffset +dh=-0.87
geogoffset gets degrees after the unitconvert back to degrees. The Vertical Offset branch of Transformation::_exportToPROJString (singleoperation.cpp) adds geogoffset with only the linear unit converts of the two vertical CRSs around it, so nothing restores radians for it when it follows the geoid step.
Moving the offset before the conversion back to degrees gives the expected answer:
$ echo "-7 143 100" | cct -d 6 +proj=pipeline +step +proj=axisswap +order=2,1 \
+step +proj=unitconvert +xy_in=deg +xy_out=rad \
+step +inv +proj=vgridshift +grids=us_nga_egm96_15.tif +multiplier=1 \
+step +proj=geogoffset +dh=-0.87 \
+step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1
-7.000000 143.000000 22.757052 inf
- 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
-
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 23 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
-
Compound CRS with NAVD88 height (ftUS) to WGS 84-based + NAVD88 height: pipeline mixes GEOID18 and GEOID03 (~1.2 m error)Forse già presa @manduinca l’ha presa 25 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
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
-
engaged enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
skeeto/prospero#118 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno