Documented GeoHash's precision parameter.
This commit is contained in:
parent
7f9fd42b93
commit
0d18b06562
|
@ -261,13 +261,16 @@ right-hand rule.
|
||||||
``GeoHash``
|
``GeoHash``
|
||||||
===========
|
===========
|
||||||
|
|
||||||
.. class:: GeoHash(expression, **extra)
|
.. class:: GeoHash(expression, precision=None, **extra)
|
||||||
|
|
||||||
*Availability*: PostGIS, SpatiaLite (LWGEOM)
|
*Availability*: PostGIS, SpatiaLite (LWGEOM)
|
||||||
|
|
||||||
Accepts a single geographic field or expression and returns a `GeoHash`__
|
Accepts a single geographic field or expression and returns a `GeoHash`__
|
||||||
representation of the geometry.
|
representation of the geometry.
|
||||||
|
|
||||||
|
The ``precision`` keyword argument controls the number of characters in the
|
||||||
|
result.
|
||||||
|
|
||||||
.. versionchanged:: 1.10
|
.. versionchanged:: 1.10
|
||||||
|
|
||||||
SpatiaLite support was added.
|
SpatiaLite support was added.
|
||||||
|
|
Loading…
Reference in New Issue