summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2016-08-11 02:32:08 +0600
committerTim Graham <timograham@gmail.com>2016-08-10 16:32:30 -0400
commit7eefb397063daa248e4b6d45812ecf6d4497089a (patch)
treec7d422b3fa0ae8da7f2d1855d262cbfacbba23dc /docs
parent3fff7d3abb295a7622fa6f4ab6ca6719b48beb9a (diff)
[1.10.x] Documented GeoHash's precision parameter.
Backport of 0d18b065622d0a06929cd6ffd07b010964473430 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/functions.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt
index 00dee42c57..728aaf1e71 100644
--- a/docs/ref/contrib/gis/functions.txt
+++ b/docs/ref/contrib/gis/functions.txt
@@ -263,13 +263,16 @@ right-hand rule.
``GeoHash``
===========
-.. class:: GeoHash(expression, **extra)
+.. class:: GeoHash(expression, precision=None, **extra)
*Availability*: PostGIS, SpatiaLite (≥ 4.0, LWGEOM)
Accepts a single geographic field or expression and returns a `GeoHash`__
representation of the geometry.
+The ``precision`` keyword argument controls the number of characters in the
+result.
+
.. versionchanged:: 1.10
SpatiaLite support was added.