GLHI Database HTML Dump
Previous topic Chapter index Next topic

Function: multilinefromwkb

 

 

Schema

public

 

Owner

wetlands

 

Descriptions

There is no description for function multilinefromwkb

 

Options

Option

Value

Returns

public.geometry

Language

sql

Parameters

bytea

 

Definition


CREATE OR REPLACE FUNCTION "public"."multilinefromwkb" (bytea) RETURNS "public"."geometry" AS
$body$
SELECT CASE WHEN geometrytype(GeomFromWKB($1)) = 'MULTILINESTRING'
	THEN GeomFromWKB($1)
	ELSE NULL END
$body$
LANGUAGE 'sql' IMMUTABLE RETURNS NULL ON NULL INPUT SECURITY INVOKER;

Pete Giencke
pgiencke@glc.org
Previous topic Chapter index Next topic