From: Regina Obe Date: Tue, 27 Dec 2011 16:33:14 +0000 (+0000) Subject: document ST_HillShade (still need to put in examples) X-Git-Tag: 2.0.0alpha1~279 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=220bf4b398821ded154eb89370dc34ad9aaeec70;p=postgis document ST_HillShade (still need to put in examples) git-svn-id: http://svn.osgeo.org/postgis/trunk@8596 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/doc/reference_raster.xml b/doc/reference_raster.xml index 4f252d221..3c8f0a3bf 100644 --- a/doc/reference_raster.xml +++ b/doc/reference_raster.xml @@ -5331,6 +5331,46 @@ FROM dummy_rast; + + + ST_HillShade + Returns the hypothetical illumination of a raster band using azimuth, altitude, brightness, and elevation scale inputs + + + + + raster ST_HillShade + raster rast + integer band + text pixeltype + double precision azimuth + double precision max_bright=255 + double precision elevation_scale=1 + + + + + Description + + Returns the hypothetical illumination of a raster band using the azimuth, altitude, brightness, and elevation scale inputs. Utilizes map algebra and + applies the hill shade equation to neighboring pixels. + The hill shade equation is: max_bright * ( (cos(zenith)*cos(slope)) + (sin(zenith)*sin(slope)*cos(azimuth - aspect)) ). + Availability: 2.0.0 + Examples here use Massachusetts aerial data available on MassGIS site MassGIS Aerial Orthos. Coordinates are in Massachusetts State Plane Meters. + + + + Examples - comming soon +coming soon + + + + + See Also + + + + ST_Intersection