Skip to content

BoundingCoordinates and DistanceTo creates different results #2

Description

@ToFi79

Hi,

when I create Min Max array of coordinates within a specific distance range e.g. 2km (BoundingCoordinates() and afterwards check the result locations with DistanceTo there is a Distance of 2.8km...

        var loc = GeoLocation.FromDegrees(lat, lon);
        var box = loc.BoundingCoordinates(2.0); // Range 2.0km
        var dist11 = loc.DistanceTo(box[0]); // Result ~2.8km
        var dist21 = loc.DistanceTo(box[1]); // Result ~2.8km

Whats the reason for this ?

Best regards,
Torsten

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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