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

Function: st_asgeojson

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: gj_version, geom, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

 

Options

Option

Value

Returns

text

Language

sql

Parameters

gj_version integer

geom public.geometry

maxdecimaldigits integer = 15

options integer = 0

 

Definition

CREATE OR REPLACE FUNCTION public.st_asgeojson (
 gj_version integer,
 geom public.geometry,
 maxdecimaldigits integer = 15,
 options integer = 0
)
RETURNS text AS
$span$
SELECT public
.ST_AsGeoJson($2::public.geometry, $3::int4, $4::int4);
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_asgeojson(gj_version integer, geom public.geometry, maxdecimaldigits integer, options integer)
IS 'args: gj_version, geom, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23
Previous topic Chapter index Next topic