All Projects → GeoJSON-Net → GeoJSON.Net.Contrib

GeoJSON-Net / GeoJSON.Net.Contrib

Licence: MIT license
Repository for all GeoJSON.Net *.Contrib projects

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to GeoJSON.Net.Contrib

geojson
GeoJSON classes for R
Stars: ✭ 32 (+3.23%)
Mutual labels:  geojson, spatial
de9im
DE-9IM spatial predicate library implemented in Javascript.
Stars: ✭ 22 (-29.03%)
Mutual labels:  geojson, spatial
Koop
🔮 Transform, query, and download geospatial data on the web.
Stars: ✭ 505 (+1529.03%)
Mutual labels:  geojson, spatial
geofiddle
Geometric conversions between different formats and projections
Stars: ✭ 15 (-51.61%)
Mutual labels:  geojson, conversion
Wellknown
WKT <-> GeoJSON
Stars: ✭ 15 (-51.61%)
Mutual labels:  geojson, spatial
GeoJSON4EntityFramework
Create GeoJSON from Entity Framework Spatial Data or WKT
Stars: ✭ 18 (-41.94%)
Mutual labels:  geojson, spatial
leaflet-examples
🍁 A collection of examples of leaflet map usage
Stars: ✭ 90 (+190.32%)
Mutual labels:  geojson
ksqlDB.RestApi.Client-DotNet
ksqlDb.RestApi.Client is a C# LINQ-enabled client API for issuing and consuming ksqlDB push queries and executing statements. SqlServer.Connector is a client API for consuming row-level table changes (CDC - Change Data Capture) from Sql Server databases with the Debezium connector streaming platform.
Stars: ✭ 44 (+41.94%)
Mutual labels:  sql-server
skynet-scrub-server
Backing store for developmentseed/skynet-scrub
Stars: ✭ 13 (-58.06%)
Mutual labels:  geojson
GraphQL.RepoDB
A set of extensions for working with HotChocolate GraphQL and Database access with micro-orms such as RepoDb (or Dapper). This extension pack provides access to key elements such as Selections/Projections, Sort arguments, & Paging arguments in a significantly simplified facade so this logic can be leveraged in the Serivces/Repositories that enca…
Stars: ✭ 25 (-19.35%)
Mutual labels:  sql-server
sync-client
SyncProxy javascript client with support for all major embedded databases (IndexedDB, SQLite, WebSQL, LokiJS...)
Stars: ✭ 30 (-3.23%)
Mutual labels:  sql-server
SimpleSqlExec
Lightweight command-line utility to execute queries on SQL Server in place of SQLCMD
Stars: ✭ 20 (-35.48%)
Mutual labels:  sql-server
laravel-eloquent-spatial
Laravel Eloquent spatial package.
Stars: ✭ 90 (+190.32%)
Mutual labels:  spatial
myTickle
📅 A PowerShell and SQL Server-based reminder system
Stars: ✭ 20 (-35.48%)
Mutual labels:  sql-server
AudioConverter
Audio Conversion CLI
Stars: ✭ 17 (-45.16%)
Mutual labels:  conversion
pygeoif
Basic implementation of the __geo_interface__
Stars: ✭ 44 (+41.94%)
Mutual labels:  geojson
bcpandas
High-level wrapper around BCP for high performance data transfers between pandas and SQL Server. No knowledge of BCP required!!
Stars: ✭ 69 (+122.58%)
Mutual labels:  sql-server
delaunator-rs
Fast 2D Delaunay triangulation in Rust. A port of Delaunator.
Stars: ✭ 115 (+270.97%)
Mutual labels:  spatial
SqlServer.Rules
SQL Server static code analysis rules for SSDT database projects
Stars: ✭ 20 (-35.48%)
Mutual labels:  sql-server
fastnumbers
Super-fast and clean conversions to numbers.
Stars: ✭ 85 (+174.19%)
Mutual labels:  conversion

NuGet Version NuGet Version NuGet Version Build status

GeoJSON.Net.Contrib

Repository for all GeoJSON.Net *.Contrib projects

GeoJSON.Net.Contrib.MsSqlSpatial

Allows conversion from / to Microsoft Sql Server geometry and geography data types.

NuGet package: Install-Package GeoJSON.Net.Contrib.MsSqlSpatial

Conversion examples:

using GeoJSON.Net.Geometry;
using Microsoft.SqlServer.Types;
using GeoJSON.Net.Contrib.MsSqlSpatial;

// SqlGeometry sample point
SqlGeometry simplePoint = SqlGeometry.Point(1, 47, 4326);

// SqlGeometry -> GeoJSON example
Point point = simplePoint.ToGeoJSONObject<Point>();

// GeoJSON -> SqlGeometry example
SqlGeometry sqlPoint = point.ToSqlGeometry(4326);

WKT conversion examples:

using GeoJSON.Net.Contrib.MsSqlSpatial;
using GeoJSON.Net.Geometry;

// LineString from WKT
LineString lineString = WktConvert.GeoJSONObject<LineString>("LINESTRING(1 47,1 46,0 46,0 47,1 47)");

// LineString IGeometryObject from WKT
IGeometryObject lineStringGeom = WktConvert.GeoJSONGeometry("LINESTRING(1 47,1 46,0 46,0 47,1 47)");

GeoJSON.Net.Contrib.EntityFramework

Allows conversion from / to EntityFramework geometry and geography data types.

NuGet package: Install-Package GeoJSON.Net.Contrib.EntityFramework

Conversion examples:

using GeoJSON.Net.Geometry;
using GeoJSON.Net.Contrib.EntityFramework;

// DbGeography sample point
var dbGeographyPoint = DbGeography.FromText("POINT(30 10)", 4326);

// DbGeography -> GeoJSON example
Point point = dbGeographyPoint.ToGeoJSONObject<Point>();

// GeoJSON -> DbGeography example
DbGeography dbGeographyPoint = point.ToDbGeography();

GeoJSON.Net.Contrib.Wkb

Allows conversion from / to Wkb binary types. Only X,Y,Z coordinates are supported, attempting to convert a geometry with M coordinates will throw an Exception.

NuGet package: Install-Package GeoJSON.Net.Contrib.Wkb

Conversion examples:

using GeoJSON.Net.Geometry;
using GeoJSON.Net.Contrib.Wkb;

// GeoJson sample point
Point point = new Point(new Position(53.2455662, 90.65464646));

// GeoJson -> Wkb example
byte[] wkbPoint = point.ToWkb();

// Wkb -> GeoJson example
Point pointFromWkb = wkbPoint.ToGeoJSONObject<Point>();

Contribution Guide

Development Environment

Build, test and package the solution

Use shell of your choice (cmd.exe, powershell.exe, pwsh, bash, etc) to run the following commands:

# verify .NET SDK
dotnet --info
# => .NET Core SDK (reflecting any global.json):
# => Version: 3.1.301
# => ...

# download repository
cd <development-directory-root>
git clone https://github.com/GeoJSON-Net/GeoJSON.Net.Contrib.git
cd GeoJSON.Net.Contrib

# build ("Debug" configuration)
dotnet build src/GeoJSON.Net.Contrib.sln

# test ("Debug" configuration)
dotnet test src/GeoJSON.Net.Contrib.sln

# package ("Release" configuration)
git clean -dfx
dotnet pack --configuration Release src/GeoJSON.Net.Contrib.sln

# push all projects to NuGet server (requires "package" step above to be run first)
# note: in addition to ".nupkg", the command below will automatically
# detect ".snupkg" symbol package and push both ".nupkg" and ".snupkg"
# to the specified NuGet server; for more information see
# https://docs.microsoft.com/en-us/nuget/create-packages/symbol-packages-snupkg
dotnet nuget push **/*.nupkg --api-key SECRET --source https://api.nuget.org/v3/index.json
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].