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

Function: st_mlinefromtext

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: WKT - Return a specified ST_MultiLineString value from WKT representation.

 

Options

Option

Value

Returns

public.geometry

Language

sql

Parameters

text

 

Definition

CREATE OR REPLACE FUNCTION public.st_mlinefromtext (
 text
)
RETURNS public.geometry AS
$span$
SELECT CASE WHEN public
.geometrytype(public.ST_GeomFromText($1)) = 'MULTILINESTRING'
THEN public.ST_GeomFromText($1)
ELSE NULL END
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_mlinefromtext(text)
IS 'args: WKT - Return a specified ST_MultiLineString value from WKT representation.';

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