-
Notifications
You must be signed in to change notification settings - Fork 867
Closed
Description
Problem description + examples
I am upgrading some old code that unprojects + transforms coordinates from an arbitrary input to WGS84. With PROJ 6.2.1 it correctly converts the input 650.000 foot elevation to 198.120 meters:
$ docker run --rm -it osgeo/proj:6.2.1 bash
root@aa66cbfb0aed:/# echo 3200000 10200000 650 | cs2cs "epsg:6578" "epsg:4326" -f %.3f
30.618 -97.461 198.120
But starting with PROJ 6.3.0 the z-coordinate is unchanged at 650.000:
$ docker run --rm -it osgeo/proj:6.3.0 bash
root@24492e9f6418:/# echo 3200000 10200000 650 | cs2cs "epsg:6578" "epsg:4326" -f %.3f
30.618 -97.461 650.000
It appears that PROJ used to assume that the +vunits for horizontal CRSs was the same as the +units. But this is no longer the case. Is this expected behavior, or a regression?
The only related PR or issue I found was #1731.
Environment Information
- Docker versions
osgeo/proj:6.2.1andosgeo/proj:6.3.0
Installation method
- Docker
Metadata
Metadata
Assignees
Labels
No labels