From f6b9984cedf999ec1735a47f3db66fd7ac59084f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 16 Apr 2013 07:40:36 +0000 Subject: [PATCH] Link to wikipedia article about GeoHash from ST_GeoHash git-svn-id: http://svn.osgeo.org/postgis/trunk@11300 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/reference_output.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/reference_output.xml b/doc/reference_output.xml index c4d6f6226..14ed7761d 100644 --- a/doc/reference_output.xml +++ b/doc/reference_output.xml @@ -931,7 +931,7 @@ x3dfrag ST_GeoHash - Return a GeoHash representation (geohash.org) of the geometry. + Return a GeoHash representation of the geometry. @@ -947,7 +947,7 @@ x3dfrag Description - Return a GeoHash representation (geohash.org) of the geometry. A GeoHash encodes a point into a text form that is sortable and searchable based on prefixing. A shorter GeoHash is a less precise representation of a point. It can also be thought of as a box, that contains the actual point. + Return a GeoHash representation (http://en.wikipedia.org/wiki/Geohash) of the geometry. A GeoHash encodes a point into a text form that is sortable and searchable based on prefixing. A shorter GeoHash is a less precise representation of a point. It can also be thought of as a box, that contains the actual point. If no maxchars is specficified ST_GeoHash returns a GeoHash based on full precision of the input geometry type. Points return a GeoHash with 20 characters of precision (about enough to hold the full double precision of the input). Other types return a GeoHash with a variable amount of precision, based on the size of the feature. Larger features are represented with less precision, smaller features with more precision. The idea is that the box implied by the GeoHash will always contain the input feature. -- 2.40.0