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

Function: st_lengthspheroid

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: a_linestring, a_spheroid - Calculates the 2D or 3D length of a linestring/multilinestring on an ellipsoid. This is useful if the coordinates of the geometry are in longitude/latitude and a length is desired without reprojection.

 

Options

Option

Value

Returns

double precision

Language

c

Parameters

public.geometry

public.spheroid

 

Definition

CREATE OR REPLACE FUNCTION public.st_lengthspheroid (
 public.geometry,
 public.spheroid
)
RETURNS double precision AS
'$libdir/postgis-2.2', 'LWGEOM_length_ellipsoid_linestring'
LANGUAGE 'c'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_lengthspheroid(public.geometry, public.spheroid)
IS 'args: a_linestring, a_spheroid - Calculates the 2D or 3D length of a linestring/multilinestring on an ellipsoid. This is useful if the coordinates of the geometry are in longitude/latitude and a length is desired without reprojection.';

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