ProjectionConverter
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
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'
$planarProjection
private
Proj
$planarProjection
$proj4
private
Proj4php
$proj4
$sphericalProjection
private
Proj
$sphericalProjection
__construct()
public
__construct(string $sphericalProjection[, string|null $planarProjection = null ]) : mixed
Parameters
-
$sphericalProjection
: string
-
-
$planarProjection
: string|null
= null
-
Return values
mixed
—
getPlanarProjection()
public
getPlanarProjection() : mixed
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
-
-
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
—