Skip to content

Use a rotation instead of a translation to "center" the structure #2

@Beakerboy

Description

@Beakerboy

Currently, the first node of the way is moved to 0,0 by subtracting it's values from the lat/lon of every other point.
It is perfectly cromulent to change the longitude this way, but the latitude should be modified with a true rotation.

this is because at higher latitude, the arclength of each degree longitude is smaller.

First "rotate" the data to move the home point into the prime meridian.
Then use trig to move each point towards the equator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions