GeoLibrary 0.3.0

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

There is a newer version of this package available.
See the version list below for details.
Install-Package GeoLibrary -Version 0.3.0
dotnet add package GeoLibrary --version 0.3.0
<PackageReference Include="GeoLibrary" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GeoLibrary --version 0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

Build Status

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

Nuget

Install-Package GeoLibrary -Version 0.3.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
  • Geometry Operations
    • Intersection Check
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint
    • Intersects
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint
    • Union
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint

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();

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

Build Status

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

Nuget

Install-Package GeoLibrary -Version 0.3.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
  • Geometry Operations
    • Intersection Check
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint
    • Intersects
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint
    • Union
      • Point & Point
      • Point & MultiPoint
      • MultiPoint & MultiPoint

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();

NuGet packages (2)

Showing the top 2 NuGet packages that depend on GeoLibrary:

Package Downloads
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 History

Version Downloads Last updated
1.1.0 812 4/27/2020
1.0.2 2,069 1/7/2020
1.0.1 5,259 10/3/2019
1.0.0 1,991 7/23/2019
0.5.1 3,210 5/20/2019
0.5.0 178 5/17/2019
0.4.1 204 4/3/2019
0.4.0 195 3/26/2019
0.3.0 205 3/6/2019
0.2.0 244 12/18/2018
0.1.1 262 12/11/2018
0.1.0 218 12/4/2018
Show less