<div dir="ltr"><div><br></div>When transforming positions with DHHN92 (EPSG:5783) height data, to Bessel based projections are returned.<div>For my area (Berlin, Germany) the lowest height is just over 24 meters.</div><div>Transformations using 34.79 all return  -6.13930772151798 when using ST_Transform, which performs a pj_transform in the background.</div><div>Using -6.13930772151798 to transform back will return the original value.</div><div><br></div><div>Between WSG84 and epsg:25833 there are no problems.</div><div><br></div><div>I would be interested in learning the reason why this is so.</div><div><br></div><div>Here some cs2cs samples with the results:<br><div><br></div><div><div>ETRS89 / UTM zone 33N [epsg:25833]</div><div># +proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs</div><div><br></div><div># DHDN / Soldner Berlin<br></div><div># +proj=cass +lat_0=52.41864827777778 +lon_0=13.62720366666667 +x_0=40000 +y_0=10000 +ellps=bessel +towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7 +units=m +no_defs</div><div>echo &quot;389918.0707613 5819698.6197819 34.7900000&quot;  | cs2cs +init=epsg:25833 +to +init=epsg:3068</div><div>23183.38<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>21047.17 -6.14</div><div>echo 23183.38 21047.17 -6.139 | cs2cs +init=epsg:3068 +to +init=epsg:25833</div><div>389918.07<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>5819698.62 34.79</div><div><br></div><div># DHDN</div><div># +proj=longlat +ellps=bessel +towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7 +no_defs</div><div>echo &quot;389918.0707613 5819698.6197819 34.7900000&quot;  | cs2cs +init=epsg:25833 +to +init=epsg:4314</div><div>13d22&#39;45.996&quot;E<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>52d31&#39;3.638&quot;N -6.139</div><div>echo 13.37770460000026 52.51627039998215 -6.139 | cs2cs +init=epsg:4314 +to +init=epsg:25833</div><div>389796.59<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>5819544.81 34.80</div><div><br></div><div># DHDN / 3-degree Gauss-Kruger zone 4</div><div># +proj=tmerc +lat_0=0 +lon_0=12 +k=1 +x_0=4500000 +y_0=0 +ellps=bessel +towgs84=598.1,73.7,418.2,0.202,0.045,-2.455,6.7 +units=m +no_defs</div><div>echo &quot;389918.0707613 5819698.6197819 34.7900000&quot;  | cs2cs +init=epsg:25833 +to +init=epsg:31468</div><div>4593626.95<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>5821241.65 -6.14</div><div>echo &quot;4593626.95 5821241.65 -6.14&quot;  | cs2cs +init=epsg:31468 +to +init=epsg:25833</div><div>389918.07<span class="gmail-Apple-tab-span" style="white-space:pre">        </span>5819698.62 34.79</div></div></div><div><br></div><div>Mark Johnson, Berlin Germany</div></div>