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

Function: st_length2d_spheroid

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: a_geometry, a_spheroid - Calculates the 2D length/perimeter of a geometry 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

sql

Parameters

public.geometry

public.spheroid

 

Definition

CREATE OR REPLACE FUNCTION public.st_length2d_spheroid (
 public.geometry,
 public.spheroid
)
RETURNS double precision AS
$span$
SELECT public
._postgis_deprecate('ST_Length2D_Spheroid', 'ST_Length2DSpheroid', '2.2.0');
   SELECT public.ST_Length2DSpheroid($1,$2);
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_length2d_spheroid(public.geometry, public.spheroid)
IS 'args: a_geometry, a_spheroid - Calculates the 2D length/perimeter of a geometry 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