Schema
public
Owner
albenard
Descriptions
args: WKB, srid - Makes a geometry from WKB with the given SRID.
Options
Option | Value |
---|---|
Returns |
public.geometry |
Language |
sql |
Parameters |
bytea integer |
Definition
CREATE OR REPLACE FUNCTION public.st_linestringfromwkb (
bytea,
integer
)
RETURNS public.geometry AS
$span$
SELECT CASE WHEN public.geometrytype(public.ST_GeomFromWKB($1, $2)) = 'LINESTRING'
THEN public.ST_GeomFromWKB($1, $2)
ELSE NULL END
$span$
LANGUAGE 'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_linestringfromwkb(bytea, integer)
IS 'args: WKB, srid - Makes a geometry from WKB with the given SRID.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51 |