VOOZH about

URL: https://www.nuget.org/packages/InnerDrive.Geography/

⇱ NuGet Gallery | InnerDrive.Geography 5.3.1498




👁 Image
InnerDrive.Geography 5.3.1498

dotnet add package InnerDrive.Geography --version 5.3.1498
 
 
NuGet\Install-Package InnerDrive.Geography -Version 5.3.1498
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="InnerDrive.Geography" Version="5.3.1498" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="InnerDrive.Geography" Version="5.3.1498" />
 
Directory.Packages.props
<PackageReference Include="InnerDrive.Geography" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add InnerDrive.Geography --version 5.3.1498
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: InnerDrive.Geography, 5.3.1498"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package InnerDrive.Geography@5.3.1498
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=InnerDrive.Geography&version=5.3.1498
 
Install as a Cake Addin
#tool nuget:?package=InnerDrive.Geography&version=5.3.1498
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Inner Drive Extensible Architeture

The Inner Drive Extensible Architecture implements common .NET development situations including time zones, money, measurements and conversions, and Microsoft Azure features.

InnerDrive.Geography

Features

  • Includes fundamental geography concepts as first-class structures
  • Simple methods for calculating distance and direction between geographical points
  • Astronomy classes to predict sun and moon events

Prerequisites

This package runs on .NET 10. It depends on these packages:

Usage

Find the distance and bearing between two points:

// 40°42'47"N 74°00'47"W, 11.0 m
var origin = new Node(
	new Latitude(40d, 42d, 47d),
	new Longitude(-74d, 0d, 47d),
	11d.Meters()
);
// 41°52'44"N 87°38'09"W, 181.0 m 
var destination = new Node(
	new Latitude(41d, 52d, 44d),
	new Longitude(-87d, 38d, 9d),
	181d.Meters()
);
var distance = origin.Distance(destination);
var bearing = origin.Bearing(destination);

// Google Earth says 1,147,086 m
var refDistance = 1147068d.Meters();
var accuracy = distance.Accuracy; // Distance is about 99.5% accurate over longer ranges because the calculation assumes a spherical earth

Trace.WriteLine($"From {origin} to {destination} is {distance.ToString("0,0.000", MetricExponent.Kilo)}");
Trace.WriteLine($"(accuracy {accuracy.ToString("0.000", MetricExponent.Kilo)}; reference distance {refDistance.ToString("0,0.0", MetricExponent.Kilo, CultureInfo.InvariantCulture)})");

Output > From 40.71305°N, 74.01305°W, 11 m to 41.87889°N, 87.63583°W, 181 m is 1,143.566 km at 280.97528° 
(accuracy 5.718 km; reference distance 1,147.1 km)

The Inner Drive Technology website has a full SDK and example code. We also have a demo weather site that uses all the IDEA components.

Feedback

Comments or questions?

Product Versions Compatible and additional computed target framework versions.
.NET net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.3.1498 0 6/18/2026
5.3.1495 63 6/17/2026
5.3.1263 591 11/21/2025
5.2.1247.1 234 10/12/2025
5.2.1235.1 202 10/5/2025
5.2.1076.1 395 2/14/2025
5.2.989.1 309 11/2/2024
5.2.938.1 274 9/7/2024
5.1.926.1 216 9/2/2024
5.1.871.1 287 6/6/2024
5.1.854.1 229 5/21/2024
5.1.844.1 225 3/27/2024
5.0.826.1 326 1/6/2024
5.0.816.1 247 12/24/2023
5.0.801.1 259 11/26/2023
5.0.777.1 252 9/28/2023
Loading failed

Sun and Moon ObservationDate now set to local time after calculation