Compute the sun position, according a
point location, and return a new 2D point which coordinate is defined as:
x = sun azimuthdirection along the horizon, in radians, measured from north to east,
y = sun altitudeabove the horizon, in radians, e.g. 0 at the horizon and PI/2 at the zenith.
By default, the current time sun position is returned. Optionally, the user can specify another date using the
point coordinates have to be exprimed in the WGS84 projection system (
lat / long)
At the current time:
Or using the
time parameter (e.g for May 26th 2010 at 15h35’26s) :
A specific use case, using
ST_GeometryShadow is avalaible HERE.