NetGeo.Newtonsoft.Json
2024.4.281.23
dotnet add package NetGeo.Newtonsoft.Json --version 2024.4.281.23
NuGet\Install-Package NetGeo.Newtonsoft.Json -Version 2024.4.281.23
<PackageReference Include="NetGeo.Newtonsoft.Json" Version="2024.4.281.23" />
paket add NetGeo.Newtonsoft.Json --version 2024.4.281.23
#r "nuget: NetGeo.Newtonsoft.Json, 2024.4.281.23"
// Install NetGeo.Newtonsoft.Json as a Cake Addin #addin nuget:?package=NetGeo.Newtonsoft.Json&version=2024.4.281.23 // Install NetGeo.Newtonsoft.Json as a Cake Tool #tool nuget:?package=NetGeo.Newtonsoft.Json&version=2024.4.281.23
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
Install
Install using nuget:
dotnet add package NetGeo.Json
dotnet add package NetGeo.Newtonsoft.Json
The packages NetGeo.Newtonsoft.Json already references NetGeo.Json.
Supported Versions
Packages version | dotnet Version |
---|---|
2023.X | .net 7 |
Notes
Removed the netstandard support, because the System.Text.Json is not supported in netstandard.
Removed the net6.0 support, because the System.Text.Json Default Options is not supported in net6.0.
If your using Newtonsoft.Json, you need to add the following code to your startup:
GeoExtensions.SetDefaults();
The extensions methods runs with Newtonsoft.Json and System.Text.Json.
For System.Text.Json, use the following namespace:
using NetGeo.Json.SystemText;
In Development
- CRS Convertion
- Other types where is not GeoJSON
- .NET 8
- Comming in Dec 2023
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- NetGeo.Json (>= 2024.4.281.23)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NetGeo.Newtonsoft.Json:
Package | Downloads |
---|---|
Dgraph4Net.Newtonsoft.Json
Dgraph4Net is based on dgo (https://github.com/Dgraph-io/dgo), a Dgraph client for GoLang. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2024.4.281.23 | 125 | 10/7/2024 |
2023.3.167.14 | 1,282 | 6/16/2023 |
Update references