Spatial support in Web API and ODATA

יום שלישי, יוני 3, 2014

The spatial support in ASP.NET WEB API is currently very limited. When creating a WEB API project a reference to System.Spatial is created automatically. When creating an OData 4.0 (WEB API 2.2) a reference to Microsoft.Spatial is created. Both System.Spatial and Microsoft.Spatial are actually the same. It is the spatial library that was developed for WCF Data Services and can be installed by importing the NuGet package Microsoft.Spatial. Microsoft.Spatial contains wide collection of spatial types and formatters for GeoJson and GML. Unfortunately this is where the WEB API and ODATA support for spatial functionality ends. The OData standard defines...
no comments