GeoLibrary 1.3.0

dotnet add package GeoLibrary --version 1.3.0                
NuGet\Install-Package GeoLibrary -Version 1.3.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.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GeoLibrary --version 1.3.0                
#r "nuget: GeoLibrary, 1.3.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.3.0

// Install GeoLibrary as a Cake Tool
#tool nuget:?package=GeoLibrary&version=1.3.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

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 is compatible. 
.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.
  • .NETStandard 2.1

    • 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 34,744 8/15/2023
1.2.1 83,603 4/18/2022
1.2.0 44,130 2/6/2022
1.1.0 99,436 4/27/2020
1.0.2 6,439 1/7/2020
1.0.1 9,061 10/3/2019
1.0.0 3,007 7/23/2019
0.5.1 4,473 5/20/2019
0.5.0 655 5/17/2019
0.4.1 651 4/3/2019
0.4.0 602 3/26/2019
0.3.0 644 3/6/2019
0.2.0 741 12/18/2018
0.1.1 758 12/11/2018
0.1.0 741 12/4/2018