Geodesy 4.1.0

.NET 5.0 .NET Standard 2.0 .NET Framework 4.5
dotnet add package Geodesy --version 4.1.0
NuGet\Install-Package Geodesy -Version 4.1.0
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="Geodesy" Version="4.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Geodesy --version 4.1.0
#r "nuget: Geodesy, 4.1.0"
#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.
// Install Geodesy as a Cake Addin
#addin nuget:?package=Geodesy&version=4.1.0

// Install Geodesy as a Cake Tool
#tool nuget:?package=Geodesy&version=4.1.0

This is a C# class library containing some very basic geodesic algorithms.
It is based on work by Mike Gavaghan and has been enhanced by me to cover
also some variants of Mercators projection of the earth to flat maps. I cover
Spherical and Elliptical Mercator projections, mapping the earth to a single
flat map. I also handle the Universal Transverse Mercator (UTM) projection,
dividing the earth into smaller grids which are then each mapped to a flat map.
Finally - based on UTM - I implement an algorithm to put a finer grain mesh
over the mapped area of the earth to be able to classify a geo-location by a
discrete globally unique mesh number. This is done in order to facilitacte the
application of some discrete algorithms - especially in the area of
machine learning - on geo locations.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Geodesy:

Package Downloads

Mavlink library for .NET 6.0, .NET 7.0 for vehicle control Px4, Ardupilot


GNSS library for parsing RTCMv2, RTCMv3, NMEA and control recievers througt SBF, ComNav, UBX protocols for .NET


Predict ETA of vehicles as they travel to stops on routes that generally repeat. Suitable for busses/shuttles on campuses, at airports, etc... Provide the location of known stops, along with live (or historical) GPS data from vehicles, and the model will provide a table of ETAs for each stop. The model is intended to be very lightweight in terms of compute, eschewing processing heavy AI for a simple statistical approach based on historical ETA based on current vehicle location. It also takes into account current speeds compared to historical speeds so that things like traffic are (naively) taken into account. Data older than 5 days is automatically purged so the model does not consume mode and more memory over time.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.1.0 99,473 12/21/2020
2.0.5 36,485 1/4/2018
1.0.17 4,118 1/20/2017
1.0.14 1,151 9/4/2016
1.0.12 1,316 7/1/2015
1.0.11 1,009 7/1/2015
1.0.10 1,010 6/27/2015
1.0.9 1,000 6/26/2015
1.0.8 1,026 6/26/2015
1.0.7 1,012 6/26/2015
1.0.6 1,062 6/26/2015

- Version 2 drops PCL builds in favour of .NET standard
- Version 3 switches to .NET Standard multi-target build
- Version 4 builds also for net5.0
- Version 4.1 fixes a bug for mesh calculations on the southern hemisphere.