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: geog, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

 

Options

Option

Value

Returns

text

Language

sql

Parameters

geog public.geography

maxdecimaldigits integer = 15

options integer = 0

 

Definition

CREATE OR REPLACE FUNCTION public.st_asgeojson (
 geog public.geography,
 maxdecimaldigits integer = 15,
 options integer = 0
)
RETURNS text AS
$span$
SELECT public
._ST_AsGeoJson(1, $1, $2, $3);
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_asgeojson(geog public.geography, maxdecimaldigits integer, options integer)
IS 'args: geog, 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