gis.db.models.functions.GeoHash

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.

Changed in Django 1.10:

SpatiaLite support was added.

doc_Django
2016-10-09 18:37:23
Comments
Leave a Comment

Please login to continue.