Schema
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 13/03/2014 13:23 |