Class ElevationCloudClient
A class provides the methods to access the Elevation APIs.
public class ElevationCloudClient : CloudClient, IDisposable- Inheritance
- 
      
      
      ElevationCloudClient
- Implements
- Inherited Members
Remarks
A class provides the methods to access the Elevation APIs.
Constructors
ElevationCloudClient()
Initilizes an instance. You need apply client Id and secret by properties.
public ElevationCloudClient()ElevationCloudClient(string, string)
Initializes an instance with ClientID and ClientSecret. It will send a request to GIS Server to gain the token which will be added to the Header for all the requests.
public ElevationCloudClient(string clientId, string clientSecret)Parameters
Exceptions
- ArgumentNullException
- Thrown when the - clientIdor- clientSecretis null.
Methods
GetElevationOfArea(AreaBaseShape, int, double, DistanceUnit, DistanceUnit)
Get the elevation of a matrix of points within an area.
public CloudElevationResult GetElevationOfArea(AreaBaseShape area, int areaProjectionInSrid, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- areaAreaBaseShape
- The area of a polygon shape to get the elevation. 
- areaProjectionInSridint
- The SRID (coordinate system) of the input line. 
- intervalDistancedouble
- The distance between every two points in the area matrix. Elevation of each point will be calculated and returned. The unit of measure for this distance is specified by the - IntervalDistanceUnit parameter.
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the IntervalDistance is expressed. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfArea(AreaBaseShape, string, double, DistanceUnit, DistanceUnit)
Get the elevation of a matrix of points within an area.
public CloudElevationResult GetElevationOfArea(AreaBaseShape area, string areaProjectionInProj4String, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- areaAreaBaseShape
- The area of a polygon shape to get the elevation. 
- areaProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- intervalDistancedouble
- The distance between every two points in the area matrix. Elevation of each point will be calculated and returned. The unit of measure for this distance is specified by the - IntervalDistanceUnit parameter.
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the IntervalDistance is expressed. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfAreaAsync(AreaBaseShape, int, double, DistanceUnit, DistanceUnit)
Get the elevation of a matrix of points within an area.
public Task<CloudElevationResult> GetElevationOfAreaAsync(AreaBaseShape area, int areaProjectionInSrid, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- areaAreaBaseShape
- The area of a polygon shape to get the elevation. 
- areaProjectionInSridint
- The SRID (coordinate system) of the input line. 
- intervalDistancedouble
- The distance between every two points in the area matrix. Elevation of each point will be calculated and returned. The unit of measure for this distance is specified by the - IntervalDistanceUnit parameter.
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the IntervalDistance is expressed. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfAreaAsync(AreaBaseShape, string, double, DistanceUnit, DistanceUnit)
Get the elevation of a matrix of points within an area.
public Task<CloudElevationResult> GetElevationOfAreaAsync(AreaBaseShape area, string areaProjectionInProj4String, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- areaAreaBaseShape
- The area of a polygon shape to get the elevation. 
- areaProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- intervalDistancedouble
- The distance between every two points in the area matrix. Elevation of each point will be calculated and returned. The unit of measure for this distance is specified by the - IntervalDistanceUnit parameter.
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the IntervalDistance is expressed. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfAreaInDecimalDegree(AreaBaseShape, double, DistanceUnit, DistanceUnit)
Get the elevation of a matrix of points within an area.
public CloudElevationResult GetElevationOfAreaInDecimalDegree(AreaBaseShape area, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- areaAreaBaseShape
- The area of a polygon shape to get the elevation. 
- intervalDistancedouble
- The distance between every two points in the area matrix. Elevation of each point will be calculated and returned. The unit of measure for this distance is specified by the - IntervalDistanceUnit parameter.
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the IntervalDistance is expressed. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfAreaInDecimalDegreeAsync(AreaBaseShape, double, DistanceUnit, DistanceUnit)
Get the elevation of a matrix of points within an area.
public Task<CloudElevationResult> GetElevationOfAreaInDecimalDegreeAsync(AreaBaseShape area, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- areaAreaBaseShape
- The area of a polygon shape to get the elevation. 
- intervalDistancedouble
- The distance between every two points in the area matrix. Elevation of each point will be calculated and returned. The unit of measure for this distance is specified by the - IntervalDistanceUnit parameter.
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the IntervalDistance is expressed. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfLine(LineBaseShape, int, double, DistanceUnit, DistanceUnit)
Get the elevation of points along a line.
public CloudElevationResult GetElevationOfLine(LineBaseShape line, int lineProjectionInSrid, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- lineProjectionInSridint
- The SRID (coordinate system) of the input line. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfLine(LineBaseShape, int, int, DistanceUnit)
Get the elevation of points along a line.
public CloudElevationResult GetElevationOfLine(LineBaseShape line, int lineProjectionInSrid, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- lineProjectionInSridint
- The SRID (coordinate system) of the input line. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfLine(LineBaseShape, string, double, DistanceUnit, DistanceUnit)
Get the elevation of points along a line.
public CloudElevationResult GetElevationOfLine(LineBaseShape line, string lineProjectionInProj4String, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- lineProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfLine(LineBaseShape, string, int, DistanceUnit)
Get the elevation of points along a line.
public CloudElevationResult GetElevationOfLine(LineBaseShape line, string lineProjectionInProj4String, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- lineProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfLineAsync(LineBaseShape, int, double, DistanceUnit, DistanceUnit)
Get the elevation of points along a line.
public Task<CloudElevationResult> GetElevationOfLineAsync(LineBaseShape line, int lineProjectionInSrid, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- lineProjectionInSridint
- The SRID (coordinate system) of the input line. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfLineAsync(LineBaseShape, int, int, DistanceUnit)
Get the elevation of points along a line.
public Task<CloudElevationResult> GetElevationOfLineAsync(LineBaseShape line, int lineProjectionInSrid, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- lineProjectionInSridint
- The SRID (coordinate system) of the input line. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfLineAsync(LineBaseShape, string, double, DistanceUnit, DistanceUnit)
Get the elevation of points along a line.
public Task<CloudElevationResult> GetElevationOfLineAsync(LineBaseShape line, string lineProjectionInProj4String, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- lineProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfLineAsync(LineBaseShape, string, int, DistanceUnit)
Get the elevation of points along a line.
public Task<CloudElevationResult> GetElevationOfLineAsync(LineBaseShape line, string lineProjectionInProj4String, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- lineProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfLineInDecimalDegree(LineBaseShape, double, DistanceUnit, DistanceUnit)
Get the elevation of points along a line.
public CloudElevationResult GetElevationOfLineInDecimalDegree(LineBaseShape line, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfLineInDecimalDegree(LineBaseShape, int, DistanceUnit)
Get the elevation of points along a line.
public CloudElevationResult GetElevationOfLineInDecimalDegree(LineBaseShape line, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfLineInDecimalDegreeAsync(LineBaseShape, double, DistanceUnit, DistanceUnit)
Get the elevation of points along a line.
public Task<CloudElevationResult> GetElevationOfLineInDecimalDegreeAsync(LineBaseShape line, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfLineInDecimalDegreeAsync(LineBaseShape, int, DistanceUnit)
Get the elevation of points along a line.
public Task<CloudElevationResult> GetElevationOfLineInDecimalDegreeAsync(LineBaseShape line, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineBaseShape
- The line to get the elevation. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfPoint(double, double, int, DistanceUnit)
Get the elevation of a point.
public double GetElevationOfPoint(double x, double y, int pointProjectionInSrid = 4326, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- xdouble
- The X coordinate of the point. 
- ydouble
- The Y coordinate of the point. 
- pointProjectionInSridint
- The SRID of the point 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- double
- Returns the elevation for the point 
GetElevationOfPoint(double, double, string, DistanceUnit)
Get the elevation of a point.
public double GetElevationOfPoint(double x, double y, string pointProjectionInProj4String, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- xdouble
- The X coordinate of the point. 
- ydouble
- The Y coordinate of the point. 
- pointProjectionInProj4Stringstring
- The proj4string of the point. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- double
- Returns the elevation for the point 
GetElevationOfPointAsync(double, double, int, DistanceUnit)
Get the elevation of a point.
public Task<double> GetElevationOfPointAsync(double x, double y, int pointProjectionInSrid = 4326, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- xdouble
- The X coordinate of the point. 
- ydouble
- The Y coordinate of the point. 
- pointProjectionInSridint
- The SRID of the point. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
GetElevationOfPointAsync(double, double, string, DistanceUnit)
Get the elevation of a point.
public Task<double> GetElevationOfPointAsync(double x, double y, string pointProjectionInProj4String, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- xdouble
- The Y coordinate of the point. 
- ydouble
- The X coordinate of the point. 
- pointProjectionInProj4Stringstring
- The proj4string of the point. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
GetElevationOfPointInDecimalDegree(double, double, DistanceUnit)
Get the elevation of a point.
public double GetElevationOfPointInDecimalDegree(double latitude, double longitude, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- latitudedouble
- The latitude of the point. 
- longitudedouble
- The longitude of the point. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- double
- Returns the elevation for the point 
GetElevationOfPointInDecimalDegreeAsync(double, double, DistanceUnit)
Get the elevation of a point.
public Task<double> GetElevationOfPointInDecimalDegreeAsync(double latitude, double longitude, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- latitudedouble
- The latitude of the point. 
- longitudedouble
- The longitude of the point. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
GetElevationOfPoints(IEnumerable<PointShape>, int, DistanceUnit)
Get the elevation of multi points.
public CloudElevationResult GetElevationOfPoints(IEnumerable<PointShape> points, int pointsProjectionInSrid, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- pointsIEnumerable<PointShape>
- The points to get the elevation. 
- pointsProjectionInSridint
- The SRID (coordinate system) of the input line. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfPoints(IEnumerable<PointShape>, string, DistanceUnit)
Get the elevation of multi points.
public CloudElevationResult GetElevationOfPoints(IEnumerable<PointShape> points, string pointsProjectionInProj4String, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- pointsIEnumerable<PointShape>
- The points to get the elevation. 
- pointsProjectionInProj4Stringstring
- The proj4string of the point. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfPointsAsync(IEnumerable<PointShape>, int, DistanceUnit)
Get the elevation of multi points.
public Task<CloudElevationResult> GetElevationOfPointsAsync(IEnumerable<PointShape> points, int pointsProjectionInSrid, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- pointsIEnumerable<PointShape>
- The points to get the elevation. 
- pointsProjectionInSridint
- The SRID (coordinate system) of the input line. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfPointsAsync(IEnumerable<PointShape>, string, DistanceUnit)
Get the elevation of multi points.
public Task<CloudElevationResult> GetElevationOfPointsAsync(IEnumerable<PointShape> points, string pointsProjectionInProj4String, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- pointsIEnumerable<PointShape>
- The points to get the elevation. 
- pointsProjectionInProj4Stringstring
- The proj4string of the point. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetElevationOfPointsInDecimalDegree(IEnumerable<PointShape>, DistanceUnit)
Get the elevation of multi points.
public CloudElevationResult GetElevationOfPointsInDecimalDegree(IEnumerable<PointShape> points, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- pointsIEnumerable<PointShape>
- The points to get the elevation. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudElevationResult
- A ElevationResult with collection of the elevation data. 
GetElevationOfPointsInDecimalDegreeAsync(IEnumerable<PointShape>, DistanceUnit)
Get the elevation of multi points.
public Task<CloudElevationResult> GetElevationOfPointsInDecimalDegreeAsync(IEnumerable<PointShape> points, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- pointsIEnumerable<PointShape>
- The points to get the elevation. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudElevationResult>
- A ElevationResult with collection of the elevation data. 
GetGradeOfLine(LineShape, int, double, DistanceUnit, DistanceUnit)
Get the grade (slope) of a line.
public CloudGradeResult GetGradeOfLine(LineShape line, int lineProjectionInSrid, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- lineProjectionInSridint
- The SRID (coordinate system) of the input line. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudGradeResult
- A collection of the elevation grade data. 
GetGradeOfLine(LineShape, int, int, DistanceUnit)
Get the grade (slope) of a line.
public CloudGradeResult GetGradeOfLine(LineShape line, int lineProjectionInSrid, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- lineProjectionInSridint
- The SRID (coordinate system) of the input line. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudGradeResult
- A collection of the elevation grade data. 
GetGradeOfLine(LineShape, string, double, DistanceUnit, DistanceUnit)
Get the grade (slope) of a line.
public CloudGradeResult GetGradeOfLine(LineShape line, string lineProjectionInProj4String, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- lineProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudGradeResult
- A collection of the elevation grade data. 
GetGradeOfLine(LineShape, string, int, DistanceUnit)
Get the grade (slope) of a line.
public CloudGradeResult GetGradeOfLine(LineShape line, string lineProjectionInProj4String, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- lineProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudGradeResult
- A collection of the elevation grade data. 
GetGradeOfLineAsync(LineShape, int, double, DistanceUnit, DistanceUnit)
Get the grade (slope) of a line.
public Task<CloudGradeResult> GetGradeOfLineAsync(LineShape line, int lineProjectionInSrid, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- lineProjectionInSridint
- The SRID (coordinate system) of the input line. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudGradeResult>
- A collection of the elevation grade data. 
GetGradeOfLineAsync(LineShape, int, int, DistanceUnit)
Get the grade (slope) of a line.
public Task<CloudGradeResult> GetGradeOfLineAsync(LineShape line, int lineProjectionInSrid, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- lineProjectionInSridint
- The SRID (coordinate system) of the input line. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudGradeResult>
- A collection of the elevation grade data. 
GetGradeOfLineAsync(LineShape, string, double, DistanceUnit, DistanceUnit)
Get the grade (slope) of a line.
public Task<CloudGradeResult> GetGradeOfLineAsync(LineShape line, string lineProjectionInProj4String, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- lineProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudGradeResult>
- A collection of the elevation grade data. 
GetGradeOfLineAsync(LineShape, string, int, DistanceUnit)
Get the grade (slope) of a line.
public Task<CloudGradeResult> GetGradeOfLineAsync(LineShape line, string lineProjectionInProj4String, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- lineProjectionInProj4Stringstring
- The proj4string (coordinate system) of the input line. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudGradeResult>
- A collection of the elevation grade data. 
GetGradeOfLineInDecimalDegree(LineShape, double, DistanceUnit, DistanceUnit)
Get the grade (slope) of a line.
public CloudGradeResult GetGradeOfLineInDecimalDegree(LineShape line, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudGradeResult
- A collection of the elevation grade data. 
GetGradeOfLineInDecimalDegree(LineShape, int, DistanceUnit)
Get the grade (slope) of a line.
public CloudGradeResult GetGradeOfLineInDecimalDegree(LineShape line, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- CloudGradeResult
- A collection of the elevation grade data. 
GetGradeOfLineInDecimalDegreeAsync(LineShape, double, DistanceUnit, DistanceUnit)
Get the grade (slope) of a line.
public Task<CloudGradeResult> GetGradeOfLineInDecimalDegreeAsync(LineShape line, double intervalDistance, DistanceUnit intervalDistanceUnit, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- intervalDistancedouble
- Splits the requested line into intervals of this length. The unit of measure for this distance is specified by the IntervalDistanceUnit parameter. 
- intervalDistanceUnitDistanceUnit
- The unit of measure in which the - IntervalDistance is expressed.
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudGradeResult>
- A collection of the elevation grade data. 
GetGradeOfLineInDecimalDegreeAsync(LineShape, int, DistanceUnit)
Get the grade (slope) of a line.
public Task<CloudGradeResult> GetGradeOfLineInDecimalDegreeAsync(LineShape line, int numberOfSegments, DistanceUnit elevationUnit = DistanceUnit.Feet)Parameters
- lineLineShape
- The line that nedd to get the grade. 
- numberOfSegmentsint
- Splits the requested line into this many segments, then calculates elevation of each point joining the segments. 
- elevationUnitDistanceUnit
- The unit of measure in which the elevation result is expressed. Defaults to "Feet". 
Returns
- Task<CloudGradeResult>
- A collection of the elevation grade data.