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

Function: st_length

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: geog, use_spheroid=true - Returns the 2D length of the geometry if it is a LineString or MultiLineString. geometry are in units of spatial reference and geography are in meters (default spheroid)

 

Options

Option

Value

Returns

double precision

Language

c

Parameters

geog public.geography

use_spheroid boolean = true

 

Definition

CREATE OR REPLACE FUNCTION public.st_length (
 geog public.geography,
 use_spheroid boolean = true
)
RETURNS double precision AS
'$libdir/postgis-2.3', 'geography_length'
LANGUAGE 'c'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_length(geog public.geography, use_spheroid boolean)
IS 'args: geog, use_spheroid=true - Returns the 2D length of the geometry if it is a LineString or MultiLineString. geometry are in units of spatial reference and geography are in meters (default spheroid)';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 26/02/2014 11:51
Previous topic Chapter index Next topic