AirLay backend

ElevationService extends Injectable
in package

Table of Contents

$  : AirlayConfig
$adapter  : SrtmAdapter
__construct()  : mixed
getAverageElevation()  : float
getElevation()  : array<string|int, int>
convertElevationToGeometryStructure()  : array<string|int, mixed>
getPoints()  : array<string|int, mixed>

Properties

Methods

getAverageElevation()

public getAverageElevation(Geometry $geometry) : float
Parameters
$geometry : Geometry
Tags
throws
RuntimeException
Return values
float

getElevation()

public getElevation(Geometry $geometry) : array<string|int, int>
Parameters
$geometry : Geometry
Tags
throws
RuntimeException
Return values
array<string|int, int>

convertElevationToGeometryStructure()

private convertElevationToGeometryStructure(array<string|int, mixed> $elevations, Geometry $geometry) : array<string|int, mixed>
Parameters
$elevations : array<string|int, mixed>
$geometry : Geometry
Return values
array<string|int, mixed>

getPoints()

private getPoints(Geometry $geometry) : array<string|int, mixed>
Parameters
$geometry : Geometry
Return values
array<string|int, mixed>

Search results