File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 149149 </example>
150150 </sect2>
151151
152- <sect2 id="func.spoint.dist ">
152+ <sect2 id="func.spoint_dwithin ">
153153 <title>
154- Point distance function
154+ Point-within- distance function
155155 </title>
156156 <para>
157157 The function
166166 </funcsynopsis>
167167 <para>
168168 returns if points <parameter>p1</parameter> and <parameter>p2</parameter>
169- lie within distance <parameter>radius</parameter> of each other.
170- On PostgreSQL 12 and later, the function has <literal>GIST</literal>
169+ lie within distance <parameter>radius</parameter> of each other, i.e.
170+ it computes the boolean expression <literal>p1 <-> p2 <= radius</literal>.
171+ On PostgreSQL 12 and later, the function has <literal>GiST</literal>
171172 support and the PostgreSQL optimizer will transform it to either
172173 <literal>p1 <@ scircle(p2, radius)</literal> or
173174 <literal>p2 <@ scircle(p1, radius)</literal> where appropriate.
You can’t perform that action at this time.
0 commit comments