AirLay backend

ProjectionConverter
in package

Table of Contents

DEFAULT_PROJ  = '+proj=aeqd +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +a=6378137 +b=6378137 +units=m +no_defs'
$planarProjection  : Proj
$proj4  : Proj4php
$sphericalProjection  : Proj
__construct()  : mixed
getPlanarProjection()  : mixed
getSphericalProjection()  : mixed
projection()  : Geometry
projectionToPlanar()  : Geometry
projectionToSpherical()  : Geometry

Constants

DEFAULT_PROJ

private mixed DEFAULT_PROJ = '+proj=aeqd +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +a=6378137 +b=6378137 +units=m +no_defs'

Properties

Methods

__construct()

public __construct(string $sphericalProjection[, string|null $planarProjection = null ]) : mixed
Parameters
$sphericalProjection : string
$planarProjection : string|null = null
Return values
mixed

getSphericalProjection()

public getSphericalProjection() : mixed
Return values
mixed

projection()

public projection(Geometry $geometry, Proj $from, Proj $to) : Geometry
Parameters
$geometry : Geometry
$from : Proj
$to : Proj
Tags
throws
Exception
Return values
Geometry

projectionToPlanar()

public projectionToPlanar(Geometry $geometry) : Geometry
Parameters
$geometry : Geometry
Return values
Geometry

projectionToSpherical()

public projectionToSpherical(Geometry $geometry) : Geometry
Parameters
$geometry : Geometry
Return values
Geometry

Search results