Skip to content

RotatedPole declared with ellispoid, but projection still is spherical #2644

@aulemahal

Description

@aulemahal

Stemming from findings I made after the change of PROJ 9.8 (see issue #2634), I realized that the default Globe for RotatedPole is incorrect, or at least misleading. See discussion in OSGeo/PROJ#4714.

In crs.py, if no globe argument is passed to the RotatedPole constructor, it defaults to this:

globe = globe or Globe(semimajor_axis=WGS84_SEMIMAJOR_AXIS)

And the default globe uses ellipse='WGS84'. However, as confirmed by a maintainer of PROJ the ob_tran projection is always spherical, no matter what +ellps arg is given. Thus, we have a potentially confusing definition.

If possible, I would suggest that the default globe be spherical. For example, the line above could be changed to:

globe = globe or Globe(ellipse='sphere', semimajor_axis=WGS84_SEMIMAJOR_AXIS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions