pggeodb.nancy.inra.fr/db_robot - db_robot on pggeodb.nancy.inra.fr
Previous topic Chapter index Next topic

Function: st_geomfromgeohash

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: geohash, precision=full_precision_of_geohash - Return a geometry from a GeoHash string.

 

Options

Option

Value

Returns

public.geometry

Language

sql

Parameters

text

integer = NULL::integer

 

Definition

CREATE OR REPLACE FUNCTION public.st_geomfromgeohash (
 text,
 integer = NULL::integer
)
RETURNS public.geometry AS
$span$
SELECT CAST
(public.ST_Box2dFromGeoHash($1, $2) AS geometry);
$span$
LANGUAGE
'sql'
IMMUTABLE
CALLED ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_geomfromgeohash(text, integer)
IS 'args: geohash, precision=full_precision_of_geohash - Return a geometry from a GeoHash string.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51
Previous topic Chapter index Next topic