diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2016-08-11 02:32:08 +0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-08-10 16:32:08 -0400 |
| commit | 0d18b065622d0a06929cd6ffd07b010964473430 (patch) | |
| tree | e2033512f4b94cbfa1e8438a97e4ca4e3f3a6e0e /docs | |
| parent | 7f9fd42b9316e4beddb690bae61940e940281805 (diff) | |
Documented GeoHash's precision parameter.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/functions.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt index 164043d569..f2be78d45c 100644 --- a/docs/ref/contrib/gis/functions.txt +++ b/docs/ref/contrib/gis/functions.txt @@ -261,13 +261,16 @@ right-hand rule. ``GeoHash`` =========== -.. class:: GeoHash(expression, **extra) +.. class:: GeoHash(expression, precision=None, **extra) *Availability*: PostGIS, SpatiaLite (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. |
