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

Function: st_transform

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geom, from_proj, to_proj - Return a new geometry with its coordinates transformed to a different spatial reference.

 

Options

Option

Value

Returns

public.geometry

Language

sql

Parameters

geom public.geometry

from_proj text

to_proj text

 

Definition

CREATE OR REPLACE FUNCTION public.st_transform (
 geom public.geometry,
 from_proj text,
 to_proj text
)
RETURNS public.geometry AS
$span$
SELECT
postgis_transform_geometry($1, $2, $3, 0)
$span$
LANGUAGE
'sql'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
100;

COMMENT ON FUNCTION public.st_transform(geom public.geometry, from_proj text, to_proj text)
IS 'args: geom, from_proj, to_proj - Return a new geometry with its coordinates transformed to a different spatial reference.';

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