Hi @jamesc
Welcome to the Orekit forum!
You can follow the following steps:
- Create the Earth model
OneAxisEllipsoid earth = new OneAxisEllipsoid(Constants.WGS84_EARTH_EQUATORIAL_RADIUS, Constants.WGS84_EARTH_FLATTENING, FramesFactory.getITRF(IERSConventions.IERS_2010, false));
- Giving a
CartesianOrbit
nammedorbit
, transform it to aGeodeticPoint
using the Earh model
GeodeticPoint point = earth.transform(orbit.getPosition(), orbit.getFrame(), orbit.getDate());
- Get the lat/lon/alt values
double lat = point.getLatitude();
double lon = point.getLongitude();
double alt = point.getAltitude();
Best regards,
Bryan