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

Function: st_askml

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geom, maxdecimaldigits=15 - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

 

Options

Option

Value

Returns

text

Language

sql

Parameters

geom public.geometry

maxdecimaldigits integer = 15

 

Definition

CREATE OR REPLACE FUNCTION public.st_askml (
 geom public.geometry,
 maxdecimaldigits integer = 15
)
RETURNS text AS
$span$
SELECT
_ST_AsKML(2, ST_Transform($1,4326), $2, null);
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_askml(geom public.geometry, maxdecimaldigits integer)
IS 'args: geom, maxdecimaldigits=15 - Return the geometry as a KML element. Several variants. Default version=2, default precision=15';

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