Skip to content

Move call to st_transform to transform #2731

Closed as not planned
Closed as not planned
@thomasp85

Description

@thomasp85

The current implementation of CoordSf has the crs transformation implemented in the setup_data() method. This is, in my view the wrong place to have it and a departure from the other Coord where coordinate transformations happens at the very end inside the Geom$draw_*() method using Coord$transform().

Rather than just being a little inconsistency, it has implications for gganimate and how it might let an animation change crs parameters during an animation.

If this is a change you'd accept I'd be happy to make a PR

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions