]> granicus.if.org Git - postgis/commitdiff
#2238: clarify neighborhood distance terminology
authorRegina Obe <lr@pcorp.us>
Mon, 18 Mar 2013 19:50:47 +0000 (19:50 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 18 Mar 2013 19:50:47 +0000 (19:50 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11177 b70326c6-7e19-0410-871a-916f4a2858ee

doc/reference_raster.xml

index a29eacaee409961670af8b1c458af4b7d76b817a..bc04452b614f88d4e8b1243c293887aeab3decd4 100644 (file)
@@ -8648,11 +8648,11 @@ CREATE OR REPLACE FUNCTION sample_callbackfunc(value double precision[][][], pos
                                        </varlistentry>
                                        <varlistentry>
                                                <term>distancex</term>
-                                               <listitem><para>The width of the neighborhood, in cells. If not specified only the reference cell is consider (neighborhood of 0).</para></listitem>
+                                               <listitem><para>The distance in pixels from the reference cell. So width of resulting matrix would be <code>2*distancex + 1</code>.If not specified only the reference cell is considered (neighborhood of 0).</para></listitem>
                                        </varlistentry>
                                        <varlistentry>
                                                <term>distancey</term>
-                                               <listitem><para>The height of the neighborhood, in cells. If not specified only the reference cell is considered (neighborhood of 0)</para></listitem>
+                                               <listitem><para>The distance in pixels from reference cell in y direction. Height of resulting matrix would be <code>2*distancey + 1</code> .If not specified only the reference cell is considered (neighborhood of 0).</para></listitem>
                                        </varlistentry>
 
                                        <varlistentry>
@@ -8664,7 +8664,7 @@ CREATE OR REPLACE FUNCTION sample_callbackfunc(value double precision[][][], pos
 
                                </variablelist>
 
-
+                               
 
                                <note>
                                        <para>