-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
The orthographic projection causes a non-neglectable error when converting geodetic to ENU coordinates.
The current projection should be replaced by a topocentric projection, i.e.,
char enu_proj[250];
sprintf(enu_proj, "+proj=topocentric +ellps=WGS84 +lon_0=%.15f +lat_0=%.15f +h_0=%.15f", lon, lat, alt);
spatial_ref->importFromProj4(enu_proj);
See https://proj.org/operations/conversions/topocentric.html
Unfortunately, this is only available with PROJ4 >= 8.0.0 which is only available with Ubuntu 22.04.
For now one can use the deprecated geodetic_utils for example, but should correct the bug #36
Metadata
Metadata
Assignees
Labels
No labels