cs-geo-tools
1.0.2
dotnet add package cs-geo-tools --version 1.0.2
NuGet\Install-Package cs-geo-tools -Version 1.0.2
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="cs-geo-tools" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add cs-geo-tools --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: cs-geo-tools, 1.0.2"
#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 cs-geo-tools as a Cake Addin #addin nuget:?package=cs-geo-tools&version=1.0.2 // Install cs-geo-tools as a Cake Tool #tool nuget:?package=cs-geo-tools&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
cs-geo-tools
.NET toolkit that provides the utility functions for performing various tasks such as geocoding, reverse coding, country code translation, geo distance calculation, etc.
Install
Install-Package cs-geo-tools
Usage
using System;
namespace GeoTools
{
class Program
{
public static void Main(string[] args)
{
Console.WriteLine(CountryCodeManager.Instance.GetCountryNameByCode("us"));
string address = "NTU, Singapore";
double lat, lng;
GeoTool.FindLatLngByAddress(address, out lat, out lng);
Console.WriteLine("{0} is at ({1}, {2})", address, lat, lng);
string address2 = "NUS, Singapore";
double lat2, lng2;
GeoTool.FindLatLngByAddress(address2, out lat2, out lng2);
Console.WriteLine("{0} is at ({1}, {2})", address2, lat2, lng2);
Console.WriteLine("{0} is {1} away from {2}", address, GeoTool.GetDistance_km(lat, lng, lat2, lng2), address2);
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
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 |
---|---|---|
1.0.2 | 1,374 | 4/30/2018 |
.NET toolkit that provides the utility functions for performing various tasks such as geocoding, reverse coding, country code translation, geo distance calculation, etc.