AirLay backend

FeatureValidator
in package

Table of Contents

MIN_AREA  = 0.1
checkGeometry()  : array<string|int, mixed>
checkIntersections()  : void
checkLineString()  : void
checkPoint()  : void
validatePolygonCoordinates()  : void

Constants

Methods

checkGeometry()

public static checkGeometry(array<string|int, mixed> $geometry[, string $format = 'json' ]) : array<string|int, mixed>
Parameters
$geometry : array<string|int, mixed>
$format : string = 'json'
Tags
throws
AirlayException
Return values
array<string|int, mixed>

checkIntersections()

private static checkIntersections(array<string|int, mixed> $coordinates, string $type) : void
Parameters
$coordinates : array<string|int, mixed>
$type : string
Tags
throws
AirlayException
Return values
void

checkLineString()

private static checkLineString(array<string|int, mixed> $coordinates, string $format) : void
Parameters
$coordinates : array<string|int, mixed>
$format : string
Tags
throws
AirlayException
Return values
void

checkPoint()

private static checkPoint(array<string|int, mixed> $coordinates) : void
Parameters
$coordinates : array<string|int, mixed>
Tags
throws
AirlayException
Return values
void

validatePolygonCoordinates()

private static validatePolygonCoordinates(array<string|int, mixed> $coordinates, string $format) : void
Parameters
$coordinates : array<string|int, mixed>
$format : string
Return values
void

Search results