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_closestpoint

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: g1, g2 - Returns the 2-dimensional point on g1 that is closest to g2. This is the first point of the shortest line.

 

Options

Option

Value

Returns

public.geometry

Language

c

Parameters

geom1 public.geometry

geom2 public.geometry

 

Definition

CREATE OR REPLACE FUNCTION public.st_closestpoint (
 geom1 public.geometry,
 geom2 public.geometry
)
RETURNS public.geometry AS
'$libdir/postgis-2.3', 'LWGEOM_closestpoint'
LANGUAGE 'c'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
1;

COMMENT ON FUNCTION public.st_closestpoint(geom1 public.geometry, geom2 public.geometry)
IS 'args: g1, g2 - Returns the 2-dimensional point on g1 that is closest to g2. This is the first point of the shortest line.';

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