Columbae 2.0.0-preview

This is a prerelease version of Columbae.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Columbae --version 2.0.0-preview                
NuGet\Install-Package Columbae -Version 2.0.0-preview                
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="Columbae" Version="2.0.0-preview" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Columbae --version 2.0.0-preview                
#r "nuget: Columbae, 2.0.0-preview"                
#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 Columbae as a Cake Addin
#addin nuget:?package=Columbae&version=2.0.0-preview&prerelease

// Install Columbae as a Cake Tool
#tool nuget:?package=Columbae&version=2.0.0-preview&prerelease                

Columbae

A geo library, based on Polylines, for dotnet core

Polylines

The polylines concept is designed by google: https://developers.google.com/maps/documentation/utilities/polylinealgorithm

Documentation

Encoding & decoding

Encoding multiple points

Encoding polyline can be done, just by executing the ToString() method overload.

var points = new List<Polypoint> {
    new Polypoint(latitude: 41.86231, longitude: -87.63804),
    new Polypoint(latitude: 41.87458, longitude: -87.63460),
};
var polyline = new Polyline(points);

Console.WriteLine(polyline.ToString()); // mfo~Fvx{uOukAoT

Decoding a polyline string to Points

Decoding a polyline can be done, just by passing the poly line string to the constructor.

var polylineString = "mfo~Fvx{uOukAoT";
var polyline = new Polyline(polylineString);

foreach(var point in polyline.Points)
{
    Console.WriteLine(point);
}

Origin

Credits

The actual parsing logic is based on the repo of Polyliner.NET by sglogowski.

Name

Named after the fast moving star Mu Columbae, which is a Runaway star. A runaway star is one that is moving through space with an abnormally high velocity relative to the surrounding interstellar medium. The proper motion of a runaway star often points exactly away from a stellar association, of which the star was formerly a member, before it was hurled out.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Columbae:

Package Downloads
Columbae.GeoJson

Geo library

AeroBlazor

A blazor library, extending MudBlazor

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.3.0 1,711 4/7/2021
2.2.0 464 11/16/2020
2.1.0 592 10/29/2020
2.0.1 470 10/29/2020
2.0.0 427 10/28/2020
2.0.0-preview 297 10/28/2020
1.1.1-preview 372 10/26/2020
1.1.0 563 10/26/2020
1.0.0 507 10/7/2020