Name

st_transform_by_custom_projection — Performs a custom projection of shape, using the specified algorithm and algorithm-specific arguments.

Synopsis

st_transform_by_custom_projection ( in shape any ,
in algorithm_id any );

Description

Performs a custom projection of shape, using the specified algorithm and algorithm-specific arguments.

Parameters

shape

Geometry.

algorithm_id

Algorithm -- Current version supports only one algorithm, st_transform_by_custom_projection (shape, 'OLAEAPS', long_of_center, lat_of_center) for Oblique Lampert Azimuthal Equal-Area Projection System with the specified center point.

Return Types

Returns varchar.

Examples

Example24.673.Simple Use

select st_transform_by_custom_projection (
  st_ewkt_read ('POLYGON((1 3,2 4,1 5,0 4,1 3),
                         (1 3.5,1.5 4,1 4.5,0.5 4,1 3.5))'),
  'OLAEAPS', 20, 45)
unnamed
VARCHAR NOT NULL
_______________________________________________________________________________

SRID=0;POLYGON((-0.352161 -0.627582,
                -0.332392 -0.617674,
                -0.348956 -0.599730,
                -0.368752 -0.609534,
                -0.352161 -0.627582),
               (-0.351386 -0.620657,
                -0.341498 -0.615717,
                -0.349784 -0.606732,
                -0.359678 -0.611647,
                -0.351386 -0.620657))