For my internship research I am trying to compare the surfacearea and length of geometric shapes and lines in one coordinate system to another. I have a SpatialPolygonDataFrame in the European equal area projection ETRS-LAEA and I have a function that can calculate the surfacearea and the length of all polygons. I can transform it to another projection and calculate the surfaceareas and the lengths of all polygons in that projection.
My next step would be to calculate the surfacearea and the length of the polygons in ETRS89(x,y,z). Since this is a 3D projection the functions I am using for the 2D projections are not working. Are there functions for 3D projections? I can not find them online.
I am hoping there has been some smart guy with a similar problem and already fixed it. I am expecting this is not the case and that it is (for me) impossible in R.