InnerDrive.Geography
5.3.1519
dotnet add package InnerDrive.Geography --version 5.3.1519
NuGet\Install-Package InnerDrive.Geography -Version 5.3.1519
<PackageReference Include="InnerDrive.Geography" Version="5.3.1519" />
<PackageVersion Include="InnerDrive.Geography" Version="5.3.1519" />
<PackageReference Include="InnerDrive.Geography" />
paket add InnerDrive.Geography --version 5.3.1519
#r "nuget: InnerDrive.Geography, 5.3.1519"
#:package InnerDrive.Geography@5.3.1519
#addin nuget:?package=InnerDrive.Geography&version=5.3.1519
#tool nuget:?package=InnerDrive.Geography&version=5.3.1519
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? Send feedback
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- InnerDrive.Core (>= 5.3.1519)
- InnerDrive.Quantitative (>= 5.3.1519)
- InnerDrive.TimeZones (>= 5.3.1519)
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.1519 | 80 | 7/1/2026 |
| 5.3.1508 | 97 | 6/25/2026 |
| 5.3.1498 | 104 | 6/18/2026 |
| 5.3.1495 | 103 | 6/17/2026 |
| 5.3.1263 | 609 | 11/21/2025 |
| 5.2.1247.1 | 237 | 10/12/2025 |
| 5.2.1235.1 | 208 | 10/5/2025 |
| 5.2.1076.1 | 401 | 2/14/2025 |
| 5.2.989.1 | 314 | 11/2/2024 |
| 5.2.938.1 | 280 | 9/7/2024 |
| 5.1.926.1 | 223 | 9/2/2024 |
| 5.1.871.1 | 293 | 6/6/2024 |
| 5.1.854.1 | 235 | 5/21/2024 |
| 5.1.844.1 | 230 | 3/27/2024 |
| 5.0.826.1 | 331 | 1/6/2024 |
| 5.0.816.1 | 251 | 12/24/2023 |
No changes since previous version