Schema
Owner
postgres
Descriptions
args: geomA, flags - Returns text stating if a geometry is valid or not and if not valid, a reason why.
Options
Option | Value |
---|---|
Returns |
text |
Language |
sql |
Parameters |
public.geometry integer |
Definition
CREATE OR REPLACE FUNCTION public.st_isvalidreason (
public.geometry,
integer
)
RETURNS text AS
$span$
SELECT CASE WHEN valid THEN 'Valid Geometry' ELSE reason END FROM (
SELECT (public.ST_isValidDetail($1, $2)).*
) foo
$span$
LANGUAGE 'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST 100;
COMMENT ON FUNCTION public.st_isvalidreason(public.geometry, integer)
IS 'args: geomA, flags - Returns text stating if a geometry is valid or not and if not valid, a reason why.';
This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 07/12/2018 13:23 |