NetGeo.System.Text.Json 2023.3.157.13

Suggested Alternatives

NetGeo.Json

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package NetGeo.System.Text.Json --version 2023.3.157.13
NuGet\Install-Package NetGeo.System.Text.Json -Version 2023.3.157.13
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="NetGeo.System.Text.Json" Version="2023.3.157.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NetGeo.System.Text.Json --version 2023.3.157.13
#r "nuget: NetGeo.System.Text.Json, 2023.3.157.13"
#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 NetGeo.System.Text.Json as a Cake Addin
#addin nuget:?package=NetGeo.System.Text.Json&version=2023.3.157.13

// Install NetGeo.System.Text.Json as a Cake Tool
#tool nuget:?package=NetGeo.System.Text.Json&version=2023.3.157.13

NetGeo

This library handle GeoJson supports for C#.

Also you can convert GeoJson to OGC WKT, OGC WKT 2, ESRI WKT, PROJ.4, Proj4Js, JSON and vice versa.

Also you can parse across CRS (Coordinate Reference Systems) and projections.

Table of contents

Packages

  • NetGeo.Json: NuGet
  • NetGeo.System.Text.Json: NuGet
  • NetGeo.Newtonsoft.Json: NuGet

Install

Install using nuget:

dotnet add package NetGeo.Json
dotnet add package NetGeo.System.Text.Json
dotnet add package NetGeo.Newtonsoft.Json

The packages NetGeo.{{third-party}}.Json already references NetGeo.Json.

Supported Versions

Packages version dotnet Version
2023.X netstandard2.0
2023.X netstandard2.1
2023.X .net 5
2023.X .net 6
2023.X .net 7

Notes

If your using Newtonsoft.Json, you need to add the following code to your startup:

GeoExtensions.SetDefaults();

If your using System.Text.Json, you need to use extensions methods:

var geoJson = "{\"type\":\"Point\",\"coordinates\":[1,2]}";
var geoObject = geoJson.ToGeoObject();
var geoPoint = geoJson.ToGeoObject<Point>();

var json = geoObject.ToGeoJson();
var jsonPoint = geoPoint.ToGeoJson();

The extensions methods runs with Newtonsoft.Json and System.Text.Json.

In Development

  • CRS Convertion
  • Other types where is not GeoJSON
  • .NET 8
    • Comming in Dec 2023
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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.

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

Update references