Hello everyone, please tell me why the transformation of z coordinates does not work x and y values changes, but z coordinate not change, I need the z coordinate to change according to the specified height of the vertical spatial reference, maybe I'm using the wrong tool for this?
an example of the code that I use:
let point1 = AGSPointMake3D(48.8589505, 2.2768487, 698.458, 0, .wgs84()
let transform1 = AGSGeometryEngine.projectGeometry(point1 as AGSGeometry, to: translate.inputSpatialReference)
let transform2 = AGSGeometryEngine.projectGeometry(point1 as AGSGeometry, to: translate.outputSpatialReference)
let transform3 = AGSGeometryEngine.projectGeometry(point1 as AGSGeometry, to: dhhn)
let transform4 = AGSGeometryEngine.projectGeometry(point1 as AGSGeometry, to: .webMercator())
print in concole:
Optional(AGSPoint: (48.858930, 2.276841, 698.458000, 0.000000), sr: 4269)
Optional(AGSPoint: (48.858951, 2.276849, 698.458000, 0.000000), sr: 4152)
Optional(AGSPoint: (48.858951, 2.276849, 698.458000, 0.000000), sr: 4258)
Optional(AGSPoint: (5438953.490354, 253524.372136, 698.458000, 0.000000), sr: 3857)