arcgis rest dotnet
1.0.0
.NET REST API 래퍼 라이브러리 ARCGI REST API를 소비합니다.
.NET 표준 2.0으로 인해 크로스 플랫폼. Arcgis restapi의 완전한 REST 클라이언트로이를 공동 작업하십시오.
// 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 ) ;