Skip to content

How to convert verticalWKID WGS84 height (wkid: 4326, verticalWkid: 115700) to DHHN2016 (wkid 4258, verticalWkid: 7837) #2

Answered by bosborn
ecr334 asked this question in Q&A
Discussion options

You must be logged in to vote

Similar to this answer, but with simple features.

    SFPGeometryTransform *transform = [SFPGeometryTransform transformFromEpsg:4326 andToEpsg:4258];
    
    SFPoint *point = [[SFPoint alloc] initWithXValue:13.403729270903389 andYValue:52.51064626078732];
    SFPoint *transformedPoint = [transform transformPoint:point];
    
    SFPoint *point3d = [[SFPoint alloc] initWithXValue:13.403729270903389 andYValue:52.51064626078732 andZValue:100.0];
    SFPoint *transformedPoint3d = [transform transformPoint:point3d];

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bosborn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants