GeoLibrary 1.1.0

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

// Install GeoLibrary as a Cake Tool
#tool nuget:?package=GeoLibrary&version=1.1.0                

Geo.Library - a 2D geospatial library for .NET

Build Status

Geo 2D library to read/write to wkt/wkb/geojson and do intersection, union, difference etc calculation. Support point, mulitpoint, polygon, multipolygon.

Nuget

Install-Package GeoLibrary -Version 1.1.0

Support Geometry Types

  • Point
  • MultiPoint
  • LineString
  • Polygon
  • MultiPolygon

Features

  • WKT Support
    • Read from WKT string
    • Write to WKT string
  • GeoJson Support
    • Read from GeoJson string
    • Write to GeoJson string
  • WKB Support
    • Read from WKB hex string
    • Write to WKB hex string
  • Geometry Operations
    • Intersection Check
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint
      • Point & Polygon (Whether a point is inside a polygon)
      • MultiPoint & Polygon (Whether any point is inside a polygon)
    • Intersects
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint
    • Union
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint
  • Point Special Functions
    • IsBetweenLinear: check whether point lies between two points
    • DistanceTo: calculate Euclidean distance to another point
    • HaversineDistanceTo: calculate Haversine distance to another point
  • Polygon Special Functions
    • IsPointInside: check whether a point is inside a polygon
    • CalculateCentroid: calculate centroid of the polygon
    • Area: get the area of the polygon

Usage

string wkt = "POINT (10 20)";
var point = Geometry.FromWkt(wkt);
var pointWkt = point.ToWkt();

string geoJson = "{\"type\": \"LineString\", \"coordinates\": [[30, 10], [10, 30], [40, 40]] }"
var lineString = Geometry.FromGeoJson(geoJson);
var lineStringGeoJson = lineString.ToGeoJson();
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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on GeoLibrary:

Package Downloads
VegaIntegracao

SDK de integração com as API's da Vega Monitoramento

Wappa.GraphQL.Types

Adds GeoPoint scalar type.

HotChocolate.Types.GeoLibrary

Simple extension to the original HotChocolate Type system to include Point and Polygon types from GeoLibrary.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.0 30,611 8/15/2023
1.2.1 80,262 4/18/2022
1.2.0 41,636 2/6/2022
1.1.0 97,491 4/27/2020
1.0.2 6,366 1/7/2020
1.0.1 9,031 10/3/2019
1.0.0 2,897 7/23/2019
0.5.1 4,463 5/20/2019
0.5.0 647 5/17/2019
0.4.1 643 4/3/2019
0.4.0 595 3/26/2019
0.3.0 636 3/6/2019
0.2.0 732 12/18/2018
0.1.1 749 12/11/2018
0.1.0 729 12/4/2018