Skip to content

Azimuthal Equidistant spherical not as accurate as ellipsoidal #1654

@PositiveArrow

Description

@PositiveArrow

Tested on Proj 6.2.0.

echo -120.234501 30.234501 0 | ./src/.libs/proj +proj=aeqd +a=6371008.771415 +b=6371008.771415 +lat_0=30.2345 +lon_0=-120.2345
0.00 0.00 0
echo -120.234501 30.234501 0 | ./src/.libs/proj +proj=aeqd +a=6371008.771415 +b=6371008.7714149 +lat_0=30.2345 +lon_0=-120.2345
-0.10 0.11 0

In the first command we have a==b which seems to go through the spherical support in aeqd.cpp. In the second command, b is an epsilon smaller which triggers the ellipsoidal code path.

I would expect the first command to return something similar to the second one.

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