NetTopologySuite.IO.EsriJSON 1.0.1

dotnet add package NetTopologySuite.IO.EsriJSON --version 1.0.1                
NuGet\Install-Package NetTopologySuite.IO.EsriJSON -Version 1.0.1                
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="NetTopologySuite.IO.EsriJSON" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NetTopologySuite.IO.EsriJSON --version 1.0.1                
#r "nuget: NetTopologySuite.IO.EsriJSON, 1.0.1"                
#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 NetTopologySuite.IO.EsriJSON as a Cake Addin
#addin nuget:?package=NetTopologySuite.IO.EsriJSON&version=1.0.1

// Install NetTopologySuite.IO.EsriJSON as a Cake Tool
#tool nuget:?package=NetTopologySuite.IO.EsriJSON&version=1.0.1                

NetTopologySuite.IO.EsriJSON

项目介绍

一个 Geometry 与 EsriJSON格式数据 互转类库。

使用指南

1. 安装


Install-Package NetTopologySuite.IO.EsriJSON

2. 使用

using NetTopologySuite.IO.EsriJSON;
  • 使用示例
	var rdr_esri = new EsriJsonReader();
	var wtr_esri = new EsriJsonWriter();

	var wkt = "POLYGON ((111.270220018138 30.4886211624245,111.269896411441 30.4885355018282,111.269839304377 30.4887020640986,111.270172428918 30.4887829657728,111.270220018138 30.4886211624245))";
	var geo_wkt = new WKTReader().Read(wkt);

	//转换成 esriJson格式数据
	var json = wtr_esri.Write(geo_wkt);
	//转换成 Geometry 对象
	var geo_esri = rdr_esri.Read(json);

	Console.WriteLine(geo_wkt.Equals(geo_esri));

贡献代码

NetTopologySuite.IO.EsriJSON 遵循 Apache-2.0 开源协议,欢迎大家一起完善,提交 PRIssue

相关参考

NetTopologySuite:https://github.com/NetTopologySuite/NetTopologySuite NetTopologySuite.IO.GeoJSON:https://github.com/NetTopologySuite/NetTopologySuite.IO.GeoJSON

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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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
1.0.1 130 9/3/2024
1.0.0 145 3/20/2024