Skip to content

archaeo plugin: include distance to geographic locations #4903

Description

@axd1967

Is your feature request related to a problem? Please describe.
After musings in #796 (comment) I'd like to know how far my current location is from the 2 stored locations.

Describe the solution you'd like
Append the range (in km and/or degrees) to the location line label
using one (or even both) of

//! Compute great-circle distance from other location.
//! arguments given in decimal degrees
float distanceDegrees(const float otherLong, const float otherLat) const {return distanceDegrees(longitude, latitude, otherLong, otherLat);}
//! Compute great-circle distance from other location.
//! arguments given in decimal degrees
double distanceKm(const double otherLong, const double otherLat) const;

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprove existing functionalityimportance: lowSmall problem, rarely visible, no crashsubsystem: pluginsThe issue is related to plugins of planetarium...

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions