InnerDrive.Geography
5.3.1263
dotnet add package InnerDrive.Geography --version 5.3.1263
NuGet\Install-Package InnerDrive.Geography -Version 5.3.1263
<PackageReference Include="InnerDrive.Geography" Version="5.3.1263" />
<PackageVersion Include="InnerDrive.Geography" Version="5.3.1263" />
<PackageReference Include="InnerDrive.Geography" />
paket add InnerDrive.Geography --version 5.3.1263
#r "nuget: InnerDrive.Geography, 5.3.1263"
#:package InnerDrive.Geography@5.3.1263
#addin nuget:?package=InnerDrive.Geography&version=5.3.1263
#tool nuget:?package=InnerDrive.Geography&version=5.3.1263
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.1263)
- InnerDrive.Quantitative (>= 5.3.1263)
- InnerDrive.TimeZones (>= 5.3.1263)
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.1263 | 332 | 11/21/2025 |
| 5.2.1247.1 | 181 | 10/12/2025 |
| 5.2.1235.1 | 162 | 10/5/2025 |
| 5.2.1076.1 | 339 | 2/14/2025 |
| 5.2.989.1 | 262 | 11/2/2024 |
| 5.2.938.1 | 231 | 9/7/2024 |
| 5.1.926.1 | 167 | 9/2/2024 |
| 5.1.871.1 | 238 | 6/6/2024 |
| 5.1.854.1 | 174 | 5/21/2024 |
| 5.1.844.1 | 172 | 3/27/2024 |
| 5.0.826.1 | 273 | 1/6/2024 |
| 5.0.816.1 | 197 | 12/24/2023 |
| 5.0.801.1 | 206 | 11/26/2023 |
| 5.0.777.1 | 207 | 9/28/2023 |
| 5.0.754.1 | 246 | 8/5/2023 |
| 5.0.746.1 | 227 | 7/15/2023 |
| 5.0.706.1 | 260 | 4/15/2023 |
| 5.0.693.1 | 431 | 3/22/2023 |
| 4.2.646.1 | 543 | 6/23/2022 |
| 4.2.628.1 | 547 | 6/1/2022 |
| 4.2.622.1 | 544 | 5/24/2022 |
| 4.2.619.1 | 527 | 5/18/2022 |
| 4.2.617.1 | 538 | 5/17/2022 |
| 4.2.586.1 | 634 | 3/27/2022 |
| 4.1.387.1 | 550 | 4/17/2021 |
| 4.0.234.1 | 570 | 11/12/2020 |
| 4.0.115.1 | 766 | 1/7/2020 |
| 4.0.114.1 | 754 | 1/6/2020 |
| 4.0.110.1 | 835 | 1/1/2020 |
| 4.0.101.1 | 710 | 7/1/2019 |
| 4.0.87.1 | 722 | 6/20/2019 |
| 4.0.83.1 | 709 | 6/18/2019 |
| 4.0.76.1 | 712 | 6/13/2019 |
| 4.0.66 | 793 | 5/15/2019 |
Updated to .NET 10; minor code-quality improvements