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

Function: st_area

 

 

Schema

public

 

Owner

albenard

 

Descriptions

args: geog, use_spheroid=true - Returns the area of the surface if it is a Polygon or MultiPolygon. For geometry, a 2D Cartesian area is determined with units specified by the SRID. For geography, area is determined on a curved surface with units in square meters.

 

Options

Option

Value

Returns

double precision

Language

c

Parameters

geog public.geography

use_spheroid boolean = true

 

Definition

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

COMMENT ON FUNCTION public.st_area(geog public.geography, use_spheroid boolean)
IS 'args: geog, use_spheroid=true - Returns the area of the surface if it is a Polygon or MultiPolygon. For geometry, a 2D Cartesian area is determined with units specified by the SRID. For geography, area is determined on a curved surface with units in square meters.';

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