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

Function: st_shiftlongitude

 

 

Schema

public

 

Owner

postgres

 

Descriptions

args: geomA - Reads every point/vertex in every component of every feature in a geometry, and if the longitude coordinate is <0, adds 360 to it. The result would be a 0-360 version of the data to be plotted in a 180 centric map

 

Options

Option

Value

Returns

public.geometry

Language

c

Parameters

public.geometry

 

Definition

CREATE OR REPLACE FUNCTION public.st_shiftlongitude (
 public.geometry
)
RETURNS public.geometry AS
'$libdir/postgis-2.2', 'LWGEOM_longitude_shift'
LANGUAGE 'c'
IMMUTABLE
RETURNS NULL ON NULL INPUT
SECURITY INVOKER
COST
1;

COMMENT ON FUNCTION public.st_shiftlongitude(public.geometry)
IS 'args: geomA - Reads every point/vertex in every component of every feature in a geometry, and if the longitude coordinate is <0, adds 360 to it. The result would be a 0-360 version of the data to be plotted in a 180 centric map';

This file was generated with SQL Manager for PostgreSQL (www.pgsqlmanager.com) at 13/03/2014 13:23
Previous topic Chapter index Next topic