arcgis rest dotnet
1.0.0
.NET REST API Wrapper Library para consumir API REST ARCGIS.
Plataforma cruzada por causa do .NET Standard 2.0. Por favor, colabore para transformar isso em um cliente de descanso completo para o ArcGIS Restapi
// Authentication
var authService = new ArcGISAuthService ( host , username , password ) ;
// Get Auth Token
var authTokenResp = await authService . GetToken ( ) ;
// Geometry Service
var geometryService = new ArcGISGeometryService ( host ) ;
// Project Polygons to diffrent spatial reference
PolygonGeometry projected = await geometryService . ProjectPolygon ( authToken , inSR , outSR , originalGeometry ) ;
// Calculate Areas and Length
ArcGISAreaLengthResponse areaLenth = await geometryService . CalculateAreasAndLengths ( authToken , SR ,
EsriGeometryCalcType . preserveShape , EsriAreaUnit . esriAcres , projected ) ;