Microsoft.Spatial 和 System.Spatial 库有什么区别
What is the difference between Microsoft.Spatial and System.Spatial libraries
我想知道两个空间库有什么区别 - Microsoft.Spatial 和 System.Spatial?
当我查看这两个代码时,我发现几乎相同 类。两者都有例如 GeographyPoint 或 Geography abstract 类。与那些实施相同。
什么时候应该使用哪一个?
要添加更多上下文 - 我正在使用具有某些地理空间功能的 Azure 搜索。
我在阅读关于这两个库各自 Nuget 包的描述时发现的一个区别是 Microsoft.Spatial
库用于 OData Version 4
而 System.Spatial library
用于 OData Version 1-3
。
Contains classes and methods that facilitate geography and geometry
spatial operations. Support OData v4 only. Targets .NET Portable Lib
with support for .NET 4.5, Win Phone 8.1, and Win 8. Localized for
CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.
Contains classes and methods that facilitate geography and geometry
spatial operations. Targets .NET 4.0, Silverlight 4.0 or .NET Portable
Lib with support for .NET 4.0, SL 5.0, Win Phone 8, Win Phone 8.1, and
Win 8. Localized for CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.
To install System.Spatial for OData V1-3 , run the following command
in the Package Manager Console
Azure 搜索 REST API 基于 OData V4,因此为了保持一致性,.NET SDK 也使用 OData V4 的空间库版本 (Microsoft.Spatial)。
我想知道两个空间库有什么区别 - Microsoft.Spatial 和 System.Spatial?
当我查看这两个代码时,我发现几乎相同 类。两者都有例如 GeographyPoint 或 Geography abstract 类。与那些实施相同。
什么时候应该使用哪一个?
要添加更多上下文 - 我正在使用具有某些地理空间功能的 Azure 搜索。
我在阅读关于这两个库各自 Nuget 包的描述时发现的一个区别是 Microsoft.Spatial
库用于 OData Version 4
而 System.Spatial library
用于 OData Version 1-3
。
Contains classes and methods that facilitate geography and geometry spatial operations. Support OData v4 only. Targets .NET Portable Lib with support for .NET 4.5, Win Phone 8.1, and Win 8. Localized for CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.
Contains classes and methods that facilitate geography and geometry spatial operations. Targets .NET 4.0, Silverlight 4.0 or .NET Portable Lib with support for .NET 4.0, SL 5.0, Win Phone 8, Win Phone 8.1, and Win 8. Localized for CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.
To install System.Spatial for OData V1-3 , run the following command in the Package Manager Console
Azure 搜索 REST API 基于 OData V4,因此为了保持一致性,.NET SDK 也使用 OData V4 的空间库版本 (Microsoft.Spatial)。