Your title implies GPS-coordinates which means you are probably best converting to core location.
Not sure what the "coordinate as SCNNode" represents in your case as not enough information was given. But you should be able to convert it to CLLocationCoordinate2D
. For instance if in your case (0,0,0)
is the center of sphere/earth then you are simply looking for a transition between cartesian and polar coordinate systems. Check this answer for instance.
Once you have your location you can use it with some of the answers already provided in other posts such as this one. You will receive a new CLLocationCoordinate2D
which you then need to convert back to "coordinate as SCNNode".