Skip to content

[geotf] ENU frame projection error #53

@rikba

Description

@rikba

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions