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

Functions

 

Schema

Function

Returns

Arguments

Owner

Language

Description

analyse

ps_analyse_geom

record

geom public.geometry, out is_null boolean, out is_valid boolean, out nb_geom integer, out nb_ring integer, out nb_points integer, out nb_geom_invalide integer, out diffsurface double precision, out nb_ring_intersect integer, out nb_ring_not_closed integer, out nb_ring_fermeture_simple integer, out nb_ring_intersect_after_fermeture_ok integer, out nb_ring_intersect_after_fermeture_douteux integer, out nb_ring_not_closed_erreur integer, out nb_geom_apres_correction integer, out nb_ring_apres_correction integer, out nb_points_apres_correction integer

albenard

plpgsql

Cette fonction analyse l'objet géométrique passé en paramètre et retourne un ensemble d'indicateurs sur la situation qualitative de cet objet :
- is_null boolean précisant si l'objet est null
- is_valid boolean précisant si l'objet est valide
Si l'objet est invalide les indicateurs suivant sont renseignés :
- nb_geom nombre de géométries de l'objet
- nb_ring nombre d'anneaux présents dans l'objet
- nb_points nombre de point présents dans l'objet
- nb_geom_invalide nombre de géométries invalides de l'objet
- diffsurface différence de surface entre la géométrie initiale et la géométrie corrigée de manière automatique
- nb_ring_intersect nombre d'auto-intersection total de la géométrie.
- nb_ring_not_closed nombre d'anneaux non fermés dans l'objet
- nb_ring_fermeture_simple nombre d'anneaux ouverts qui peuvent être fermés sans doute sur la correction
- nb_ring_intersect_after_fermeture_ok nombre d'anneaux ouverts qui peuvent être fermés sans doute sur la correction même si la fermeture a engendré un autointersection
- nb_ring_intersect_after_fermeture_douteux nombre d'anneaux ouverts dont la fermeture engendre une autointersection dont le traitement est incertain (nécessite action humaine)
- nb_ring_not_closed_erreur nombre d'anneaux ouverts dont la fermeture est en erreur (nécessite action humaine)
- nb_geom_apres_correction nombre de géométries de l'objet corrige
- nb_ring_apres_correction nombre d'anneaux présents dans l'objet corrige
- nb_points_apres_correction nombre de point présents dans l'objet corrige

analyse

ps_analyse_geom_table

record

nom_table_concernee varchar, nom_cle_table varchar, nom_autre_champ varchar, nom_champ_geom varchar, out cle varchar, out autre_champ varchar, out is_null boolean, out is_valid boolean, out nb_geom integer, out nb_ring integer, out nb_points integer, out nb_geom_invalide integer, out diffsurface double precision, out nb_ring_intersect integer, out nb_ring_not_closed integer, out nb_ring_fermeture_simple integer, out nb_ring_intersect_after_fermeture_ok integer, out nb_ring_intersect_after_fermeture_douteux integer, out nb_ring_not_closed_erreur integer, out nb_geom_apres_correction integer, out nb_ring_apres_correction integer, out nb_points_apres_correction integer

albenard

plpgsql

Cette fonction effectue un listing sur la qualité d'un objet géométrique au sein d'une table complète passée comme premier paramètre.
Afin que le listing soit exploitable par l'appellant elle s'appuie sur 2 parmaètres qui précise quel est le champ clé de la table (second paramètre)
et éventuellement quel autre champ l'opérateur désire récupérer dans le listing (3° paramètre).
L'appelant doit également préciser en 4° paramètre quel est le nom du champ qui contient l'objet géométrique à ananlyser.
Chaque ligne du listing contient donc un ensemble de colonne :
- clé de l'enregistment selon le paramètre en entrée.
- autre champs éventuel ou null
- les indicateurs qualitatifs que renseigne la fonction ps_ananlyse_geom à savoir :
- nb_geom nombre de géométries de l'objet
- nb_ring nombre d'anneaux présents dans l'objet
- nb_points nombre de point présents dans l'objet
- nb_geom_invalide nombre de géométries invalides de l'objet
- diffsurface différence de surface entre la géométrie initiale et la géométrie corrigée de manière automatique
- nb_ring_intersect nombre d'anneaux en auto-intersection.
- nb_ring_not_closed nombre d'anneaux non fermés dans l'objet
- nb_ring_fermeture_simple nombre d'anneaux ouverts qui peuvent être fermés sans doute sur la correction
- nb_ring_intersect_after_fermeture_ok nombre d'anneaux ouverts qui peuvent être fermés sans doute sur la correction même si la fermeture a engendré un autointersection
- nb_ring_intersect_after_fermeture_douteux nombre d'anneaux ouverts dont la fermeture engendre une autointersection dont le traitement est incertain (nécessite action humaine)
- nb_ring_not_closed_erreur nombre d'anneaux ouverts dont la fermeture est en erreur (nécessite action humaine)
- nb_geom_apres_correction nombre de géométries de l'objet corrige
- nb_ring_apres_correction nombre d'anneaux présents dans l'objet corrige
- nb_points_apres_correction nombre de point présents dans l'objet corrige

analyse

ps_analyse_geom_table_sommaire

record

nom_table_concernee varchar, nom_cle_table varchar, nom_champ_geom varchar, out libelle_sortie varchar, out nb_sortie integer

albenard

plpgsql

Cette fonction effectue un comptage sur la qualité de l'objet géométrique d'une table.
Les paramètres à utiliser sont :
- nom de la table concernée.
- colonne contenant un identifiant au sein de la table (pour permettre le comptage)
- nom de la colonne contenant les objets géométriques à ananlyser.

analyse

ps_distance_os

boolean

annee_traitement integer = 2005, tailleoffset integer = 2000

albenard

plpgsql

Cette fonction calcule la distance à certains éléments (route, bati ...) et met à jour les champs de la table t_positionnement_pos dédiés au stockage de cette information.

analyse

ps_statut_non_ferme

integer

bad_ring public.geometry

albenard

plpgsql

Cette fonction prend comme argument un objet géométrique normalement de type ST_LineString. Le cas d'usage le plus courant
est un appel depuis la fonction ps_analyse_geom qui tente de fermer un anneau ouvert et s'appuie sur la présente fonction pour
savoir comment s'est passée la fermeture.
La fonction renvoie :
0 : La géométrie passée en paramètre ne respecte pas le type ST_LineString ou bien n'est pas une géométrie fermée.
1 : La géométrie passée en paramètre ne nécessite pas de correction (anneau simple fermé)
2 : La géométrie passée en paramètre présente une intersection qui se corrige avec un simple ajout de polygone ou trou (3 points supplémentaires)
3 : La géométrie passée en paramètre présente une intersection que Postgis corrige d'une façon appelant des vérifications et certainement une intervention.

public

__st_countagg_transfn

public.agg_count

agg public.agg_count, rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1

postgres

plpgsql

 

public

_add_overview_constraint

boolean

ovschema name, ovtable name, ovcolumn name, refschema name, reftable name, refcolumn name, factor integer

postgres

plpgsql

 

public

_add_raster_constraint

boolean

cn name, sql text

postgres

plpgsql

 

public

_add_raster_constraint_alignment

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_add_raster_constraint_blocksize

boolean

rastschema name, rasttable name, rastcolumn name, axis text

postgres

plpgsql

 

public

_add_raster_constraint_coverage_tile

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_add_raster_constraint_extent

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_add_raster_constraint_nodata_values

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_add_raster_constraint_num_bands

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_add_raster_constraint_out_db

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_add_raster_constraint_pixel_types

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_add_raster_constraint_scale

boolean

rastschema name, rasttable name, rastcolumn name, axis char

postgres

plpgsql

 

public

_add_raster_constraint_spatially_unique

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_add_raster_constraint_srid

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_drop_overview_constraint

boolean

ovschema name, ovtable name, ovcolumn name

postgres

sql

 

public

_drop_raster_constraint

boolean

rastschema name, rasttable name, cn name

postgres

plpgsql

 

public

_drop_raster_constraint_alignment

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_drop_raster_constraint_blocksize

boolean

rastschema name, rasttable name, rastcolumn name, axis text

postgres

plpgsql

 

public

_drop_raster_constraint_coverage_tile

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_drop_raster_constraint_extent

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_drop_raster_constraint_nodata_values

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_drop_raster_constraint_num_bands

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_drop_raster_constraint_out_db

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_drop_raster_constraint_pixel_types

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_drop_raster_constraint_regular_blocking

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_drop_raster_constraint_scale

boolean

rastschema name, rasttable name, rastcolumn name, axis char

postgres

plpgsql

 

public

_drop_raster_constraint_spatially_unique

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_drop_raster_constraint_srid

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_overview_constraint

boolean

ov public.raster, factor integer, refschema name, reftable name, refcolumn name

postgres

sql

 

public

_overview_constraint_info

record

ovschema name, ovtable name, ovcolumn name, out refschema name, out reftable name, out refcolumn name, out factor integer

postgres

sql

 

public

_postgis_deprecate

void

oldname text, newname text, version text

postgres

plpgsql

 

public

_postgis_join_selectivity

double precision

pg_catalog.regclass, text, pg_catalog.regclass, text, text = '2'::text

postgres

c

 

public

_postgis_selectivity

double precision

tbl pg_catalog.regclass, att_name text, geom public.geometry, mode text = '2'::text

postgres

c

 

public

_postgis_stats

text

tbl pg_catalog.regclass, att_name text, text = '2'::text

postgres

c

 

public

_raster_constraint_info_alignment

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_blocksize

integer

rastschema name, rasttable name, rastcolumn name, axis text

postgres

sql

 

public

_raster_constraint_info_coverage_tile

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_extent

public.geometry

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_index

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_nodata_values

double precision []

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_num_bands

integer

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_out_db

boolean []

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_pixel_types

text []

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_regular_blocking

boolean

rastschema name, rasttable name, rastcolumn name

postgres

plpgsql

 

public

_raster_constraint_info_scale

double precision

rastschema name, rasttable name, rastcolumn name, axis char

postgres

sql

 

public

_raster_constraint_info_spatially_unique

boolean

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_info_srid

integer

rastschema name, rasttable name, rastcolumn name

postgres

sql

 

public

_raster_constraint_nodata_values

numeric []

rast public.raster

postgres

sql

 

public

_raster_constraint_out_db

boolean []

rast public.raster

postgres

sql

 

public

_raster_constraint_pixel_types

text []

rast public.raster

postgres

sql

 

public

_st_3ddfullywithin

boolean

geom1 public.geometry, geom2 public.geometry, double precision

postgres

c

 

public

_st_3ddwithin

boolean

geom1 public.geometry, geom2 public.geometry, double precision

postgres

c

 

public

_st_3dintersects

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_asgeojson

text

integer, public.geography, integer, integer

postgres

c

 

public

_st_asgeojson

text

integer, public.geometry, integer, integer

postgres

sql

 

public

_st_asgml

text

integer, public.geography, integer, integer, text, text

postgres

c

 

public

_st_asgml

text

integer, public.geometry, integer, integer, text, text

postgres

c

 

public

_st_askml

text

integer, public.geography, integer, text

postgres

c

 

public

_st_askml

text

integer, public.geometry, integer, text

postgres

c

 

public

_st_aspect4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

_st_asraster

public.raster

geom public.geometry, scalex double precision = 0, scaley double precision = 0, width integer = 0, height integer = 0, pixeltype text [] = ARRAY['8BUI'::text], value double precision [] = ARRAY[1::double precision], nodataval double precision [] = ARRAY[0::double precision], upperleftx double precision = NULL::double precision, upperlefty double precision = NULL::double precision, gridx double precision = NULL::double precision, gridy double precision = NULL::double precision, skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

c

 

public

_st_asx3d

text

integer, public.geometry, integer, integer, text

postgres

c

 

public

_st_bestsrid

integer

public.geography

postgres

sql

 

public

_st_bestsrid

integer

public.geography, public.geography

postgres

c

 

public

_st_buffer

public.geometry

public.geometry, double precision, pg_catalog.cstring

postgres

c

 

public

_st_clip

public.raster

rast public.raster, nband integer [], geom public.geometry, nodataval double precision [] = NULL::double precision[], crop boolean = true

postgres

c

 

public

_st_colormap

public.raster

rast public.raster, nband integer, colormap text, method text = 'INTERPOLATE'::text

postgres

c

 

public

_st_concavehull

public.geometry

param_inputgeom public.geometry

postgres

plpgsql

 

public

_st_contains

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_contains

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

c

 

public

_st_containsproperly

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_containsproperly

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

c

 

public

_st_convertarray4ma

double precision []

value double precision []

postgres

plpgsql

 

public

_st_count

bigint

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1

postgres

plpgsql

 

public

_st_count

bigint

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1

postgres

plpgsql

 

public

_st_countagg_finalfn

bigint

agg public.agg_count

postgres

plpgsql

 

public

_st_countagg_transfn

public.agg_count

agg public.agg_count, rast public.raster, exclude_nodata_value boolean

postgres

plpgsql

 

public

_st_countagg_transfn

public.agg_count

agg public.agg_count, rast public.raster, nband integer, exclude_nodata_value boolean

postgres

plpgsql

 

public

_st_countagg_transfn

public.agg_count

agg public.agg_count, rast public.raster, nband integer, exclude_nodata_value boolean, sample_percent double precision

postgres

plpgsql

 

public

_st_coveredby

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_coveredby

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

c

 

public

_st_covers

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_covers

boolean

public.geography, public.geography

postgres

c

 

public

_st_covers

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

c

 

public

_st_crosses

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_dfullywithin

boolean

geom1 public.geometry, geom2 public.geometry, double precision

postgres

c

 

public

_st_dfullywithin

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer, distance double precision

postgres

c

 

public

_st_distance

double precision

public.geography, public.geography, double precision, boolean

postgres

c

 

public

_st_distancetree

double precision

public.geography, public.geography

postgres

sql

 

public

_st_distancetree

double precision

public.geography, public.geography, double precision, boolean

postgres

c

 

public

_st_distanceuncached

double precision

public.geography, public.geography

postgres

sql

 

public

_st_distanceuncached

double precision

public.geography, public.geography, boolean

postgres

sql

 

public

_st_distanceuncached

double precision

public.geography, public.geography, double precision, boolean

postgres

c

 

public

_st_dumppoints

public.geometry_dump

the_geom public.geometry, cur_path integer []

postgres

plpgsql

 

public

_st_dwithin

boolean

geom1 public.geometry, geom2 public.geometry, double precision

postgres

c

 

public

_st_dwithin

boolean

public.geography, public.geography, double precision, boolean

postgres

c

 

public

_st_dwithin

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer, distance double precision

postgres

c

 

public

_st_dwithinuncached

boolean

public.geography, public.geography, double precision

postgres

sql

 

public

_st_dwithinuncached

boolean

public.geography, public.geography, double precision, boolean

postgres

c

 

public

_st_equals

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_expand

public.geography

public.geography, double precision

postgres

c

 

public

_st_gdalwarp

public.raster

rast public.raster, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125, srid integer = NULL::integer, scalex double precision = 0, scaley double precision = 0, gridx double precision = NULL::double precision, gridy double precision = NULL::double precision, skewx double precision = 0, skewy double precision = 0, width integer = NULL::integer, height integer = NULL::integer

postgres

c

 

public

_st_geomfromgml

public.geometry

text, integer

postgres

c

 

public

_st_hillshade4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

_st_histogram

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1, bins integer = 0, width double precision [] = NULL::double precision[], right boolean = false, min double precision = NULL::double precision, max double precision = NULL::double precision, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

c

 

public

_st_histogram

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1, bins integer = 0, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

c

 

public

_st_intersects

boolean

geom public.geometry, rast public.raster, nband integer = NULL::integer

postgres

plpgsql

 

public

_st_intersects

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_intersects

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

c

 

public

_st_linecrossingdirection

integer

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_longestline

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_mapalgebra

public.raster

rastbandargset public.rastbandarg [], callbackfunc pg_catalog.regprocedure, pixeltype text = NULL::text, distancex integer = 0, distancey integer = 0, extenttype text = 'INTERSECTION'::text, customextent public.raster = NULL::raster, mask double precision [] = NULL::double precision[], weighted boolean = NULL::boolean, variadic userargs text [] = NULL::text[]

postgres

c

 

public

_st_mapalgebra

public.raster

rastbandargset public.rastbandarg [], expression text, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, nodata1expr text = NULL::text, nodata2expr text = NULL::text, nodatanodataval double precision = NULL::double precision

postgres

c

 

public

_st_maxdistance

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_neighborhood

double precision []

rast public.raster, band integer, columnx integer, rowy integer, distancex integer, distancey integer, exclude_nodata_value boolean = true

postgres

c

 

public

_st_orderingequals

boolean

geometrya public.geometry, geometryb public.geometry

postgres

c

 

public

_st_overlaps

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_overlaps

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

c

 

public

_st_pixelaspolygons

record

rast public.raster, band integer = 1, columnx integer = NULL::integer, rowy integer = NULL::integer, exclude_nodata_value boolean = true, out geom public.geometry, out val double precision, out x integer, out y integer

postgres

c

 

public

_st_pointoutside

public.geography

public.geography

postgres

c

 

public

_st_quantile

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

c

 

public

_st_quantile

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

c

 

public

_st_rastertoworldcoord

record

rast public.raster, columnx integer = NULL::integer, rowy integer = NULL::integer, out longitude double precision, out latitude double precision

postgres

c

 

public

_st_reclass

public.raster

rast public.raster, variadic reclassargset public.reclassarg []

postgres

c

 

public

_st_roughness4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

_st_samealignment_finalfn

boolean

agg public.agg_samealignment

postgres

sql

 

public

_st_samealignment_transfn

public.agg_samealignment

agg public.agg_samealignment, rast public.raster

postgres

plpgsql

 

public

_st_setvalues

public.raster

rast public.raster, nband integer, x integer, y integer, newvalueset double precision [], noset boolean [] = NULL::boolean[], hasnosetvalue boolean = false, nosetvalue double precision = NULL::double precision, keepnodata boolean = false

postgres

c

 

public

_st_slope4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

_st_summarystats

public.summarystats

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1

postgres

c

 

public

_st_summarystats

public.summarystats

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 1

postgres

plpgsql

 

public

_st_summarystats_finalfn

public.summarystats

pg_catalog.internal

postgres

c

 

public

_st_summarystats_transfn

pg_catalog.internal

pg_catalog.internal, public.raster, boolean, double precision

postgres

c

 

public

_st_summarystats_transfn

pg_catalog.internal

pg_catalog.internal, public.raster, integer, boolean

postgres

c

 

public

_st_summarystats_transfn

pg_catalog.internal

pg_catalog.internal, public.raster, integer, boolean, double precision

postgres

c

 

public

_st_tile

public.raster

rast public.raster, width integer, height integer, nband integer [] = NULL::integer[], padwithnodata boolean = false, nodataval double precision = NULL::double precision

postgres

c

 

public

_st_touches

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

_st_touches

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

c

 

public

_st_tpi4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

_st_tri4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

_st_union_finalfn

public.raster

pg_catalog.internal

postgres

c

 

public

_st_union_transfn

pg_catalog.internal

pg_catalog.internal, public.raster

postgres

c

 

public

_st_union_transfn

pg_catalog.internal

pg_catalog.internal, public.raster, integer

postgres

c

 

public

_st_union_transfn

pg_catalog.internal

pg_catalog.internal, public.raster, integer, text

postgres

c

 

public

_st_union_transfn

pg_catalog.internal

pg_catalog.internal, public.raster, public.unionarg []

postgres

c

 

public

_st_union_transfn

pg_catalog.internal

pg_catalog.internal, public.raster, text

postgres

c

 

public

_st_valuecount

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, searchvalues double precision [] = NULL::double precision[], roundto double precision = 0, out value double precision, out count integer, out percent double precision

postgres

c

 

public

_st_valuecount

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, searchvalues double precision [] = NULL::double precision[], roundto double precision = 0, out value double precision, out count integer, out percent double precision

postgres

c

 

public

_st_within

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

 

public

_st_within

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

 

public

_st_worldtorastercoord

record

rast public.raster, longitude double precision = NULL::double precision, latitude double precision = NULL::double precision, out columnx integer, out rowy integer

postgres

c

 

public

_updaterastersrid

boolean

schema_name name, table_name name, column_name name, new_srid integer

postgres

plpgsql

 

public

addauth

boolean

text

postgres

plpgsql

args: auth_token - Add an authorization token to be used in current transaction.

public

addgeometrycolumn

text

catalog_name varchar, schema_name varchar, table_name varchar, column_name varchar, new_srid_in integer, new_type varchar, new_dim integer, use_typmod boolean = true

postgres

plpgsql

args: catalog_name, schema_name, table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior

public

addgeometrycolumn

text

schema_name varchar, table_name varchar, column_name varchar, new_srid integer, new_type varchar, new_dim integer, use_typmod boolean = true

postgres

plpgsql

args: schema_name, table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior

public

addgeometrycolumn

text

table_name varchar, column_name varchar, new_srid integer, new_type varchar, new_dim integer, use_typmod boolean = true

postgres

plpgsql

args: table_name, column_name, srid, type, dimension, use_typmod=true - Adds a geometry column to an existing table of attributes. By default uses type modifier to define rather than constraints. Pass in false for use_typmod to get old check constraint based behavior

public

addoverviewconstraints

boolean

ovschema name, ovtable name, ovcolumn name, refschema name, reftable name, refcolumn name, ovfactor integer

postgres

plpgsql

args: ovschema, ovtable, ovcolumn, refschema, reftable, refcolumn, ovfactor - Tag a raster column as being an overview of another.

public

addoverviewconstraints

boolean

ovtable name, ovcolumn name, reftable name, refcolumn name, ovfactor integer

postgres

sql

args: ovtable, ovcolumn, reftable, refcolumn, ovfactor - Tag a raster column as being an overview of another.

public

addrasterconstraints

boolean

rastschema name, rasttable name, rastcolumn name, srid boolean = true, scale_x boolean = true, scale_y boolean = true, blocksize_x boolean = true, blocksize_y boolean = true, same_alignment boolean = true, regular_blocking boolean = false, num_bands boolean = true, pixel_types boolean = true, nodata_values boolean = true, out_db boolean = true, extent boolean = true

postgres

plpgsql

args: rastschema, rasttable, rastcolumn, srid=true, scale_x=true, scale_y=true, blocksize_x=true, blocksize_y=true, same_alignment=true, regular_blocking=false, num_bands=true, pixel_types=true, nodata_values=true, out_db=true, extent=true - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. The table must be loaded with data for the constraints to be inferred. Returns true of the constraint setting was accomplished and if issues a notice.

public

addrasterconstraints

boolean

rastschema name, rasttable name, rastcolumn name, variadic constraints text []

postgres

plpgsql

args: rastschema, rasttable, rastcolumn, VARIADIC constraints - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. The table must be loaded with data for the constraints to be inferred. Returns true of the constraint setting was accomplished and if issues a notice.

public

addrasterconstraints

boolean

rasttable name, rastcolumn name, srid boolean = true, scale_x boolean = true, scale_y boolean = true, blocksize_x boolean = true, blocksize_y boolean = true, same_alignment boolean = true, regular_blocking boolean = false, num_bands boolean = true, pixel_types boolean = true, nodata_values boolean = true, out_db boolean = true, extent boolean = true

postgres

sql

args: rasttable, rastcolumn, srid, scale_x, scale_y, blocksize_x, blocksize_y, same_alignment, regular_blocking, num_bands=true, pixel_types=true, nodata_values=true, out_db=true, extent=true - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. The table must be loaded with data for the constraints to be inferred. Returns true of the constraint setting was accomplished and if issues a notice.

public

addrasterconstraints

boolean

rasttable name, rastcolumn name, variadic constraints text []

postgres

sql

args: rasttable, rastcolumn, VARIADIC constraints - Adds raster constraints to a loaded raster table for a specific column that constrains spatial ref, scaling, blocksize, alignment, bands, band type and a flag to denote if raster column is regularly blocked. The table must be loaded with data for the constraints to be inferred. Returns true of the constraint setting was accomplished and if issues a notice.

public

box2df_in

public.box2df

pg_catalog.cstring

postgres

c

 

public

box2df_out

pg_catalog.cstring

public.box2df

postgres

c

 

public

box3d

public.box3d

public.raster

postgres

sql

 

public

bytea

bytea

public.geography

postgres

c

 

public

bytea

bytea

public.raster

postgres

c

 

public

checkauth

integer

text, text

postgres

sql

args: a_table_name, a_key_column_name - Creates trigger on a table to prevent/allow updates and deletes of rows based on authorization token.

public

checkauth

integer

text, text, text

postgres

plpgsql

args: a_schema_name, a_table_name, a_key_column_name - Creates trigger on a table to prevent/allow updates and deletes of rows based on authorization token.

public

checkauthtrigger

trigger

 

postgres

c

 

public

disablelongtransactions

text

 

postgres

plpgsql

Disable long transaction support. This function removes the long transaction support metadata tables, and drops all triggers attached to lock-checked tables.

public

dropgeometrycolumn

text

catalog_name varchar, schema_name varchar, table_name varchar, column_name varchar

postgres

plpgsql

args: catalog_name, schema_name, table_name, column_name - Removes a geometry column from a spatial table.

public

dropgeometrycolumn

text

schema_name varchar, table_name varchar, column_name varchar

postgres

plpgsql

args: schema_name, table_name, column_name - Removes a geometry column from a spatial table.

public

dropgeometrycolumn

text

table_name varchar, column_name varchar

postgres

plpgsql

args: table_name, column_name - Removes a geometry column from a spatial table.

public

dropgeometrytable

text

catalog_name varchar, schema_name varchar, table_name varchar

postgres

plpgsql

args: catalog_name, schema_name, table_name - Drops a table and all its references in geometry_columns.

public

dropgeometrytable

text

schema_name varchar, table_name varchar

postgres

sql

args: schema_name, table_name - Drops a table and all its references in geometry_columns.

public

dropgeometrytable

text

table_name varchar

postgres

sql

args: table_name - Drops a table and all its references in geometry_columns.

public

dropoverviewconstraints

boolean

ovschema name, ovtable name, ovcolumn name

postgres

plpgsql

args: ovschema, ovtable, ovcolumn - Untag a raster column from being an overview of another.

public

dropoverviewconstraints

boolean

ovtable name, ovcolumn name

postgres

sql

args: ovtable, ovcolumn - Untag a raster column from being an overview of another.

public

droprasterconstraints

boolean

rastschema name, rasttable name, rastcolumn name, srid boolean = true, scale_x boolean = true, scale_y boolean = true, blocksize_x boolean = true, blocksize_y boolean = true, same_alignment boolean = true, regular_blocking boolean = true, num_bands boolean = true, pixel_types boolean = true, nodata_values boolean = true, out_db boolean = true, extent boolean = true

postgres

plpgsql

args: rastschema, rasttable, rastcolumn, srid=true, scale_x=true, scale_y=true, blocksize_x=true, blocksize_y=true, same_alignment=true, regular_blocking=false, num_bands=true, pixel_types=true, nodata_values=true, out_db=true, extent=true - Drops PostGIS raster constraints that refer to a raster table column. Useful if you need to reload data or update your raster column data.

public

droprasterconstraints

boolean

rastschema name, rasttable name, rastcolumn name, variadic constraints text []

postgres

plpgsql

args: rastschema, rasttable, rastcolumn, constraints - Drops PostGIS raster constraints that refer to a raster table column. Useful if you need to reload data or update your raster column data.

public

droprasterconstraints

boolean

rasttable name, rastcolumn name, srid boolean = true, scale_x boolean = true, scale_y boolean = true, blocksize_x boolean = true, blocksize_y boolean = true, same_alignment boolean = true, regular_blocking boolean = true, num_bands boolean = true, pixel_types boolean = true, nodata_values boolean = true, out_db boolean = true, extent boolean = true

postgres

sql

args: rasttable, rastcolumn, srid, scale_x, scale_y, blocksize_x, blocksize_y, same_alignment, regular_blocking, num_bands=true, pixel_types=true, nodata_values=true, out_db=true, extent=true - Drops PostGIS raster constraints that refer to a raster table column. Useful if you need to reload data or update your raster column data.

public

droprasterconstraints

boolean

rasttable name, rastcolumn name, variadic constraints text []

postgres

sql

 

public

enablelongtransactions

text

 

postgres

plpgsql

Enable long transaction support. This function creates the required metadata tables, needs to be called once before using the other functions in this section. Calling it twice is harmless.

public

equals

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geography

public.geography

bytea

postgres

c

 

public

geography

public.geography

public.geography, integer, boolean

postgres

c

 

public

geography

public.geography

public.geometry

postgres

c

 

public

geography_analyze

boolean

pg_catalog.internal

postgres

c

 

public

geography_cmp

integer

public.geography, public.geography

postgres

c

 

public

geography_distance_knn

double precision

public.geography, public.geography

postgres

c

 

public

geography_eq

boolean

public.geography, public.geography

postgres

c

 

public

geography_ge

boolean

public.geography, public.geography

postgres

c

 

public

geography_gist_compress

pg_catalog.internal

pg_catalog.internal

postgres

c

 

public

geography_gist_consistent

boolean

pg_catalog.internal, public.geography, integer

postgres

c

 

public

geography_gist_decompress

pg_catalog.internal

pg_catalog.internal

postgres

c

 

public

geography_gist_distance

double precision

pg_catalog.internal, public.geography, integer

postgres

c

 

public

geography_gist_penalty

pg_catalog.internal

pg_catalog.internal, pg_catalog.internal, pg_catalog.internal

postgres

c

 

public

geography_gist_picksplit

pg_catalog.internal

pg_catalog.internal, pg_catalog.internal

postgres

c

 

public

geography_gist_same

pg_catalog.internal

public.box2d, public.box2d, pg_catalog.internal

postgres

c

 

public

geography_gist_union

pg_catalog.internal

bytea, pg_catalog.internal

postgres

c

 

public

geography_gt

boolean

public.geography, public.geography

postgres

c

 

public

geography_in

public.geography

pg_catalog.cstring, oid, integer

postgres

c

 

public

geography_le

boolean

public.geography, public.geography

postgres

c

 

public

geography_lt

boolean

public.geography, public.geography

postgres

c

 

public

geography_out

pg_catalog.cstring

public.geography

postgres

c

 

public

geography_overlaps

boolean

public.geography, public.geography

postgres

c

 

public

geography_recv

public.geography

pg_catalog.internal, oid, integer

postgres

c

 

public

geography_send

bytea

public.geography

postgres

c

 

public

geography_typmod_in

integer

pg_catalog.cstring []

postgres

c

 

public

geography_typmod_out

pg_catalog.cstring

integer

postgres

c

 

public

geometry

public.geometry

path

postgres

c

 

public

geometry

public.geometry

point

postgres

c

 

public

geometry

public.geometry

polygon

postgres

c

 

public

geometry

public.geometry

public.geography

postgres

c

 

public

geometry

public.geometry

public.geometry, integer, boolean

postgres

c

 

public

geometry_above

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_below

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_cmp

integer

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_contained_by_raster

boolean

public.geometry, public.raster

postgres

sql

 

public

geometry_contains

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_distance_box

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_distance_centroid

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_distance_centroid_nd

double precision

public.geometry, public.geometry

postgres

c

 

public

geometry_distance_cpa

double precision

public.geometry, public.geometry

postgres

c

 

public

geometry_eq

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_ge

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_gist_compress_2d

pg_catalog.internal

pg_catalog.internal

postgres

c

 

public

geometry_gist_compress_nd

pg_catalog.internal

pg_catalog.internal

postgres

c

 

public

geometry_gist_consistent_2d

boolean

pg_catalog.internal, public.geometry, integer

postgres

c

 

public

geometry_gist_consistent_nd

boolean

pg_catalog.internal, public.geometry, integer

postgres

c

 

public

geometry_gist_decompress_2d

pg_catalog.internal

pg_catalog.internal

postgres

c

 

public

geometry_gist_decompress_nd

pg_catalog.internal

pg_catalog.internal

postgres

c

 

public

geometry_gist_distance_2d

double precision

pg_catalog.internal, public.geometry, integer

postgres

c

 

public

geometry_gist_distance_nd

double precision

pg_catalog.internal, public.geometry, integer

postgres

c

 

public

geometry_gist_penalty_2d

pg_catalog.internal

pg_catalog.internal, pg_catalog.internal, pg_catalog.internal

postgres

c

 

public

geometry_gist_penalty_nd

pg_catalog.internal

pg_catalog.internal, pg_catalog.internal, pg_catalog.internal

postgres

c

 

public

geometry_gist_picksplit_2d

pg_catalog.internal

pg_catalog.internal, pg_catalog.internal

postgres

c

 

public

geometry_gist_picksplit_nd

pg_catalog.internal

pg_catalog.internal, pg_catalog.internal

postgres

c

 

public

geometry_gist_same_2d

pg_catalog.internal

geom1 public.geometry, geom2 public.geometry, pg_catalog.internal

postgres

c

 

public

geometry_gist_same_nd

pg_catalog.internal

public.geometry, public.geometry, pg_catalog.internal

postgres

c

 

public

geometry_gist_union_2d

pg_catalog.internal

bytea, pg_catalog.internal

postgres

c

 

public

geometry_gist_union_nd

pg_catalog.internal

bytea, pg_catalog.internal

postgres

c

 

public

geometry_gt

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_le

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_left

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_lt

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_overabove

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_overbelow

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_overlaps

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_overlaps_nd

boolean

public.geometry, public.geometry

postgres

c

 

public

geometry_overleft

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_overright

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_raster_contain

boolean

public.geometry, public.raster

postgres

sql

 

public

geometry_raster_overlap

boolean

public.geometry, public.raster

postgres

sql

 

public

geometry_right

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_same

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometry_typmod_in

integer

pg_catalog.cstring []

postgres

c

 

public

geometry_typmod_out

pg_catalog.cstring

integer

postgres

c

 

public

geometry_within

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

geometrytype

text

public.geography

postgres

c

 

public

gettransactionid

pg_catalog.xid

 

postgres

c

 

public

gidx_in

public.gidx

pg_catalog.cstring

postgres

c

 

public

gidx_out

pg_catalog.cstring

public.gidx

postgres

c

 

public

gserialized_gist_joinsel_2d

double precision

pg_catalog.internal, oid, pg_catalog.internal, smallint

postgres

c

 

public

gserialized_gist_joinsel_nd

double precision

pg_catalog.internal, oid, pg_catalog.internal, smallint

postgres

c

 

public

gserialized_gist_sel_2d

double precision

pg_catalog.internal, oid, pg_catalog.internal, integer

postgres

c

 

public

gserialized_gist_sel_nd

double precision

pg_catalog.internal, oid, pg_catalog.internal, integer

postgres

c

 

public

lockrow

integer

text, text, text

postgres

sql

args: a_table_name, a_row_key, an_auth_token - Set lock/authorization for specific row in table

public

lockrow

integer

text, text, text, text

postgres

sql

 

public

lockrow

integer

text, text, text, text, timestamp

postgres

plpgsql

args: a_schema_name, a_table_name, a_row_key, an_auth_token, expire_dt - Set lock/authorization for specific row in table

public

lockrow

integer

text, text, text, timestamp

postgres

sql

args: a_table_name, a_row_key, an_auth_token, expire_dt - Set lock/authorization for specific row in table

public

longtransactionsenabled

boolean

 

postgres

plpgsql

 

public

path

path

public.geometry

postgres

c

 

public

pgis_abs_in

public.pgis_abs

pg_catalog.cstring

postgres

c

 

public

pgis_abs_out

pg_catalog.cstring

public.pgis_abs

postgres

c

 

public

pgis_geometry_accum_finalfn

public.geometry []

public.pgis_abs

postgres

c

 

public

pgis_geometry_accum_transfn

public.pgis_abs

public.pgis_abs, public.geometry

postgres

c

 

public

pgis_geometry_accum_transfn

public.pgis_abs

public.pgis_abs, public.geometry, double precision

postgres

c

 

public

pgis_geometry_clusterintersecting_finalfn

public.geometry []

public.pgis_abs

postgres

c

 

public

pgis_geometry_clusterwithin_finalfn

public.geometry []

public.pgis_abs

postgres

c

 

public

pgis_geometry_collect_finalfn

public.geometry

public.pgis_abs

postgres

c

 

public

pgis_geometry_makeline_finalfn

public.geometry

public.pgis_abs

postgres

c

 

public

pgis_geometry_polygonize_finalfn

public.geometry

public.pgis_abs

postgres

c

 

public

pgis_geometry_union_finalfn

public.geometry

public.pgis_abs

postgres

c

 

public

point

point

public.geometry

postgres

c

 

public

polygon

polygon

public.geometry

postgres

c

 

public

populate_geometry_columns

integer

tbl_oid oid, use_typmod boolean = true

postgres

plpgsql

args: relation_oid, use_typmod=true - Ensures geometry columns are defined with type modifiers or have appropriate spatial constraints This ensures they will be registered correctly in geometry_columns view. By default will convert all geometry columns with no type modifier to ones with type modifiers. To get old behavior set use_typmod=false

public

populate_geometry_columns

text

use_typmod boolean = true

postgres

plpgsql

args: use_typmod=true - Ensures geometry columns are defined with type modifiers or have appropriate spatial constraints This ensures they will be registered correctly in geometry_columns view. By default will convert all geometry columns with no type modifier to ones with type modifiers. To get old behavior set use_typmod=false

public

postgis_addbbox

public.geometry

public.geometry

postgres

c

args: geomA - Add bounding box to the geometry.

public

postgis_cache_bbox

trigger

 

postgres

c

 

public

postgis_constraint_dims

integer

geomschema text, geomtable text, geomcolumn text

postgres

sql

 

public

postgis_constraint_srid

integer

geomschema text, geomtable text, geomcolumn text

postgres

sql

 

public

postgis_constraint_type

varchar

geomschema text, geomtable text, geomcolumn text

postgres

sql

 

public

postgis_dropbbox

public.geometry

public.geometry

postgres

c

args: geomA - Drop the bounding box cache from the geometry.

public

postgis_gdal_version

text

 

postgres

c

Reports the version of the GDAL library in use by PostGIS.

public

postgis_getbbox

public.box2d

public.geometry

postgres

c

 

public

postgis_hasbbox

boolean

public.geometry

postgres

c

args: geomA - Returns TRUE if the bbox of this geometry is cached, FALSE otherwise.

public

postgis_libjson_version

text

 

postgres

c

 

public

postgis_liblwgeom_version

text

 

postgres

c

 

public

postgis_libxml_version

text

 

postgres

c

Returns the version number of the libxml2 library.

public

postgis_noop

public.geometry

public.geometry

postgres

c

 

public

postgis_noop

public.geometry

public.raster

postgres

c

 

public

postgis_raster_lib_build_date

text

 

postgres

c

Reports full raster library build date.

public

postgis_raster_lib_version

text

 

postgres

c

Reports full raster version and build configuration infos.

public

postgis_raster_scripts_installed

text

 

postgres

sql

 

public

postgis_svn_version

text

 

postgres

c

 

public

postgis_transform_geometry

public.geometry

public.geometry, text, text, integer

postgres

c

 

public

postgis_type_name

varchar

geomname varchar, coord_dimension integer, use_new_name boolean = true

postgres

sql

 

public

postgis_typmod_dims

integer

integer

postgres

c

 

public

postgis_typmod_srid

integer

integer

postgres

c

 

public

postgis_typmod_type

text

integer

postgres

c

 

public

ps_animal_synonyme

boolean

animal_officiel varchar, animal_synonyme varchar

albenard

plpgsql

Cette procédure stockée permet de remplacer un animal et ses données associées par un autre animal.

public

ps_maj_indic_cpos

integer

annee_suivi integer, tolerance_nb_min integer = 4

postgres

plpgsql

Fonction de positionnnement des indicateurs de suivi des campagnes de positionnement

public

ps_maj_indic_cpos_finish

integer

annee_suivi integer, nb_mini_camp10min integer = 45, nb_mini_camp1heure integer = 20

postgres

plpgsql

Fonction de positionnnement final (après un premier passage) des indicateurs de suivi des campagnes de positionnement

public

ps_normalise_interval

integer

interval_param interval

postgres

plpgsql

Procédure qui retourne une valeur normalisée représentant un nombre de minutes pour l'intervalle passé en paramètre.

public

ps_suivi1h

boolean

pheure time, ptolerance integer

postgres

plpgsql

Function renvoyant vrai si le paramètre pheure correspond à un suivi 1 heure (toutes les heures pleines de la journée) avec la précision de ptolerance (second paramètre) minute

public

ps_suivi3h

boolean

pheure time, ptolerance integer

postgres

plpgsql

Function renvoyant vrai si le paramètre pheure correspond à un suivi 3 heures (0,3,6,9,12,15,18,21 heure) avec la précision de ptolerance (second paramètre) minute

public

ps_suivi4h

boolean

pheure time, ptolerance integer

postgres

plpgsql

Function renvoyant vrai si le paramètre pheure correspond à un suivi 4 heures (0,4,8,12,16,20 heure) avec la précision de ptolerance (second paramètre) minute

public

ps_suivi6h

boolean

pheure time, ptolerance integer

postgres

plpgsql

Function renvoyant vrai si le paramètre pheure correspond à un suivi 6 heures (0,6,12,18 heure) avec la précision de ptolerance (second paramètre) minute

public

ps_suppression_data_animal_campagne

boolean

animal_concerne varchar, campagne integer

albenard

plpgsql

Cette procédure stockée permet de supprimer les données de positionnement et/ou d'activité pour un animal pour une année de suivi définie.

public

raster_above

boolean

public.raster, public.raster

postgres

sql

 

public

raster_below

boolean

public.raster, public.raster

postgres

sql

 

public

raster_contain

boolean

public.raster, public.raster

postgres

sql

 

public

raster_contained

boolean

public.raster, public.raster

postgres

sql

 

public

raster_contained_by_geometry

boolean

public.raster, public.geometry

postgres

sql

 

public

raster_eq

boolean

public.raster, public.raster

postgres

sql

 

public

raster_geometry_contain

boolean

public.raster, public.geometry

postgres

sql

 

public

raster_geometry_overlap

boolean

public.raster, public.geometry

postgres

sql

 

public

raster_hash

integer

public.raster

postgres

internal

 

public

raster_in

public.raster

pg_catalog.cstring

postgres

c

 

public

raster_left

boolean

public.raster, public.raster

postgres

sql

 

public

raster_out

pg_catalog.cstring

public.raster

postgres

c

 

public

raster_overabove

boolean

public.raster, public.raster

postgres

sql

 

public

raster_overbelow

boolean

public.raster, public.raster

postgres

sql

 

public

raster_overlap

boolean

public.raster, public.raster

postgres

sql

 

public

raster_overleft

boolean

public.raster, public.raster

postgres

sql

 

public

raster_overright

boolean

public.raster, public.raster

postgres

sql

 

public

raster_right

boolean

public.raster, public.raster

postgres

sql

 

public

raster_same

boolean

public.raster, public.raster

postgres

sql

 

public

st_3dclosestpoint

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - Returns the 3-dimensional point on g1 that is closest to g2. This is the first point of the 3D shortest line.

public

st_3ddfullywithin

boolean

geom1 public.geometry, geom2 public.geometry, double precision

postgres

sql

args: g1, g2, distance - Returns true if all of the 3D geometries are within the specified distance of one another.

public

st_3ddistance

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - For geometry type Returns the 3-dimensional cartesian minimum distance (based on spatial ref) between two geometries in projected units.

public

st_3ddwithin

boolean

geom1 public.geometry, geom2 public.geometry, double precision

postgres

sql

args: g1, g2, distance_of_srid - For 3d (z) geometry type Returns true if two geometries 3d distance is within number of units.

public

st_3dintersects

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: geomA, geomB - Returns TRUE if the Geometries "spatially intersect" in 3d - only for points, linestrings, polygons, polyhedral surface (area). With SFCGAL backend enabled also supports TINS

public

st_3dlength

double precision

public.geometry

postgres

c

args: a_3dlinestring - Returns the 3-dimensional or 2-dimensional length of the geometry if it is a linestring or multi-linestring.

public

st_3dlength_spheroid

double precision

public.geometry, public.spheroid

postgres

sql

 

public

st_3dlongestline

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - Returns the 3-dimensional longest line between two geometries

public

st_3dmakebox

public.box3d

geom1 public.geometry, geom2 public.geometry

postgres

c

args: point3DLowLeftBottom, point3DUpRightTop - Creates a BOX3D defined by the given 3d point geometries.

public

st_3dmaxdistance

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - For geometry type Returns the 3-dimensional cartesian maximum distance (based on spatial ref) between two geometries in projected units.

public

st_3dperimeter

double precision

public.geometry

postgres

c

args: geomA - Returns the 3-dimensional perimeter of the geometry, if it is a polygon or multi-polygon.

public

st_3dshortestline

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - Returns the 3-dimensional shortest line between two geometries

public

st_addband

public.raster

rast public.raster, addbandargset public.addbandarg []

postgres

c

args: rast, addbandargset - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

public

st_addband

public.raster

rast public.raster, index integer, outdbfile text, outdbindex integer [], nodataval double precision = NULL::double precision

postgres

c

args: rast, index, outdbfile, outdbindex, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

public

st_addband

public.raster

rast public.raster, index integer, pixeltype text, initialvalue double precision = '0'::numeric, nodataval double precision = NULL::double precision

postgres

sql

args: rast, index, pixeltype, initialvalue=0, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

public

st_addband

public.raster

rast public.raster, outdbfile text, outdbindex integer [], index integer = NULL::integer, nodataval double precision = NULL::double precision

postgres

sql

args: rast, outdbfile, outdbindex, index=at_end, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

public

st_addband

public.raster

rast public.raster, pixeltype text, initialvalue double precision = '0'::numeric, nodataval double precision = NULL::double precision

postgres

sql

args: rast, pixeltype, initialvalue=0, nodataval=NULL - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

public

st_addband

public.raster

torast public.raster, fromrast public.raster, fromband integer = 1, torastindex integer = NULL::integer

postgres

c

args: torast, fromrast, fromband=1, torastindex=at_end - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

public

st_addband

public.raster

torast public.raster, fromrasts public.raster [], fromband integer = 1, torastindex integer = NULL::integer

postgres

c

args: torast, fromrasts, fromband=1, torastindex=at_end - Returns a raster with the new band(s) of given type added with given initial value in the given index location. If no index is specified, the band is added to the end.

public

st_addmeasure

public.geometry

public.geometry, double precision, double precision

postgres

c

args: geom_mline, measure_start, measure_end - Return a derived geometry with measure elements linearly interpolated between the start and end points.

public

st_addpoint

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: linestring, point - Adds a point to a LineString before point (0-based index).

public

st_addpoint

public.geometry

geom1 public.geometry, geom2 public.geometry, integer

postgres

c

args: linestring, point, position - Adds a point to a LineString before point (0-based index).

public

st_affine

public.geometry

public.geometry, double precision, double precision, double precision, double precision, double precision, double precision

postgres

sql

args: geomA, a, b, d, e, xoff, yoff - Applies a 3d affine transformation to the geometry to do things like translate, rotate, scale in one step.

public

st_affine

public.geometry

public.geometry, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision, double precision

postgres

c

args: geomA, a, b, c, d, e, f, g, h, i, xoff, yoff, zoff - Applies a 3d affine transformation to the geometry to do things like translate, rotate, scale in one step.

public

st_approxcount

bigint

rast public.raster, exclude_nodata_value boolean, sample_percent double precision = 0.1

postgres

sql

 

public

st_approxcount

bigint

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 0.1

postgres

sql

 

public

st_approxcount

bigint

rast public.raster, nband integer, sample_percent double precision

postgres

sql

 

public

st_approxcount

bigint

rast public.raster, sample_percent double precision

postgres

sql

 

public

st_approxcount

bigint

rastertable text, rastercolumn text, exclude_nodata_value boolean, sample_percent double precision = 0.1

postgres

sql

 

public

st_approxcount

bigint

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 0.1

postgres

sql

 

public

st_approxcount

bigint

rastertable text, rastercolumn text, nband integer, sample_percent double precision

postgres

sql

 

public

st_approxcount

bigint

rastertable text, rastercolumn text, sample_percent double precision

postgres

sql

 

public

st_approxhistogram

record

rast public.raster, nband integer, exclude_nodata_value boolean, sample_percent double precision, bins integer, right boolean, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 0.1, bins integer = 0, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rast public.raster, nband integer, sample_percent double precision, bins integer, right boolean, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rast public.raster, nband integer, sample_percent double precision, bins integer, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rast public.raster, nband integer, sample_percent double precision, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rast public.raster, sample_percent double precision, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rastertable text, rastercolumn text, nband integer, exclude_nodata_value boolean, sample_percent double precision, bins integer, right boolean, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 0.1, bins integer = 0, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rastertable text, rastercolumn text, nband integer, sample_percent double precision, bins integer, right boolean, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rastertable text, rastercolumn text, nband integer, sample_percent double precision, bins integer, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rastertable text, rastercolumn text, nband integer, sample_percent double precision, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxhistogram

record

rastertable text, rastercolumn text, sample_percent double precision, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

 

public

st_approxquantile

double precision

rast public.raster, exclude_nodata_value boolean, quantile double precision = NULL::double precision

postgres

sql

 

public

st_approxquantile

double precision

rast public.raster, nband integer, exclude_nodata_value boolean, sample_percent double precision, quantile double precision

postgres

sql

 

public

st_approxquantile

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 0.1, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

sql

 

public

st_approxquantile

double precision

rast public.raster, nband integer, sample_percent double precision, quantile double precision

postgres

sql

 

public

st_approxquantile

record

rast public.raster, nband integer, sample_percent double precision, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

sql

 

public

st_approxquantile

double precision

rast public.raster, quantile double precision

postgres

sql

 

public

st_approxquantile

record

rast public.raster, quantiles double precision [], out quantile double precision, out value double precision

postgres

sql

 

public

st_approxquantile

double precision

rast public.raster, sample_percent double precision, quantile double precision

postgres

sql

 

public

st_approxquantile

record

rast public.raster, sample_percent double precision, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

sql

 

public

st_approxquantile

double precision

rastertable text, rastercolumn text, exclude_nodata_value boolean, quantile double precision = NULL::double precision

postgres

sql

 

public

st_approxquantile

double precision

rastertable text, rastercolumn text, nband integer, exclude_nodata_value boolean, sample_percent double precision, quantile double precision

postgres

sql

 

public

st_approxquantile

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 0.1, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

sql

 

public

st_approxquantile

double precision

rastertable text, rastercolumn text, nband integer, sample_percent double precision, quantile double precision

postgres

sql

 

public

st_approxquantile

record

rastertable text, rastercolumn text, nband integer, sample_percent double precision, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

sql

 

public

st_approxquantile

double precision

rastertable text, rastercolumn text, quantile double precision

postgres

sql

 

public

st_approxquantile

record

rastertable text, rastercolumn text, quantiles double precision [], out quantile double precision, out value double precision

postgres

sql

 

public

st_approxquantile

double precision

rastertable text, rastercolumn text, sample_percent double precision, quantile double precision

postgres

sql

 

public

st_approxquantile

record

rastertable text, rastercolumn text, sample_percent double precision, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

sql

 

public

st_approxsummarystats

public.summarystats

rast public.raster, exclude_nodata_value boolean, sample_percent double precision = 0.1

postgres

sql

 

public

st_approxsummarystats

public.summarystats

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 0.1

postgres

sql

 

public

st_approxsummarystats

public.summarystats

rast public.raster, nband integer, sample_percent double precision

postgres

sql

 

public

st_approxsummarystats

public.summarystats

rast public.raster, sample_percent double precision

postgres

sql

 

public

st_approxsummarystats

public.summarystats

rastertable text, rastercolumn text, exclude_nodata_value boolean

postgres

sql

 

public

st_approxsummarystats

public.summarystats

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, sample_percent double precision = 0.1

postgres

sql

 

public

st_approxsummarystats

public.summarystats

rastertable text, rastercolumn text, nband integer, sample_percent double precision

postgres

sql

 

public

st_approxsummarystats

public.summarystats

rastertable text, rastercolumn text, sample_percent double precision

postgres

sql

 

public

st_area

double precision

geog public.geography, use_spheroid boolean = true

postgres

c

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.

public

st_area

double precision

public.geometry

postgres

c

args: g1 - 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.

public

st_area

double precision

text

postgres

sql

 

public

st_area2d

double precision

public.geometry

postgres

c

 

public

st_asbinary

bytea

public.geography

postgres

c

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

public

st_asbinary

bytea

public.geography, text

postgres

sql

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

public

st_asbinary

bytea

public.geometry

postgres

c

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

public

st_asbinary

bytea

public.geometry, text

postgres

c

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.

public

st_asbinary

bytea

public.raster, outasin boolean = false

postgres

c

args: rast, outasin=FALSE - Return the Well-Known Binary (WKB) representation of the raster without SRID meta data.

public

st_asencodedpolyline

text

geom public.geometry, integer = 5

postgres

c

args: geom, precision=5 - Returns an Encoded Polyline from a LineString geometry.

public

st_asewkb

bytea

public.geometry

postgres

c

args: g1 - Return the Well-Known Binary (WKB) representation of the geometry with SRID meta data.

public

st_asewkb

bytea

public.geometry, text

postgres

c

args: g1, NDR_or_XDR - Return the Well-Known Binary (WKB) representation of the geometry with SRID meta data.

public

st_asewkt

text

public.geography

postgres

c

args: g1 - Return the Well-Known Text (WKT) representation of the geometry with SRID meta data.

public

st_asewkt

text

public.geometry

postgres

c

args: g1 - Return the Well-Known Text (WKT) representation of the geometry with SRID meta data.

public

st_asewkt

text

text

postgres

sql

 

public

st_asgdalraster

bytea

rast public.raster, format text, options text [] = NULL::text[], srid integer = NULL::integer

postgres

c

args: rast, format, options=NULL, srid=sameassource - Return the raster tile in the designated GDAL Raster format. Raster formats are one of those supported by your compiled library. Use ST_GDALRasters() to get a list of formats supported by your library.

public

st_asgeojson

text

geog public.geography, maxdecimaldigits integer = 15, options integer = 0

postgres

sql

args: geog, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

public

st_asgeojson

text

geom public.geometry, maxdecimaldigits integer = 15, options integer = 0

postgres

c

args: geom, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

public

st_asgeojson

text

gj_version integer, geog public.geography, maxdecimaldigits integer = 15, options integer = 0

postgres

sql

args: gj_version, geog, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

public

st_asgeojson

text

gj_version integer, geom public.geometry, maxdecimaldigits integer = 15, options integer = 0

postgres

sql

args: gj_version, geom, maxdecimaldigits=15, options=0 - Return the geometry as a GeoJSON element.

public

st_asgeojson

text

text

postgres

sql

 

public

st_asgml

text

geog public.geography, maxdecimaldigits integer = 15, options integer = 0

postgres

sql

args: geog, maxdecimaldigits=15, options=0 - Return the geometry as a GML version 2 or 3 element.

public

st_asgml

text

geom public.geometry, maxdecimaldigits integer = 15, options integer = 0

postgres

sql

args: geom, maxdecimaldigits=15, options=0 - Return the geometry as a GML version 2 or 3 element.

public

st_asgml

text

text

postgres

sql

 

public

st_asgml

text

version integer, geog public.geography, maxdecimaldigits integer = 15, options integer = 0, nprefix text = NULL::text, id text = NULL::text

postgres

sql

args: version, geog, maxdecimaldigits=15, options=0, nprefix=null, id=null - Return the geometry as a GML version 2 or 3 element.

public

st_asgml

text

version integer, geom public.geometry, maxdecimaldigits integer = 15, options integer = 0, nprefix text = NULL::text, id text = NULL::text

postgres

sql

args: version, geom, maxdecimaldigits=15, options=0, nprefix=null, id=null - Return the geometry as a GML version 2 or 3 element.

public

st_ashexewkb

text

public.geometry

postgres

c

args: g1 - Returns a Geometry in HEXEWKB format (as text) using either little-endian (NDR) or big-endian (XDR) encoding.

public

st_ashexewkb

text

public.geometry, text

postgres

c

args: g1, NDRorXDR - Returns a Geometry in HEXEWKB format (as text) using either little-endian (NDR) or big-endian (XDR) encoding.

public

st_asjpeg

bytea

rast public.raster, nband integer, options text [] = NULL::text[]

postgres

sql

args: rast, nband, options=NULL - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

public

st_asjpeg

bytea

rast public.raster, nband integer, quality integer

postgres

sql

args: rast, nband, quality - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

public

st_asjpeg

bytea

rast public.raster, nbands integer [], options text [] = NULL::text[]

postgres

sql

args: rast, nbands, options=NULL - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

public

st_asjpeg

bytea

rast public.raster, nbands integer [], quality integer

postgres

plpgsql

args: rast, nbands, quality - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

public

st_asjpeg

bytea

rast public.raster, options text [] = NULL::text[]

postgres

plpgsql

args: rast, options=NULL - Return the raster tile selected bands as a single Joint Photographic Exports Group (JPEG) image (byte array). If no band is specified and 1 or more than 3 bands, then only the first band is used. If only 3 bands then all 3 bands are used and mapped to RGB.

public

st_askml

text

geog public.geography, maxdecimaldigits integer = 15

postgres

sql

args: geog, maxdecimaldigits=15 - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

public

st_askml

text

geom public.geometry, maxdecimaldigits integer = 15

postgres

sql

args: geom, maxdecimaldigits=15 - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

public

st_askml

text

text

postgres

sql

 

public

st_askml

text

version integer, geog public.geography, maxdecimaldigits integer = 15, nprefix text = NULL::text

postgres

sql

args: version, geog, maxdecimaldigits=15, nprefix=NULL - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

public

st_askml

text

version integer, geom public.geometry, maxdecimaldigits integer = 15, nprefix text = NULL::text

postgres

sql

args: version, geom, maxdecimaldigits=15, nprefix=NULL - Return the geometry as a KML element. Several variants. Default version=2, default precision=15

public

st_aslatlontext

text

geom public.geometry, tmpl text = ''::text

postgres

c

args: pt, format=' - Return the Degrees, Minutes, Seconds representation of the given point.

public

st_aspect

public.raster

rast public.raster, nband integer, customextent public.raster, pixeltype text = '32BF'::text, units text = 'DEGREES'::text, interpolate_nodata boolean = false

postgres

plpgsql

 

public

st_aspect

public.raster

rast public.raster, nband integer = 1, pixeltype text = '32BF'::text, units text = 'DEGREES'::text, interpolate_nodata boolean = false

postgres

sql

 

public

st_aspng

bytea

rast public.raster, nband integer, compression integer

postgres

sql

args: rast, nband, compression - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

public

st_aspng

bytea

rast public.raster, nband integer, options text [] = NULL::text[]

postgres

sql

args: rast, nband, options=NULL - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

public

st_aspng

bytea

rast public.raster, nbands integer [], compression integer

postgres

plpgsql

args: rast, nbands, compression - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

public

st_aspng

bytea

rast public.raster, nbands integer [], options text [] = NULL::text[]

postgres

sql

args: rast, nbands, options=NULL - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

public

st_aspng

bytea

rast public.raster, options text [] = NULL::text[]

postgres

plpgsql

args: rast, options=NULL - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

public

st_asraster

public.raster

geom public.geometry, ref public.raster, pixeltype text [] = ARRAY['8BUI'::text], value double precision [] = ARRAY[1::double precision], nodataval double precision [] = ARRAY[0::double precision], touched boolean = false

postgres

plpgsql

args: geom, ref, pixeltype=ARRAY['8BUI'], value=ARRAY[1], nodataval=ARRAY[0], touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, ref public.raster, pixeltype text, value double precision = 1, nodataval double precision = 0, touched boolean = false

postgres

sql

args: geom, ref, pixeltype, value=1, nodataval=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, scalex double precision, scaley double precision, gridx double precision = NULL::double precision, gridy double precision = NULL::double precision, pixeltype text [] = ARRAY['8BUI'::text], value double precision [] = ARRAY[1::double precision], nodataval double precision [] = ARRAY[0::double precision], skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

sql

args: geom, scalex, scaley, gridx=NULL, gridy=NULL, pixeltype=ARRAY['8BUI'], value=ARRAY[1], nodataval=ARRAY[0], skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, scalex double precision, scaley double precision, gridx double precision, gridy double precision, pixeltype text, value double precision = 1, nodataval double precision = 0, skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

sql

args: geom, scalex, scaley, gridx, gridy, pixeltype, value=1, nodataval=0, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, scalex double precision, scaley double precision, pixeltype text [], value double precision [] = ARRAY[1::double precision], nodataval double precision [] = ARRAY[0::double precision], upperleftx double precision = NULL::double precision, upperlefty double precision = NULL::double precision, skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

sql

args: geom, scalex, scaley, pixeltype, value=ARRAY[1], nodataval=ARRAY[0], upperleftx=NULL, upperlefty=NULL, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, scalex double precision, scaley double precision, pixeltype text, value double precision = 1, nodataval double precision = 0, upperleftx double precision = NULL::double precision, upperlefty double precision = NULL::double precision, skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

sql

args: geom, scalex, scaley, pixeltype, value=1, nodataval=0, upperleftx=NULL, upperlefty=NULL, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, width integer, height integer, gridx double precision = NULL::double precision, gridy double precision = NULL::double precision, pixeltype text [] = ARRAY['8BUI'::text], value double precision [] = ARRAY[1::double precision], nodataval double precision [] = ARRAY[0::double precision], skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

sql

args: geom, width, height, gridx=NULL, gridy=NULL, pixeltype=ARRAY['8BUI'], value=ARRAY[1], nodataval=ARRAY[0], skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, width integer, height integer, gridx double precision, gridy double precision, pixeltype text, value double precision = 1, nodataval double precision = 0, skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

sql

args: geom, width, height, gridx, gridy, pixeltype, value=1, nodataval=0, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, width integer, height integer, pixeltype text [], value double precision [] = ARRAY[1::double precision], nodataval double precision [] = ARRAY[0::double precision], upperleftx double precision = NULL::double precision, upperlefty double precision = NULL::double precision, skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

sql

args: geom, width, height, pixeltype, value=ARRAY[1], nodataval=ARRAY[0], upperleftx=NULL, upperlefty=NULL, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_asraster

public.raster

geom public.geometry, width integer, height integer, pixeltype text, value double precision = 1, nodataval double precision = 0, upperleftx double precision = NULL::double precision, upperlefty double precision = NULL::double precision, skewx double precision = 0, skewy double precision = 0, touched boolean = false

postgres

sql

args: geom, width, height, pixeltype, value=1, nodataval=0, upperleftx=NULL, upperlefty=NULL, skewx=0, skewy=0, touched=false - Converts a PostGIS geometry to a PostGIS raster.

public

st_assvg

text

geog public.geography, rel integer = 0, maxdecimaldigits integer = 15

postgres

c

args: geog, rel=0, maxdecimaldigits=15 - Returns a Geometry in SVG path data given a geometry or geography object.

public

st_assvg

text

geom public.geometry, rel integer = 0, maxdecimaldigits integer = 15

postgres

c

args: geom, rel=0, maxdecimaldigits=15 - Returns a Geometry in SVG path data given a geometry or geography object.

public

st_assvg

text

text

postgres

sql

 

public

st_astext

text

public.geography

postgres

c

args: g1 - Return the Well-Known Text (WKT) representation of the geometry/geography without SRID metadata.

public

st_astext

text

public.geometry

postgres

c

args: g1 - Return the Well-Known Text (WKT) representation of the geometry/geography without SRID metadata.

public

st_astext

text

text

postgres

sql

 

public

st_astiff

bytea

rast public.raster, compression text, srid integer = NULL::integer

postgres

plpgsql

args: rast, compression=', srid=sameassource - Return the raster selected bands as a single TIFF image (byte array). If no band is specified, then will try to use all bands.

public

st_astiff

bytea

rast public.raster, nbands integer [], compression text, srid integer = NULL::integer

postgres

sql

args: rast, nbands, compression=', srid=sameassource - Return the raster selected bands as a single TIFF image (byte array). If no band is specified, then will try to use all bands.

public

st_astiff

bytea

rast public.raster, nbands integer [], options text [] = NULL::text[], srid integer = NULL::integer

postgres

sql

args: rast, nbands, options, srid=sameassource - Return the raster selected bands as a single TIFF image (byte array). If no band is specified, then will try to use all bands.

public

st_astiff

bytea

rast public.raster, options text [] = NULL::text[], srid integer = NULL::integer

postgres

plpgsql

args: rast, options=', srid=sameassource - Return the raster selected bands as a single TIFF image (byte array). If no band is specified, then will try to use all bands.

public

st_astwkb

bytea

geom public.geometry [], ids bigint [], prec integer = NULL::integer, prec_z integer = NULL::integer, prec_m integer = NULL::integer, with_sizes boolean = NULL::boolean, with_boxes boolean = NULL::boolean

postgres

c

args: geometries, unique_ids, decimaldigits_xy=0, decimaldigits_z=0, decimaldigits_m=0, include_sizes=false, include_bounding_boxes=false - Returns the geometry as TWKB, aka "Tiny Well-Known Binary"

public

st_astwkb

bytea

geom public.geometry, prec integer = NULL::integer, prec_z integer = NULL::integer, prec_m integer = NULL::integer, with_sizes boolean = NULL::boolean, with_boxes boolean = NULL::boolean

postgres

c

args: g1, decimaldigits_xy=0, decimaldigits_z=0, decimaldigits_m=0, include_sizes=false, include_bounding boxes=false - Returns the geometry as TWKB, aka "Tiny Well-Known Binary"

public

st_asx3d

text

geom public.geometry, maxdecimaldigits integer = 15, options integer = 0

postgres

sql

args: g1, maxdecimaldigits=15, options=0 - Returns a Geometry in X3D xml node element format: ISO-IEC-19776-1.2-X3DEncodings-XML

public

st_azimuth

double precision

geog1 public.geography, geog2 public.geography

postgres

c

args: pointA, pointB - Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on pointA to pointB.

public

st_azimuth

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

args: pointA, pointB - Returns the north-based azimuth as the angle in radians measured clockwise from the vertical on pointA to pointB.

public

st_band

public.raster

rast public.raster, nband integer

postgres

sql

args: rast, nband - Returns one or more bands of an existing raster as a new raster. Useful for building new rasters from existing rasters.

public

st_band

public.raster

rast public.raster, nbands integer [] = ARRAY[1]

postgres

c

args: rast, nbands = ARRAY[1] - Returns one or more bands of an existing raster as a new raster. Useful for building new rasters from existing rasters.

public

st_band

public.raster

rast public.raster, nbands text, delimiter char = ','::bpchar

postgres

sql

args: rast, nbands, delimiter=, - Returns one or more bands of an existing raster as a new raster. Useful for building new rasters from existing rasters.

public

st_bandisnodata

boolean

rast public.raster, band integer = 1, forcechecking boolean = false

postgres

c

args: rast, band, forceChecking=true - Returns true if the band is filled with only nodata values.

public

st_bandisnodata

boolean

rast public.raster, forcechecking boolean

postgres

sql

args: rast, forceChecking=true - Returns true if the band is filled with only nodata values.

public

st_bandmetadata

record

rast public.raster, band integer [], out bandnum integer, out pixeltype text, out nodatavalue double precision, out isoutdb boolean, out path text

postgres

c

 

public

st_bandmetadata

record

rast public.raster, band integer = 1, out pixeltype text, out nodatavalue double precision, out isoutdb boolean, out path text

postgres

sql

args: rast, bandnum=1 - Returns basic meta data for a specific raster band. band num 1 is assumed if none-specified.

public

st_bandnodatavalue

double precision

rast public.raster, band integer = 1

postgres

c

args: rast, bandnum=1 - Returns the value in a given band that represents no data. If no band num 1 is assumed.

public

st_bandpath

text

rast public.raster, band integer = 1

postgres

c

args: rast, bandnum=1 - Returns system file path to a band stored in file system. If no bandnum specified, 1 is assumed.

public

st_bandpixeltype

text

rast public.raster, band integer = 1

postgres

c

args: rast, bandnum=1 - Returns the type of pixel for given band. If no bandnum specified, 1 is assumed.

public

st_bdmpolyfromtext

public.geometry

text, integer

postgres

plpgsql

args: WKT, srid - Construct a MultiPolygon given an arbitrary collection of closed linestrings as a MultiLineString text representation Well-Known text representation.

public

st_bdpolyfromtext

public.geometry

text, integer

postgres

plpgsql

args: WKT, srid - Construct a Polygon given an arbitrary collection of closed linestrings as a MultiLineString Well-Known text representation.

public

st_boundary

public.geometry

public.geometry

postgres

c

args: geomA - Returns the closure of the combinatorial boundary of this Geometry.

public

st_boundingdiagonal

public.geometry

geom public.geometry, fits boolean = false

postgres

c

args: geom, fits=false - Returns the diagonal of the supplied geometrys bounding box.

public

st_box2dfromgeohash

public.box2d

text, integer = NULL::integer

postgres

c

args: geohash, precision=full_precision_of_geohash - Return a BOX2D from a GeoHash string.

public

st_buffer

public.geography

public.geography, double precision

postgres

sql

args: g1, radius_of_buffer_in_meters - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

public

st_buffer

public.geometry

public.geometry, double precision

postgres

c

args: g1, radius_of_buffer - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

public

st_buffer

public.geometry

public.geometry, double precision, integer

postgres

sql

args: g1, radius_of_buffer, num_seg_quarter_circle - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

public

st_buffer

public.geometry

public.geometry, double precision, text

postgres

sql

args: g1, radius_of_buffer, buffer_style_parameters - (T)Returns a geometry covering all points within a given distancefrom the input geometry.

public

st_buffer

public.geometry

text, double precision

postgres

sql

 

public

st_buildarea

public.geometry

public.geometry

postgres

c

args: A - Creates an areal geometry formed by the constituent linework of given geometry

public

st_centroid

public.geometry

public.geometry

postgres

c

args: g1 - Returns the geometric center of a geometry.

public

st_cleangeometry

public.geometry

public.geometry

postgres

c

 

public

st_clip

public.raster

rast public.raster, geom public.geometry, crop boolean

postgres

sql

 

public

st_clip

public.raster

rast public.raster, geom public.geometry, nodataval double precision [] = NULL::double precision[], crop boolean = true

postgres

sql

 

public

st_clip

public.raster

rast public.raster, geom public.geometry, nodataval double precision, crop boolean = true

postgres

sql

 

public

st_clip

public.raster

rast public.raster, nband integer [], geom public.geometry, nodataval double precision [] = NULL::double precision[], crop boolean = true

postgres

plpgsql

 

public

st_clip

public.raster

rast public.raster, nband integer, geom public.geometry, crop boolean

postgres

sql

 

public

st_clip

public.raster

rast public.raster, nband integer, geom public.geometry, nodataval double precision, crop boolean = true

postgres

sql

 

public

st_clipbybox2d

public.geometry

geom public.geometry, box public.box2d

postgres

c

args: geom, box - Returns the portion of a geometry falling within a rectangle.

public

st_closestpoint

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - Returns the 2-dimensional point on g1 that is closest to g2. This is the first point of the shortest line.

public

st_closestpointofapproach

double precision

public.geometry, public.geometry

postgres

c

args: track1, track2 - Returns the measure at which points interpolated along two lines are closest.

public

st_clusterintersecting

public.geometry []

public.geometry []

postgres

c

 

public

st_clusterwithin

public.geometry []

public.geometry [], double precision

postgres

c

 

public

st_collect

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - Return a specified ST_Geometry value from a collection of other geometries.

public

st_collect

public.geometry

public.geometry []

postgres

c

args: g1_array - Return a specified ST_Geometry value from a collection of other geometries.

public

st_collectionextract

public.geometry

public.geometry, integer

postgres

c

args: collection, type - Given a (multi)geometry, returns a (multi)geometry consisting only of elements of the specified type.

public

st_collectionhomogenize

public.geometry

public.geometry

postgres

c

args: collection - Given a geometry collection, returns the "simplest" representation of the contents.

public

st_colormap

public.raster

rast public.raster, colormap text, method text = 'INTERPOLATE'::text

postgres

sql

 

public

st_colormap

public.raster

rast public.raster, nband integer = 1, colormap text = 'grayscale'::text, method text = 'INTERPOLATE'::text

postgres

plpgsql

 

public

st_combine_bbox

public.box2d

public.box2d, public.geometry

postgres

sql

 

public

st_combine_bbox

public.box3d

public.box3d, public.geometry

postgres

sql

 

public

st_combinebbox

public.box2d

public.box2d, public.geometry

postgres

c

 

public

st_combinebbox

public.box3d

public.box3d, public.geometry

postgres

c

 

public

st_concavehull

public.geometry

param_geom public.geometry, param_pctconvex double precision, param_allow_holes boolean = false

postgres

plpgsql

args: geomA, target_percent, allow_holes=false - The concave hull of a geometry represents a possibly concave geometry that encloses all geometries within the set. You can think of it as shrink wrapping.

public

st_contains

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: geomA, geomB - Returns true if and only if no points of B lie in the exterior of A, and at least one point of the interior of B lies in the interior of A.

public

st_contains

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if no points of raster rastB lie in the exterior of raster rastA and at least one point of the interior of rastB lies in the interior of rastA.

public

st_contains

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if no points of raster rastB lie in the exterior of raster rastA and at least one point of the interior of rastB lies in the interior of rastA.

public

st_containsproperly

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: geomA, geomB - Returns true if B intersects the interior of A but not the boundary (or exterior). A does not contain properly itself, but does contain itself.

public

st_containsproperly

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if rastB intersects the interior of rastA but not the boundary or exterior of rastA.

public

st_containsproperly

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if rastB intersects the interior of rastA but not the boundary or exterior of rastA.

public

st_convexhull

public.geometry

public.geometry

postgres

c

args: geomA - The convex hull of a geometry represents the minimum convex geometry that encloses all geometries within the set.

public

st_convexhull

public.geometry

public.raster

postgres

c

 

public

st_coorddim

smallint

geometry public.geometry

postgres

c

args: geomA - Return the coordinate dimension of the ST_Geometry value.

public

st_count

bigint

rast public.raster, exclude_nodata_value boolean

postgres

sql

args: rast, exclude_nodata_value - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

public

st_count

bigint

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true

postgres

sql

args: rast, nband=1, exclude_nodata_value=true - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

public

st_count

bigint

rastertable text, rastercolumn text, exclude_nodata_value boolean

postgres

sql

args: rastertable, rastercolumn, exclude_nodata_value - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

public

st_count

bigint

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true

postgres

sql

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true - Returns the number of pixels in a given band of a raster or raster coverage. If no band is specified defaults to band 1. If exclude_nodata_value is set to true, will only count pixels that are not equal to the nodata value.

public

st_coveredby

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: geomA, geomB - Returns 1 (TRUE) if no point in Geometry/Geography A is outside Geometry/Geography B

public

st_coveredby

boolean

public.geography, public.geography

postgres

sql

args: geogA, geogB - Returns 1 (TRUE) if no point in Geometry/Geography A is outside Geometry/Geography B

public

st_coveredby

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if no points of raster rastA lie outside raster rastB.

public

st_coveredby

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if no points of raster rastA lie outside raster rastB.

public

st_coveredby

boolean

text, text

postgres

sql

 

public

st_covers

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: geomA, geomB - Returns 1 (TRUE) if no point in Geometry B is outside Geometry A

public

st_covers

boolean

public.geography, public.geography

postgres

sql

args: geogpolyA, geogpointB - Returns 1 (TRUE) if no point in Geometry B is outside Geometry A

public

st_covers

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if no points of raster rastB lie outside raster rastA.

public

st_covers

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if no points of raster rastB lie outside raster rastA.

public

st_covers

boolean

text, text

postgres

sql

 

public

st_cpawithin

boolean

public.geometry, public.geometry, double precision

postgres

c

args: track1, track2, maxdist - Returns true if the trajectories closest points of approachare within the specified distance.

public

st_createoverview

pg_catalog.regclass

tab pg_catalog.regclass, col name, factor integer, algo text = 'NearestNeighbour'::text

postgres

plpgsql

args: tab, col, factor, algo='NearestNeighbor' - Create an reduced resolution version of a given raster coverage.

public

st_crosses

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: g1, g2 - Returns TRUE if the supplied geometries have some, but not all, interior points in common.

public

st_curvetoline

public.geometry

public.geometry

postgres

sql

args: curveGeom - Converts a CIRCULARSTRING/CURVEPOLYGON to a LINESTRING/POLYGON

public

st_curvetoline

public.geometry

public.geometry, integer

postgres

c

args: curveGeom, segments_per_qtr_circle - Converts a CIRCULARSTRING/CURVEPOLYGON to a LINESTRING/POLYGON

public

st_delaunaytriangles

public.geometry

g1 public.geometry, tolerance double precision = 0.0, flags integer = 0

postgres

c

args: g1, tolerance, flags - Return a Delaunay triangulation around the given input points.

public

st_dfullywithin

boolean

geom1 public.geometry, geom2 public.geometry, double precision

postgres

sql

args: g1, g2, distance - Returns true if all of the geometries are within the specified distance of one another

public

st_dfullywithin

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer, distance double precision

postgres

sql

args: rastA, nbandA, rastB, nbandB, distance_of_srid - Return true if rasters rastA and rastB are fully within the specified distance of each other.

public

st_dfullywithin

boolean

rast1 public.raster, rast2 public.raster, distance double precision

postgres

sql

args: rastA, rastB, distance_of_srid - Return true if rasters rastA and rastB are fully within the specified distance of each other.

public

st_difference

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: geomA, geomB - Returns a geometry that represents that part of geometry A that does not intersect with geometry B.

public

st_dimension

integer

public.geometry

postgres

c

args: g - The inherent dimension of this Geometry object, which must be less than or equal to the coordinate dimension.

public

st_disjoint

boolean

geom1 public.geometry, geom2 public.geometry

postgres

c

args: A, B - Returns TRUE if the Geometries do not "spatially intersect" - if they do not share any space together.

public

st_disjoint

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if raster rastA does not spatially intersect rastB.

public

st_disjoint

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if raster rastA does not spatially intersect rastB.

public

st_distance

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.

public

st_distance

double precision

public.geography, public.geography

postgres

sql

args: gg1, gg2 - For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.

public

st_distance

double precision

public.geography, public.geography, boolean

postgres

sql

args: gg1, gg2, use_spheroid - For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref). For geography type defaults to return minimum geodesic distance between two geographies in meters.

public

st_distance

double precision

text, text

postgres

sql

 

public

st_distance_sphere

double precision

geom1 public.geometry, geom2 public.geometry

postgres

sql

 

public

st_distance_spheroid

double precision

geom1 public.geometry, geom2 public.geometry, public.spheroid

postgres

sql

 

public

st_distancecpa

double precision

public.geometry, public.geometry

postgres

c

args: track1, track2 - Returns the distance between closest points of approach in two trajectories.

public

st_distancesphere

double precision

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: geomlonlatA, geomlonlatB - Returns minimum distance in meters between two lon/lat geometries. Uses a spherical earth and radius derived from the spheroid defined by the SRID. Faster than ST_DistanceSpheroid , but less accurate. PostGIS versions prior to 1.5 only implemented for points.

public

st_distancespheroid

double precision

geom1 public.geometry, geom2 public.geometry, public.spheroid

postgres

c

args: geomlonlatA, geomlonlatB, measurement_spheroid - Returns the minimum distance between two lon/lat geometries given a particular spheroid. PostGIS versions prior to 1.5 only support points.

public

st_distinct4ma

double precision

matrix double precision [], nodatamode text, variadic args text []

postgres

sql

 

public

st_distinct4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

sql

 

public

st_dump

public.geometry_dump

public.geometry

postgres

c

args: g1 - Returns a set of geometry_dump (geom,path) rows, that make up a geometry g1.

public

st_dumpaspolygons

public.geomval

rast public.raster, band integer = 1, exclude_nodata_value boolean = true

postgres

c

 

public

st_dumppoints

public.geometry_dump

public.geometry

postgres

c

args: geom - Returns a set of geometry_dump (geom,path) rows of all points that make up a geometry.

public

st_dumprings

public.geometry_dump

public.geometry

postgres

c

args: a_polygon - Returns a set of geometry_dump rows, representing the exterior and interior rings of a polygon.

public

st_dumpvalues

record

rast public.raster, nband integer [] = NULL::integer[], exclude_nodata_value boolean = true, out nband integer, out valarray double precision []

postgres

c

args: rast, nband=NULL, exclude_nodata_value=true - Get the values of the specified band as a 2-dimension array.

public

st_dumpvalues

double precision []

rast public.raster, nband integer, exclude_nodata_value boolean = true

postgres

sql

args: rast, nband, exclude_nodata_value=true - Get the values of the specified band as a 2-dimension array.

public

st_dwithin

boolean

geom1 public.geometry, geom2 public.geometry, double precision

postgres

sql

args: g1, g2, distance_of_srid - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

public

st_dwithin

boolean

public.geography, public.geography, double precision

postgres

sql

args: gg1, gg2, distance_meters - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

public

st_dwithin

boolean

public.geography, public.geography, double precision, boolean

postgres

sql

args: gg1, gg2, distance_meters, use_spheroid - Returns true if the geometries are within the specified distance of one another. For geometry units are in those of spatial reference and For geography units are in meters and measurement is defaulted to use_spheroid=true (measure around spheroid), for faster check, use_spheroid=false to measure along sphere.

public

st_dwithin

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer, distance double precision

postgres

sql

args: rastA, nbandA, rastB, nbandB, distance_of_srid - Return true if rasters rastA and rastB are within the specified distance of each other.

public

st_dwithin

boolean

rast1 public.raster, rast2 public.raster, distance double precision

postgres

sql

args: rastA, rastB, distance_of_srid - Return true if rasters rastA and rastB are within the specified distance of each other.

public

st_dwithin

boolean

text, text, double precision

postgres

sql

 

public

st_endpoint

public.geometry

public.geometry

postgres

c

args: g - Returns the last point of a LINESTRING or CIRCULARLINESTRING geometry as a POINT.

public

st_envelope

public.geometry

public.geometry

postgres

c

args: g1 - Returns a geometry representing the double precision (float8) bounding box of the supplied geometry.

public

st_envelope

public.geometry

public.raster

postgres

c

 

public

st_equals

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: A, B - Returns true if the given geometries represent the same geometry. Directionality is ignored.

public

st_estimated_extent

public.box2d

text, text

postgres

sql

 

public

st_estimated_extent

public.box2d

text, text, text

postgres

sql

 

public

st_estimatedextent

public.box2d

text, text

postgres

c

args: table_name, geocolumn_name - Return the estimated extent of the given spatial table. The estimated is taken from the geometry columns statistics. The current schema will be used if not specified.

public

st_estimatedextent

public.box2d

text, text, text

postgres

c

args: schema_name, table_name, geocolumn_name - Return the estimated extent of the given spatial table. The estimated is taken from the geometry columns statistics. The current schema will be used if not specified.

public

st_expand

public.box2d

public.box2d, double precision

postgres

c

args: g1, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

public

st_expand

public.box3d

public.box3d, double precision

postgres

c

args: g1, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

public

st_expand

public.geometry

public.geometry, double precision

postgres

c

args: g1, units_to_expand - Returns bounding box expanded in all directions from the bounding box of the input geometry. Uses double-precision

public

st_exteriorring

public.geometry

public.geometry

postgres

c

args: a_polygon - Returns a line string representing the exterior ring of the POLYGON geometry. Return NULL if the geometry is not a polygon. Will not work with MULTIPOLYGON

public

st_find_extent

public.box2d

text, text

postgres

sql

 

public

st_find_extent

public.box2d

text, text, text

postgres

sql

 

public

st_findextent

public.box2d

text, text

postgres

plpgsql

 

public

st_findextent

public.box2d

text, text, text

postgres

plpgsql

 

public

st_flipcoordinates

public.geometry

public.geometry

postgres

c

args: geom - Returns a version of the given geometry with X and Y axis flipped. Useful for people who have built latitude/longitude features and need to fix them.

public

st_force_2d

public.geometry

public.geometry

postgres

sql

 

public

st_force_3d

public.geometry

public.geometry

postgres

sql

 

public

st_force_3dm

public.geometry

public.geometry

postgres

sql

 

public

st_force_3dz

public.geometry

public.geometry

postgres

sql

 

public

st_force_4d

public.geometry

public.geometry

postgres

sql

 

public

st_force_collection

public.geometry

public.geometry

postgres

sql

 

public

st_force2d

public.geometry

public.geometry

postgres

c

args: geomA - Forces the geometries into a "2-dimensional mode" so that all output representations will only have the X and Y coordinates.

public

st_force3d

public.geometry

public.geometry

postgres

c

args: geomA - Forces the geometries into XYZ mode. This is an alias for ST_Force3DZ.

public

st_force3dm

public.geometry

public.geometry

postgres

c

args: geomA - Forces the geometries into XYM mode.

public

st_force3dz

public.geometry

public.geometry

postgres

c

args: geomA - Forces the geometries into XYZ mode. This is a synonym for ST_Force3D.

public

st_force4d

public.geometry

public.geometry

postgres

c

args: geomA - Forces the geometries into XYZM mode.

public

st_forcecollection

public.geometry

public.geometry

postgres

c

args: geomA - Converts the geometry into a GEOMETRYCOLLECTION.

public

st_forcecurve

public.geometry

public.geometry

postgres

c

args: g - Upcasts a geometry into its curved type, if applicable.

public

st_forcerhr

public.geometry

public.geometry

postgres

c

args: g - Forces the orientation of the vertices in a polygon to follow the Right-Hand-Rule.

public

st_forcesfs

public.geometry

public.geometry

postgres

c

args: geomA - Forces the geometries to use SFS 1.1 geometry types only.

public

st_forcesfs

public.geometry

public.geometry, version text

postgres

c

args: geomA, version - Forces the geometries to use SFS 1.1 geometry types only.

public

st_fromgdalraster

public.raster

gdaldata bytea, srid integer = NULL::integer

postgres

c

args: gdaldata, srid=NULL - Returns a raster from a supported GDAL raster file.

public

st_gdaldrivers

record

out idx integer, out short_name text, out long_name text, out create_options text

postgres

c

args: OUT idx, OUT short_name, OUT long_name, OUT create_options - Returns a list of raster formats supported by your lib gdal. These are the formats you can output your raster using ST_AsGDALRaster.

public

st_geogfromtext

public.geography

text

postgres

c

args: EWKT - Return a specified geography value from Well-Known Text representation or extended (WKT).

public

st_geogfromwkb

public.geography

bytea

postgres

c

args: wkb - Creates a geography instance from a Well-Known Binary geometry representation (WKB) or extended Well Known Binary (EWKB).

public

st_geographyfromtext

public.geography

text

postgres

c

args: EWKT - Return a specified geography value from Well-Known Text representation or extended (WKT).

public

st_geohash

text

geog public.geography, maxchars integer = 0

postgres

c

 

public

st_geohash

text

geom public.geometry, maxchars integer = 0

postgres

c

args: geom, maxchars=full_precision_of_point - Return a GeoHash representation of the geometry.

public

st_geomcollfromtext

public.geometry

text

postgres

sql

args: WKT - Makes a collection Geometry from collection WKT with the given SRID. If SRID is not give, it defaults to 0.

public

st_geomcollfromtext

public.geometry

text, integer

postgres

sql

args: WKT, srid - Makes a collection Geometry from collection WKT with the given SRID. If SRID is not give, it defaults to 0.

public

st_geomcollfromwkb

public.geometry

bytea

postgres

sql

 

public

st_geomcollfromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_geometryfromtext

public.geometry

text

postgres

c

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

public

st_geometryfromtext

public.geometry

text, integer

postgres

c

args: WKT, srid - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

public

st_geometryn

public.geometry

public.geometry, integer

postgres

c

args: geomA, n - Return the 1-based Nth geometry if the geometry is a GEOMETRYCOLLECTION, (MULTI)POINT, (MULTI)LINESTRING, MULTICURVE or (MULTI)POLYGON, POLYHEDRALSURFACE Otherwise, return NULL.

public

st_geometrytype

text

public.geometry

postgres

c

args: g1 - Return the geometry type of the ST_Geometry value.

public

st_geomfromewkb

public.geometry

bytea

postgres

c

args: EWKB - Return a specified ST_Geometry value from Extended Well-Known Binary representation (EWKB).

public

st_geomfromewkt

public.geometry

text

postgres

c

args: EWKT - Return a specified ST_Geometry value from Extended Well-Known Text representation (EWKT).

public

st_geomfromgeohash

public.geometry

text, integer = NULL::integer

postgres

sql

args: geohash, precision=full_precision_of_geohash - Return a geometry from a GeoHash string.

public

st_geomfromgeojson

public.geometry

text

postgres

c

args: geomjson - Takes as input a geojson representation of a geometry and outputs a PostGIS geometry object

public

st_geomfromgml

public.geometry

text

postgres

sql

args: geomgml - Takes as input GML representation of geometry and outputs a PostGIS geometry object

public

st_geomfromgml

public.geometry

text, integer

postgres

c

args: geomgml, srid - Takes as input GML representation of geometry and outputs a PostGIS geometry object

public

st_geomfromkml

public.geometry

text

postgres

c

args: geomkml - Takes as input KML representation of geometry and outputs a PostGIS geometry object

public

st_geomfromtext

public.geometry

text

postgres

c

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT).

public

st_geomfromtext

public.geometry

text, integer

postgres

c

args: WKT, srid - Return a specified ST_Geometry value from Well-Known Text representation (WKT).

public

st_geomfromtwkb

public.geometry

bytea

postgres

c

args: twkb - Creates a geometry instance from a TWKB ("Tiny Well-Known Binary") geometry representation.

public

st_geomfromwkb

public.geometry

bytea

postgres

c

args: geom - Makes a geometry from WKB with the given SRID

public

st_geomfromwkb

public.geometry

bytea, integer

postgres

sql

args: geom, srid - Makes a geometry from WKB with the given SRID

public

st_georeference

text

rast public.raster, format text = 'GDAL'::text

postgres

plpgsql

args: rast, format=GDAL - Returns the georeference meta data in GDAL or ESRI format as commonly seen in a world file. Default is GDAL.

public

st_geotransform

record

public.raster, out imag double precision, out jmag double precision, out theta_i double precision, out theta_ij double precision, out xoffset double precision, out yoffset double precision

postgres

c

 

public

st_gmltosql

public.geometry

text

postgres

sql

args: geomgml - Return a specified ST_Geometry value from GML representation. This is an alias name for ST_GeomFromGML

public

st_gmltosql

public.geometry

text, integer

postgres

c

args: geomgml, srid - Return a specified ST_Geometry value from GML representation. This is an alias name for ST_GeomFromGML

public

st_hasarc

boolean

geometry public.geometry

postgres

c

args: geomA - Returns true if a geometry or geometry collection contains a circular string

public

st_hasnoband

boolean

rast public.raster, nband integer = 1

postgres

c

args: rast, bandnum=1 - Returns true if there is no band with given band number. If no band number is specified, then band number 1 is assumed.

public

st_hausdorffdistance

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - Returns the Hausdorff distance between two geometries. Basically a measure of how similar or dissimilar 2 geometries are. Units are in the units of the spatial reference system of the geometries.

public

st_hausdorffdistance

double precision

geom1 public.geometry, geom2 public.geometry, double precision

postgres

c

args: g1, g2, densifyFrac - Returns the Hausdorff distance between two geometries. Basically a measure of how similar or dissimilar 2 geometries are. Units are in the units of the spatial reference system of the geometries.

public

st_height

integer

public.raster

postgres

c

args: rast - Returns the height of the raster in pixels.

public

st_hillshade

public.raster

rast public.raster, nband integer, customextent public.raster, pixeltype text = '32BF'::text, azimuth double precision = 315.0, altitude double precision = 45.0, max_bright double precision = 255.0, scale double precision = 1.0, interpolate_nodata boolean = false

postgres

plpgsql

 

public

st_hillshade

public.raster

rast public.raster, nband integer = 1, pixeltype text = '32BF'::text, azimuth double precision = 315.0, altitude double precision = 45.0, max_bright double precision = 255.0, scale double precision = 1.0, interpolate_nodata boolean = false

postgres

sql

 

public

st_histogram

record

rast public.raster, nband integer, bins integer, right boolean, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

args: rast, nband, bins, right - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

public

st_histogram

record

rast public.raster, nband integer, bins integer, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

args: rast, nband, bins, width=NULL, right=false - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

public

st_histogram

record

rast public.raster, nband integer, exclude_nodata_value boolean, bins integer, right boolean, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

args: rast, nband, exclude_nodata_value, bins, right - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

public

st_histogram

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, bins integer = 0, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

args: rast, nband=1, exclude_nodata_value=true, bins=autocomputed, width=NULL, right=false - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

public

st_histogram

record

rastertable text, rastercolumn text, nband integer, bins integer, right boolean, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

args: rastertable, rastercolumn, nband, bins, right - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

public

st_histogram

record

rastertable text, rastercolumn text, nband integer, bins integer, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

args: rastertable, rastercolumn, nband=1, bins, width=NULL, right=false - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

public

st_histogram

record

rastertable text, rastercolumn text, nband integer, exclude_nodata_value boolean, bins integer, right boolean, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

args: rastertable, rastercolumn, nband, exclude_nodata_value, bins, right - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

public

st_histogram

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, bins integer = 0, width double precision [] = NULL::double precision[], right boolean = false, out min double precision, out max double precision, out count bigint, out percent double precision

postgres

sql

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true, bins=autocomputed, width=NULL, right=false - Returns a set of record summarizing a raster or raster coverage data distribution separate bin ranges. Number of bins are autocomputed if not specified.

public

st_interiorringn

public.geometry

public.geometry, integer

postgres

c

args: a_polygon, n - Return the Nth interior linestring ring of the polygon geometry. Return NULL if the geometry is not a polygon or the given N is out of range.

public

st_interpolatepoint

double precision

line public.geometry, point public.geometry

postgres

c

args: line, point - Return the value of the measure dimension of a geometry at the point closed to the provided point.

public

st_intersection

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: geomA, geomB - (T)Returns a geometry that represents the shared portion of geomA and geomB.

public

st_intersection

public.geomval

geomin public.geometry, rast public.raster, band integer = 1

postgres

plpgsql

 

public

st_intersection

public.geography

public.geography, public.geography

postgres

sql

args: geogA, geogB - (T)Returns a geometry that represents the shared portion of geomA and geomB.

public

st_intersection

public.geomval

rast public.raster, band integer, geomin public.geometry

postgres

sql

 

public

st_intersection

public.geomval

rast public.raster, geomin public.geometry

postgres

sql

 

public

st_intersection

public.raster

rast1 public.raster, band1 integer, rast2 public.raster, band2 integer, nodataval double precision []

postgres

sql

 

public

st_intersection

public.raster

rast1 public.raster, band1 integer, rast2 public.raster, band2 integer, nodataval double precision

postgres

sql

 

public

st_intersection

public.raster

rast1 public.raster, band1 integer, rast2 public.raster, band2 integer, returnband text = 'BOTH'::text, nodataval double precision [] = NULL::double precision[]

postgres

plpgsql

 

public

st_intersection

public.raster

rast1 public.raster, band1 integer, rast2 public.raster, band2 integer, returnband text, nodataval double precision

postgres

sql

 

public

st_intersection

public.raster

rast1 public.raster, rast2 public.raster, nodataval double precision []

postgres

sql

 

public

st_intersection

public.raster

rast1 public.raster, rast2 public.raster, nodataval double precision

postgres

sql

 

public

st_intersection

public.raster

rast1 public.raster, rast2 public.raster, returnband text = 'BOTH'::text, nodataval double precision [] = NULL::double precision[]

postgres

sql

 

public

st_intersection

public.raster

rast1 public.raster, rast2 public.raster, returnband text, nodataval double precision

postgres

sql

 

public

st_intersection

public.geometry

text, text

postgres

sql

 

public

st_intersects

boolean

geom public.geometry, rast public.raster, nband integer = NULL::integer

postgres

sql

args: geommin, rast, nband=NULL - Return true if raster rastA spatially intersects raster rastB.

public

st_intersects

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: geomA, geomB - Returns TRUE if the Geometries/Geography "spatially intersect in 2D" - (share any portion of space) and FALSE if they dont (they are Disjoint). For geography -- tolerance is 0.00001 meters (so any points that close are considered to intersect)

public

st_intersects

boolean

public.geography, public.geography

postgres

sql

args: geogA, geogB - Returns TRUE if the Geometries/Geography "spatially intersect in 2D" - (share any portion of space) and FALSE if they dont (they are Disjoint). For geography -- tolerance is 0.00001 meters (so any points that close are considered to intersect)

public

st_intersects

boolean

rast public.raster, geom public.geometry, nband integer = NULL::integer

postgres

sql

args: rast, geommin, nband=NULL - Return true if raster rastA spatially intersects raster rastB.

public

st_intersects

boolean

rast public.raster, nband integer, geom public.geometry

postgres

sql

args: rast, nband, geommin - Return true if raster rastA spatially intersects raster rastB.

public

st_intersects

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if raster rastA spatially intersects raster rastB.

public

st_intersects

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if raster rastA spatially intersects raster rastB.

public

st_intersects

boolean

text, text

postgres

sql

 

public

st_invdistweight4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

st_isclosed

boolean

public.geometry

postgres

c

args: g - Returns TRUE if the LINESTRINGs start and end points are coincident. For Polyhedral surface is closed (volumetric).

public

st_iscollection

boolean

public.geometry

postgres

c

args: g - Returns TRUE if the argument is a collection (MULTI*, GEOMETRYCOLLECTION, ...)

public

st_iscoveragetile

boolean

rast public.raster, coverage public.raster, tilewidth integer, tileheight integer

postgres

plpgsql

 

public

st_isempty

boolean

public.geometry

postgres

c

args: geomA - Returns true if this Geometry is an empty geometrycollection, polygon, point etc.

public

st_isempty

boolean

rast public.raster

postgres

c

args: rast - Returns true if the raster is empty (width = 0 and height = 0). Otherwise, returns false.

public

st_isring

boolean

public.geometry

postgres

c

args: g - Returns TRUE if this LINESTRING is both closed and simple.

public

st_issimple

boolean

public.geometry

postgres

c

args: geomA - Returns (TRUE) if this Geometry has no anomalous geometric points, such as self intersection or self tangency.

public

st_isvalid

boolean

public.geometry

postgres

c

args: g - Returns true if the ST_Geometry is well formed.

public

st_isvalid

boolean

public.geometry, integer

postgres

sql

args: g, flags - Returns true if the ST_Geometry is well formed.

public

st_isvaliddetail

public.valid_detail

public.geometry

postgres

c

args: geom - Returns a valid_detail (valid,reason,location) row stating if a geometry is valid or not and if not valid, a reason why and a location where.

public

st_isvaliddetail

public.valid_detail

public.geometry, integer

postgres

c

args: geom, flags - Returns a valid_detail (valid,reason,location) row stating if a geometry is valid or not and if not valid, a reason why and a location where.

public

st_isvalidreason

text

public.geometry

postgres

c

args: geomA - Returns text stating if a geometry is valid or not and if not valid, a reason why.

public

st_isvalidreason

text

public.geometry, integer

postgres

sql

args: geomA, flags - Returns text stating if a geometry is valid or not and if not valid, a reason why.

public

st_isvalidtrajectory

boolean

public.geometry

postgres

c

args: line - Returns true if the geometry is a valid trajectory.

public

st_length

double precision

geog public.geography, use_spheroid boolean = true

postgres

c

args: geog, use_spheroid=true - Returns the 2D length of the geometry if it is a LineString or MultiLineString. geometry are in units of spatial reference and geography are in meters (default spheroid)

public

st_length

double precision

public.geometry

postgres

c

args: a_2dlinestring - Returns the 2D length of the geometry if it is a LineString or MultiLineString. geometry are in units of spatial reference and geography are in meters (default spheroid)

public

st_length

double precision

text

postgres

sql

 

public

st_length_spheroid

double precision

public.geometry, public.spheroid

postgres

sql

 

public

st_length2d

double precision

public.geometry

postgres

c

args: a_2dlinestring - Returns the 2-dimensional length of the geometry if it is a linestring or multi-linestring. This is an alias for ST_Length

public

st_length2d_spheroid

double precision

public.geometry, public.spheroid

postgres

sql

args: a_linestring, a_spheroid - Calculates the 2D length of a linestring/multilinestring on an ellipsoid. This is useful if the coordinates of the geometry are in longitude/latitude and a length is desired without reprojection.

public

st_length2dspheroid

double precision

public.geometry, public.spheroid

postgres

c

 

public

st_lengthspheroid

double precision

public.geometry, public.spheroid

postgres

c

args: a_linestring, a_spheroid - Calculates the 2D or 3D length of a linestring/multilinestring on an ellipsoid. This is useful if the coordinates of the geometry are in longitude/latitude and a length is desired without reprojection.

public

st_line_interpolate_point

public.geometry

public.geometry, double precision

postgres

sql

 

public

st_line_locate_point

double precision

geom1 public.geometry, geom2 public.geometry

postgres

sql

 

public

st_line_substring

public.geometry

public.geometry, double precision, double precision

postgres

sql

 

public

st_linecrossingdirection

integer

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: linestringA, linestringB - Given 2 linestrings, returns a number between -3 and 3 denoting what kind of crossing behavior. 0 is no crossing.

public

st_linefromencodedpolyline

public.geometry

text, integer = 5

postgres

c

args: polyline, precision=5 - Creates a LineString from an Encoded Polyline.

public

st_linefrommultipoint

public.geometry

public.geometry

postgres

c

args: aMultiPoint - Creates a LineString from a MultiPoint geometry.

public

st_linefromtext

public.geometry

text

postgres

sql

args: WKT - Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to 0.

public

st_linefromtext

public.geometry

text, integer

postgres

sql

args: WKT, srid - Makes a Geometry from WKT representation with the given SRID. If SRID is not given, it defaults to 0.

public

st_linefromwkb

public.geometry

bytea

postgres

sql

args: WKB - Makes a LINESTRING from WKB with the given SRID

public

st_linefromwkb

public.geometry

bytea, integer

postgres

sql

args: WKB, srid - Makes a LINESTRING from WKB with the given SRID

public

st_lineinterpolatepoint

public.geometry

public.geometry, double precision

postgres

c

args: a_linestring, a_fraction - Returns a point interpolated along a line. Second argument is a float8 between 0 and 1 representing fraction of total length of linestring the point has to be located.

public

st_linelocatepoint

double precision

geom1 public.geometry, geom2 public.geometry

postgres

c

args: a_linestring, a_point - Returns a float between 0 and 1 representing the location of the closest point on LineString to the given Point, as a fraction of total 2d line length.

public

st_linemerge

public.geometry

public.geometry

postgres

c

args: amultilinestring - Returns a (set of) LineString(s) formed by sewing together a MULTILINESTRING.

public

st_linestringfromwkb

public.geometry

bytea

postgres

sql

args: WKB - Makes a geometry from WKB with the given SRID.

public

st_linestringfromwkb

public.geometry

bytea, integer

postgres

sql

args: WKB, srid - Makes a geometry from WKB with the given SRID.

public

st_linesubstring

public.geometry

public.geometry, double precision, double precision

postgres

c

args: a_linestring, startfraction, endfraction - Return a linestring being a substring of the input one starting and ending at the given fractions of total 2d length. Second and third arguments are float8 values between 0 and 1.

public

st_linetocurve

public.geometry

geometry public.geometry

postgres

c

args: geomANoncircular - Converts a LINESTRING/POLYGON to a CIRCULARSTRING, CURVEPOLYGON

public

st_locate_along_measure

public.geometry

public.geometry, double precision

postgres

sql

 

public

st_locate_between_measures

public.geometry

public.geometry, double precision, double precision

postgres

c

 

public

st_locatealong

public.geometry

geometry public.geometry, measure double precision, leftrightoffset double precision = 0.0

postgres

c

args: ageom_with_measure, a_measure, offset - Return a derived geometry collection value with elements that match the specified measure. Polygonal elements are not supported.

public

st_locatebetween

public.geometry

geometry public.geometry, frommeasure double precision, tomeasure double precision, leftrightoffset double precision = 0.0

postgres

c

args: geomA, measure_start, measure_end, offset - Return a derived geometry collection value with elements that match the specified range of measures inclusively. Polygonal elements are not supported.

public

st_locatebetweenelevations

public.geometry

geometry public.geometry, fromelevation double precision, toelevation double precision

postgres

c

args: geom_mline, elevation_start, elevation_end - Return a derived geometry (collection) value with elements that intersect the specified range of elevations inclusively. Only 3D, 4D LINESTRINGS and MULTILINESTRINGS are supported.

public

st_longestline

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: g1, g2 - Returns the 2-dimensional longest line points of two geometries. The function will only return the first longest line if more than one, that the function finds. The line returned will always start in g1 and end in g2. The length of the line this function returns will always be the same as st_maxdistance returns for g1 and g2.

public

st_m

double precision

public.geometry

postgres

c

args: a_point - Return the M coordinate of the point, or NULL if not available. Input must be a point.

public

st_makebox2d

public.box2d

geom1 public.geometry, geom2 public.geometry

postgres

c

args: pointLowLeft, pointUpRight - Creates a BOX2D defined by the given point geometries.

public

st_makeemptyraster

public.raster

rast public.raster

postgres

plpgsql

args: rast - Returns an empty raster (having no bands) of given dimensions (width & height), upperleft X and Y, pixel size and rotation (scalex, scaley, skewx & skewy) and reference system (srid). If a raster is passed in, returns a new raster with the same size, alignment and SRID. If srid is left out, the spatial ref is set to unknown (0).

public

st_makeemptyraster

public.raster

width integer, height integer, upperleftx double precision, upperlefty double precision, pixelsize double precision

postgres

sql

args: width, height, upperleftx, upperlefty, pixelsize - Returns an empty raster (having no bands) of given dimensions (width & height), upperleft X and Y, pixel size and rotation (scalex, scaley, skewx & skewy) and reference system (srid). If a raster is passed in, returns a new raster with the same size, alignment and SRID. If srid is left out, the spatial ref is set to unknown (0).

public

st_makeemptyraster

public.raster

width integer, height integer, upperleftx double precision, upperlefty double precision, scalex double precision, scaley double precision, skewx double precision, skewy double precision, srid integer = 0

postgres

c

args: width, height, upperleftx, upperlefty, scalex, scaley, skewx, skewy, srid=unknown - Returns an empty raster (having no bands) of given dimensions (width & height), upperleft X and Y, pixel size and rotation (scalex, scaley, skewx & skewy) and reference system (srid). If a raster is passed in, returns a new raster with the same size, alignment and SRID. If srid is left out, the spatial ref is set to unknown (0).

public

st_makeenvelope

public.geometry

double precision, double precision, double precision, double precision, integer = 0

postgres

c

args: xmin, ymin, xmax, ymax, srid=unknown - Creates a rectangular Polygon formed from the given minimums and maximums. Input values must be in SRS specified by the SRID.

public

st_makeline

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: geom1, geom2 - Creates a Linestring from point or line geometries.

public

st_makeline

public.geometry

public.geometry []

postgres

c

args: geoms_array - Creates a Linestring from point or line geometries.

public

st_makepoint

public.geometry

double precision, double precision

postgres

c

args: x, y - Creates a 2D,3DZ or 4D point geometry.

public

st_makepoint

public.geometry

double precision, double precision, double precision

postgres

c

args: x, y, z - Creates a 2D,3DZ or 4D point geometry.

public

st_makepoint

public.geometry

double precision, double precision, double precision, double precision

postgres

c

args: x, y, z, m - Creates a 2D,3DZ or 4D point geometry.

public

st_makepointm

public.geometry

double precision, double precision, double precision

postgres

c

args: x, y, m - Creates a point geometry with an x y and m coordinate.

public

st_makepolygon

public.geometry

public.geometry

postgres

c

args: linestring - Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS.

public

st_makepolygon

public.geometry

public.geometry, public.geometry []

postgres

c

args: outerlinestring, interiorlinestrings - Creates a Polygon formed by the given shell. Input geometries must be closed LINESTRINGS.

public

st_makevalid

public.geometry

public.geometry

postgres

c

args: input - Attempts to make an invalid geometry valid without losing vertices.

public

st_mapalgebra

public.raster

rast public.raster, nband integer [], callbackfunc pg_catalog.regprocedure, pixeltype text = NULL::text, extenttype text = 'FIRST'::text, customextent public.raster = NULL::raster, distancex integer = 0, distancey integer = 0, variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

st_mapalgebra

public.raster

rast public.raster, nband integer, callbackfunc pg_catalog.regprocedure, mask double precision [], weighted boolean, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, customextent public.raster = NULL::raster, variadic userargs text [] = NULL::text[]

postgres

sql

 

public

st_mapalgebra

public.raster

rast public.raster, nband integer, callbackfunc pg_catalog.regprocedure, pixeltype text = NULL::text, extenttype text = 'FIRST'::text, customextent public.raster = NULL::raster, distancex integer = 0, distancey integer = 0, variadic userargs text [] = NULL::text[]

postgres

sql

 

public

st_mapalgebra

public.raster

rast public.raster, nband integer, pixeltype text, expression text, nodataval double precision = NULL::double precision

postgres

sql

 

public

st_mapalgebra

public.raster

rast public.raster, pixeltype text, expression text, nodataval double precision = NULL::double precision

postgres

sql

 

public

st_mapalgebra

public.raster

rast1 public.raster, band1 integer, rast2 public.raster, band2 integer, expression text, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, nodata1expr text = NULL::text, nodata2expr text = NULL::text, nodatanodataval double precision = NULL::double precision

postgres

sql

 

public

st_mapalgebra

public.raster

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer, callbackfunc pg_catalog.regprocedure, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, customextent public.raster = NULL::raster, distancex integer = 0, distancey integer = 0, variadic userargs text [] = NULL::text[]

postgres

sql

 

public

st_mapalgebra

public.raster

rast1 public.raster, rast2 public.raster, expression text, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, nodata1expr text = NULL::text, nodata2expr text = NULL::text, nodatanodataval double precision = NULL::double precision

postgres

sql

 

public

st_mapalgebra

public.raster

rastbandargset public.rastbandarg [], callbackfunc pg_catalog.regprocedure, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, customextent public.raster = NULL::raster, distancex integer = 0, distancey integer = 0, variadic userargs text [] = NULL::text[]

postgres

sql

 

public

st_mapalgebraexpr

public.raster

rast public.raster, band integer, pixeltype text, expression text, nodataval double precision = NULL::double precision

postgres

c

 

public

st_mapalgebraexpr

public.raster

rast public.raster, pixeltype text, expression text, nodataval double precision = NULL::double precision

postgres

sql

 

public

st_mapalgebraexpr

public.raster

rast1 public.raster, band1 integer, rast2 public.raster, band2 integer, expression text, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, nodata1expr text = NULL::text, nodata2expr text = NULL::text, nodatanodataval double precision = NULL::double precision

postgres

c

 

public

st_mapalgebraexpr

public.raster

rast1 public.raster, rast2 public.raster, expression text, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, nodata1expr text = NULL::text, nodata2expr text = NULL::text, nodatanodataval double precision = NULL::double precision

postgres

sql

 

public

st_mapalgebrafct

public.raster

rast public.raster, band integer, onerastuserfunc pg_catalog.regprocedure

postgres

sql

 

public

st_mapalgebrafct

public.raster

rast public.raster, band integer, onerastuserfunc pg_catalog.regprocedure, variadic args text []

postgres

sql

 

public

st_mapalgebrafct

public.raster

rast public.raster, band integer, pixeltype text, onerastuserfunc pg_catalog.regprocedure

postgres

sql

 

public

st_mapalgebrafct

public.raster

rast public.raster, band integer, pixeltype text, onerastuserfunc pg_catalog.regprocedure, variadic args text []

postgres

c

 

public

st_mapalgebrafct

public.raster

rast public.raster, onerastuserfunc pg_catalog.regprocedure

postgres

sql

 

public

st_mapalgebrafct

public.raster

rast public.raster, onerastuserfunc pg_catalog.regprocedure, variadic args text []

postgres

sql

 

public

st_mapalgebrafct

public.raster

rast public.raster, pixeltype text, onerastuserfunc pg_catalog.regprocedure

postgres

sql

 

public

st_mapalgebrafct

public.raster

rast public.raster, pixeltype text, onerastuserfunc pg_catalog.regprocedure, variadic args text []

postgres

sql

 

public

st_mapalgebrafct

public.raster

rast1 public.raster, band1 integer, rast2 public.raster, band2 integer, tworastuserfunc pg_catalog.regprocedure, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, variadic userargs text [] = NULL::text[]

postgres

c

 

public

st_mapalgebrafct

public.raster

rast1 public.raster, rast2 public.raster, tworastuserfunc pg_catalog.regprocedure, pixeltype text = NULL::text, extenttype text = 'INTERSECTION'::text, variadic userargs text [] = NULL::text[]

postgres

sql

 

public

st_mapalgebrafctngb

public.raster

rast public.raster, band integer, pixeltype text, ngbwidth integer, ngbheight integer, onerastngbuserfunc pg_catalog.regprocedure, nodatamode text, variadic args text []

postgres

c

 

public

st_max4ma

double precision

matrix double precision [], nodatamode text, variadic args text []

postgres

plpgsql

 

public

st_max4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

st_maxdistance

double precision

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: g1, g2 - Returns the 2-dimensional largest distance between two geometries in projected units.

public

st_mean4ma

double precision

matrix double precision [], nodatamode text, variadic args text []

postgres

plpgsql

 

public

st_mean4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

st_mem_size

integer

public.geometry

postgres

sql

 

public

st_memsize

integer

public.geometry

postgres

c

args: geomA - Returns the amount of space (in bytes) the geometry takes.

public

st_memsize

integer

public.raster

postgres

c

args: rast - Returns the amount of space (in bytes) the raster takes.

public

st_metadata

record

rast public.raster, out upperleftx double precision, out upperlefty double precision, out width integer, out height integer, out scalex double precision, out scaley double precision, out skewx double precision, out skewy double precision, out srid integer, out numbands integer

postgres

c

args: rast - Returns basic meta data about a raster object such as pixel size, rotation (skew), upper, lower left, etc.

public

st_min4ma

double precision

matrix double precision [], nodatamode text, variadic args text []

postgres

plpgsql

 

public

st_min4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

st_minconvexhull

public.geometry

rast public.raster, nband integer = NULL::integer

postgres

c

 

public

st_mindist4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

st_minimumboundingcircle

public.geometry

inputgeom public.geometry, segs_per_quarter integer = 48

postgres

plpgsql

args: geomA, num_segs_per_qt_circ=48 - Returns the smallest circle polygon that can fully contain a geometry. Default uses 48 segments per quarter circle.

public

st_minpossiblevalue

double precision

pixeltype text

postgres

c

 

public

st_mlinefromtext

public.geometry

text

postgres

sql

args: WKT - Return a specified ST_MultiLineString value from WKT representation.

public

st_mlinefromtext

public.geometry

text, integer

postgres

sql

args: WKT, srid - Return a specified ST_MultiLineString value from WKT representation.

public

st_mlinefromwkb

public.geometry

bytea

postgres

sql

 

public

st_mlinefromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_mpointfromtext

public.geometry

text

postgres

sql

args: WKT - Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0.

public

st_mpointfromtext

public.geometry

text, integer

postgres

sql

args: WKT, srid - Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0.

public

st_mpointfromwkb

public.geometry

bytea

postgres

sql

 

public

st_mpointfromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_mpolyfromtext

public.geometry

text

postgres

sql

args: WKT - Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0.

public

st_mpolyfromtext

public.geometry

text, integer

postgres

sql

args: WKT, srid - Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0.

public

st_mpolyfromwkb

public.geometry

bytea

postgres

sql

 

public

st_mpolyfromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_multi

public.geometry

public.geometry

postgres

c

args: g1 - Returns the geometry as a MULTI* geometry. If the geometry is already a MULTI*, it is returned unchanged.

public

st_multilinefromwkb

public.geometry

bytea

postgres

sql

 

public

st_multilinestringfromtext

public.geometry

text

postgres

sql

 

public

st_multilinestringfromtext

public.geometry

text, integer

postgres

sql

 

public

st_multipointfromtext

public.geometry

text

postgres

sql

 

public

st_multipointfromwkb

public.geometry

bytea

postgres

sql

 

public

st_multipointfromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_multipolyfromwkb

public.geometry

bytea

postgres

sql

 

public

st_multipolyfromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_multipolygonfromtext

public.geometry

text

postgres

sql

 

public

st_multipolygonfromtext

public.geometry

text, integer

postgres

sql

 

public

st_ndims

smallint

public.geometry

postgres

c

args: g1 - Returns coordinate dimension of the geometry as a small int. Values are: 2,3 or 4.

public

st_nearestvalue

double precision

rast public.raster, band integer, columnx integer, rowy integer, exclude_nodata_value boolean = true

postgres

sql

args: rast, bandnum, columnx, rowy, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

public

st_nearestvalue

double precision

rast public.raster, band integer, pt public.geometry, exclude_nodata_value boolean = true

postgres

c

args: rast, bandnum, pt, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

public

st_nearestvalue

double precision

rast public.raster, columnx integer, rowy integer, exclude_nodata_value boolean = true

postgres

sql

args: rast, columnx, rowy, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

public

st_nearestvalue

double precision

rast public.raster, pt public.geometry, exclude_nodata_value boolean = true

postgres

sql

args: rast, pt, exclude_nodata_value=true - Returns the nearest non-NODATA value of a given bands pixel specified by a columnx and rowy or a geometric point expressed in the same spatial reference coordinate system as the raster.

public

st_neighborhood

double precision []

rast public.raster, band integer, columnx integer, rowy integer, distancex integer, distancey integer, exclude_nodata_value boolean = true

postgres

sql

args: rast, bandnum, columnX, rowY, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.

public

st_neighborhood

double precision []

rast public.raster, band integer, pt public.geometry, distancex integer, distancey integer, exclude_nodata_value boolean = true

postgres

plpgsql

args: rast, bandnum, pt, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.

public

st_neighborhood

double precision []

rast public.raster, columnx integer, rowy integer, distancex integer, distancey integer, exclude_nodata_value boolean = true

postgres

sql

args: rast, columnX, rowY, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.

public

st_neighborhood

double precision []

rast public.raster, pt public.geometry, distancex integer, distancey integer, exclude_nodata_value boolean = true

postgres

sql

args: rast, pt, distanceX, distanceY, exclude_nodata_value=true - Returns a 2-D double precision array of the non-NODATA values around a given bands pixel specified by either a columnX and rowY or a geometric point expressed in the same spatial reference coordinate system as the raster.

public

st_node

public.geometry

g public.geometry

postgres

c

args: geom - Node a set of linestrings.

public

st_notsamealignmentreason

text

rast1 public.raster, rast2 public.raster

postgres

c

args: rastA, rastB - Returns text stating if rasters are aligned and if not aligned, a reason why.

public

st_npoints

integer

public.geometry

postgres

c

args: g1 - Return the number of points (vertexes) in a geometry.

public

st_nrings

integer

public.geometry

postgres

c

args: geomA - If the geometry is a polygon or multi-polygon returns the number of rings.

public

st_numbands

integer

public.raster

postgres

c

args: rast - Returns the number of bands in the raster object.

public

st_numgeometries

integer

public.geometry

postgres

c

args: geom - If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the number of geometries, for single geometries will return 1, otherwise return NULL.

public

st_numinteriorring

integer

public.geometry

postgres

c

args: a_polygon - Return the number of interior rings of a polygon in the geometry. Synonym for ST_NumInteriorRings.

public

st_numinteriorrings

integer

public.geometry

postgres

c

args: a_polygon - Return the number of interior rings of the a polygon in the geometry. This will work with POLYGON and return NULL for a MULTIPOLYGON type or any other type

public

st_numpatches

integer

public.geometry

postgres

sql

args: g1 - Return the number of faces on a Polyhedral Surface. Will return null for non-polyhedral geometries.

public

st_numpoints

integer

public.geometry

postgres

c

args: g1 - Return the number of points in an ST_LineString or ST_CircularString value.

public

st_offsetcurve

public.geometry

line public.geometry, distance double precision, params text = ''::text

postgres

c

args: line, signed_distance, style_parameters=' - Return an offset line at a given distance and side from an input line. Useful for computing parallel lines about a center line

public

st_orderingequals

boolean

geometrya public.geometry, geometryb public.geometry

postgres

sql

args: A, B - Returns true if the given geometries represent the same geometry and points are in the same directional order.

public

st_overlaps

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: A, B - Returns TRUE if the Geometries share space, are of the same dimension, but are not completely contained by each other.

public

st_overlaps

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if raster rastA and rastB intersect but one does not completely contain the other.

public

st_overlaps

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if raster rastA and rastB intersect but one does not completely contain the other.

public

st_patchn

public.geometry

public.geometry, integer

postgres

sql

args: geomA, n - Return the 1-based Nth geometry (face) if the geometry is a POLYHEDRALSURFACE, POLYHEDRALSURFACEM. Otherwise, return NULL.

public

st_perimeter

double precision

geog public.geography, use_spheroid boolean = true

postgres

c

args: geog, use_spheroid=true - Return the length measurement of the boundary of an ST_Surface or ST_MultiSurface geometry or geography. (Polygon, MultiPolygon). geometry measurement is in units of spatial reference and geography is in meters.

public

st_perimeter

double precision

public.geometry

postgres

c

args: g1 - Return the length measurement of the boundary of an ST_Surface or ST_MultiSurface geometry or geography. (Polygon, MultiPolygon). geometry measurement is in units of spatial reference and geography is in meters.

public

st_perimeter2d

double precision

public.geometry

postgres

c

args: geomA - Returns the 2-dimensional perimeter of the geometry, if it is a polygon or multi-polygon. This is currently an alias for ST_Perimeter.

public

st_pixelascentroid

public.geometry

rast public.raster, x integer, y integer

postgres

sql

args: rast, columnx, rowy - Returns the centroid (point geometry) of the area represented by a pixel.

public

st_pixelascentroids

record

rast public.raster, band integer = 1, exclude_nodata_value boolean = true, out geom public.geometry, out val double precision, out x integer, out y integer

postgres

sql

args: rast, band=1, exclude_nodata_value=TRUE - Returns the centroid (point geometry) for each pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel. The point geometry is the centroid of the area represented by a pixel.

public

st_pixelaspoint

public.geometry

rast public.raster, x integer, y integer

postgres

sql

args: rast, columnx, rowy - Returns a point geometry of the pixels upper-left corner.

public

st_pixelaspoints

record

rast public.raster, band integer = 1, exclude_nodata_value boolean = true, out geom public.geometry, out val double precision, out x integer, out y integer

postgres

sql

args: rast, band=1, exclude_nodata_value=TRUE - Returns a point geometry for each pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel. The coordinates of the point geometry are of the pixels upper-left corner.

public

st_pixelaspolygon

public.geometry

rast public.raster, x integer, y integer

postgres

sql

args: rast, columnx, rowy - Returns the polygon geometry that bounds the pixel for a particular row and column.

public

st_pixelaspolygons

record

rast public.raster, band integer = 1, exclude_nodata_value boolean = true, out geom public.geometry, out val double precision, out x integer, out y integer

postgres

sql

args: rast, band=1, exclude_nodata_value=TRUE - Returns the polygon geometry that bounds every pixel of a raster band along with the value, the X and the Y raster coordinates of each pixel.

public

st_pixelheight

double precision

public.raster

postgres

c

args: rast - Returns the pixel height in geometric units of the spatial reference system.

public

st_pixelofvalue

record

rast public.raster, nband integer, search double precision [], exclude_nodata_value boolean = true, out val double precision, out x integer, out y integer

postgres

c

args: rast, nband, search, exclude_nodata_value=true - Get the columnx, rowy coordinates of the pixel whose value equals the search value.

public

st_pixelofvalue

record

rast public.raster, nband integer, search double precision, exclude_nodata_value boolean = true, out x integer, out y integer

postgres

sql

args: rast, nband, search, exclude_nodata_value=true - Get the columnx, rowy coordinates of the pixel whose value equals the search value.

public

st_pixelofvalue

record

rast public.raster, search double precision [], exclude_nodata_value boolean = true, out val double precision, out x integer, out y integer

postgres

sql

args: rast, search, exclude_nodata_value=true - Get the columnx, rowy coordinates of the pixel whose value equals the search value.

public

st_pixelofvalue

record

rast public.raster, search double precision, exclude_nodata_value boolean = true, out x integer, out y integer

postgres

sql

args: rast, search, exclude_nodata_value=true - Get the columnx, rowy coordinates of the pixel whose value equals the search value.

public

st_pixelwidth

double precision

public.raster

postgres

c

args: rast - Returns the pixel width in geometric units of the spatial reference system.

public

st_point

public.geometry

double precision, double precision

postgres

c

args: x_lon, y_lat - Returns an ST_Point with the given coordinate values. OGC alias for ST_MakePoint.

public

st_point_inside_circle

boolean

public.geometry, double precision, double precision, double precision

postgres

sql

 

public

st_pointfromgeohash

public.geometry

text, integer = NULL::integer

postgres

c

args: geohash, precision=full_precision_of_geohash - Return a point from a GeoHash string.

public

st_pointfromtext

public.geometry

text

postgres

sql

args: WKT - Makes a point Geometry from WKT with the given SRID. If SRID is not given, it defaults to unknown.

public

st_pointfromtext

public.geometry

text, integer

postgres

sql

args: WKT, srid - Makes a point Geometry from WKT with the given SRID. If SRID is not given, it defaults to unknown.

public

st_pointfromwkb

public.geometry

bytea

postgres

sql

 

public

st_pointfromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_pointinsidecircle

boolean

public.geometry, double precision, double precision, double precision

postgres

c

args: a_point, center_x, center_y, radius - Is the point geometry insert circle defined by center_x, center_y, radius

public

st_pointn

public.geometry

public.geometry, integer

postgres

c

args: a_linestring, n - Return the Nth point in the first linestring or circular linestring in the geometry. Return NULL if there is no linestring in the geometry.

public

st_pointonsurface

public.geometry

public.geometry

postgres

c

args: g1 - Returns a POINT guaranteed to lie on the surface.

public

st_polyfromtext

public.geometry

text

postgres

sql

 

public

st_polyfromtext

public.geometry

text, integer

postgres

sql

 

public

st_polyfromwkb

public.geometry

bytea

postgres

sql

 

public

st_polyfromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_polygon

public.geometry

public.geometry, integer

postgres

sql

args: aLineString, srid - Returns a polygon built from the specified linestring and SRID.

public

st_polygon

public.geometry

rast public.raster, band integer = 1

postgres

c

 

public

st_polygonfromtext

public.geometry

text

postgres

sql

args: WKT - Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0.

public

st_polygonfromtext

public.geometry

text, integer

postgres

sql

args: WKT, srid - Makes a Geometry from WKT with the given SRID. If SRID is not give, it defaults to 0.

public

st_polygonfromwkb

public.geometry

bytea

postgres

sql

 

public

st_polygonfromwkb

public.geometry

bytea, integer

postgres

sql

 

public

st_polygonize

public.geometry

public.geometry []

postgres

c

args: geom_array - Aggregate. Creates a GeometryCollection containing possible polygons formed from the constituent linework of a set of geometries.

public

st_project

public.geography

geog public.geography, distance double precision, azimuth double precision

postgres

c

args: g1, distance, azimuth - Returns a POINT projected from a start point using a distance in meters and bearing (azimuth) in radians.

public

st_quantile

double precision

rast public.raster, exclude_nodata_value boolean, quantile double precision = NULL::double precision

postgres

sql

args: rast, exclude_nodata_value, quantile=NULL - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

double precision

rast public.raster, nband integer, exclude_nodata_value boolean, quantile double precision

postgres

sql

args: rast, nband, exclude_nodata_value, quantile - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

sql

args: rast, nband=1, exclude_nodata_value=true, quantiles=NULL - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

double precision

rast public.raster, nband integer, quantile double precision

postgres

sql

args: rast, nband, quantile - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

record

rast public.raster, nband integer, quantiles double precision [], out quantile double precision, out value double precision

postgres

sql

args: rast, nband, quantiles - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

double precision

rast public.raster, quantile double precision

postgres

sql

args: rast, quantile - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

record

rast public.raster, quantiles double precision [], out quantile double precision, out value double precision

postgres

sql

args: rast, quantiles - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

double precision

rastertable text, rastercolumn text, exclude_nodata_value boolean, quantile double precision = NULL::double precision

postgres

sql

 

public

st_quantile

double precision

rastertable text, rastercolumn text, nband integer, exclude_nodata_value boolean, quantile double precision

postgres

sql

 

public

st_quantile

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, quantiles double precision [] = NULL::double precision[], out quantile double precision, out value double precision

postgres

sql

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true, quantiles=NULL - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

double precision

rastertable text, rastercolumn text, nband integer, quantile double precision

postgres

sql

 

public

st_quantile

record

rastertable text, rastercolumn text, nband integer, quantiles double precision [], out quantile double precision, out value double precision

postgres

sql

args: rastertable, rastercolumn, nband, quantiles - Compute quantiles for a raster or raster table coverage in the context of the sample or population. Thus, a value could be examined to be at the rasters 25%, 50%, 75% percentile.

public

st_quantile

double precision

rastertable text, rastercolumn text, quantile double precision

postgres

sql

 

public

st_quantile

record

rastertable text, rastercolumn text, quantiles double precision [], out quantile double precision, out value double precision

postgres

sql

 

public

st_range4ma

double precision

matrix double precision [], nodatamode text, variadic args text []

postgres

plpgsql

 

public

st_range4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

st_rastertoworldcoord

record

rast public.raster, columnx integer, rowy integer, out longitude double precision, out latitude double precision

postgres

sql

args: rast, xcolumn, yrow - Returns the rasters upper left corner as geometric X and Y (longitude and latitude) given a column and row. Column and row starts at 1.

public

st_rastertoworldcoordx

double precision

rast public.raster, xr integer

postgres

sql

args: rast, xcolumn - Returns the geometric X coordinate upper left of a raster, column and row. Numbering of columns and rows starts at 1.

public

st_rastertoworldcoordx

double precision

rast public.raster, xr integer, yr integer

postgres

sql

args: rast, xcolumn, yrow - Returns the geometric X coordinate upper left of a raster, column and row. Numbering of columns and rows starts at 1.

public

st_rastertoworldcoordy

double precision

rast public.raster, xr integer, yr integer

postgres

sql

args: rast, xcolumn, yrow - Returns the geometric Y coordinate upper left corner of a raster, column and row. Numbering of columns and rows starts at 1.

public

st_rastertoworldcoordy

double precision

rast public.raster, yr integer

postgres

sql

args: rast, yrow - Returns the geometric Y coordinate upper left corner of a raster, column and row. Numbering of columns and rows starts at 1.

public

st_reclass

public.raster

rast public.raster, nband integer, reclassexpr text, pixeltype text, nodataval double precision = NULL::double precision

postgres

sql

 

public

st_reclass

public.raster

rast public.raster, reclassexpr text, pixeltype text

postgres

sql

 

public

st_reclass

public.raster

rast public.raster, variadic reclassargset public.reclassarg []

postgres

plpgsql

 

public

st_relate

text

geom1 public.geometry, geom2 public.geometry

postgres

c

args: geomA, geomB - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

public

st_relate

text

geom1 public.geometry, geom2 public.geometry, integer

postgres

c

args: geomA, geomB, BoundaryNodeRule - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

public

st_relate

boolean

geom1 public.geometry, geom2 public.geometry, text

postgres

c

args: geomA, geomB, intersectionMatrixPattern - Returns true if this Geometry is spatially related to anotherGeometry, by testing for intersections between the Interior, Boundary and Exterior of the two geometries as specified by the values in the intersectionMatrixPattern. If no intersectionMatrixPattern is passed in, then returns the maximum intersectionMatrixPattern that relates the 2 geometries.

public

st_relatematch

boolean

text, text

postgres

c

args: intersectionMatrix, intersectionMatrixPattern - Returns true if intersectionMattrixPattern1 implies intersectionMatrixPattern2

public

st_removepoint

public.geometry

public.geometry, integer

postgres

c

args: linestring, offset - Removes point from a linestring. Offset is 0-based.

public

st_removerepeatedpoints

public.geometry

geom public.geometry, tolerance double precision = 0.0

postgres

c

args: geom, tolerance - Returns a version of the given geometry with duplicated points removed.

public

st_resample

public.raster

rast public.raster, ref public.raster, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125, usescale boolean = true

postgres

plpgsql

args: rast, ref, algorithm=NearestNeighbour, maxerr=0.125, usescale=true - Resample a raster using a specified resampling algorithm, new dimensions, an arbitrary grid corner and a set of raster georeferencing attributes defined or borrowed from another raster.

public

st_resample

public.raster

rast public.raster, ref public.raster, usescale boolean, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, ref, usescale, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster using a specified resampling algorithm, new dimensions, an arbitrary grid corner and a set of raster georeferencing attributes defined or borrowed from another raster.

public

st_resample

public.raster

rast public.raster, scalex double precision = 0, scaley double precision = 0, gridx double precision = NULL::double precision, gridy double precision = NULL::double precision, skewx double precision = 0, skewy double precision = 0, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, scalex=0, scaley=0, gridx=NULL, gridy=NULL, skewx=0, skewy=0, algorithm=NearestNeighbor, maxerr=0.125 - Resample a raster using a specified resampling algorithm, new dimensions, an arbitrary grid corner and a set of raster georeferencing attributes defined or borrowed from another raster.

public

st_resample

public.raster

rast public.raster, width integer, height integer, gridx double precision = NULL::double precision, gridy double precision = NULL::double precision, skewx double precision = 0, skewy double precision = 0, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, width, height, gridx=NULL, gridy=NULL, skewx=0, skewy=0, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster using a specified resampling algorithm, new dimensions, an arbitrary grid corner and a set of raster georeferencing attributes defined or borrowed from another raster.

public

st_rescale

public.raster

rast public.raster, scalex double precision, scaley double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, scalex, scaley, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by adjusting only its scale (or pixel size). New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

public

st_rescale

public.raster

rast public.raster, scalexy double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, scalexy, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by adjusting only its scale (or pixel size). New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

public

st_resize

public.raster

rast public.raster, percentwidth double precision, percentheight double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

plpgsql

args: rast, percentwidth, percentheight, algorithm=NearestNeighbor, maxerr=0.125 - Resize a raster to a new width/height

public

st_resize

public.raster

rast public.raster, width integer, height integer, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, width, height, algorithm=NearestNeighbor, maxerr=0.125 - Resize a raster to a new width/height

public

st_resize

public.raster

rast public.raster, width text, height text, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

plpgsql

args: rast, width, height, algorithm=NearestNeighbor, maxerr=0.125 - Resize a raster to a new width/height

public

st_reskew

public.raster

rast public.raster, skewx double precision, skewy double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, skewx, skewy, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by adjusting only its skew (or rotation parameters). New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

public

st_reskew

public.raster

rast public.raster, skewxy double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, skewxy, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by adjusting only its skew (or rotation parameters). New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

public

st_retile

public.raster

tab pg_catalog.regclass, col name, ext public.geometry, sfx double precision, sfy double precision, tw integer, th integer, algo text = 'NearestNeighbour'::text

postgres

plpgsql

args: tab, col, ext, sfx, sfy, tw, th, algo='NearestNeighbor' - Return a set of configured tiles from an arbitrarily tiled raster coverage.

public

st_reverse

public.geometry

public.geometry

postgres

c

args: g1 - Returns the geometry with vertex order reversed.

public

st_rotate

public.geometry

public.geometry, double precision

postgres

sql

args: geomA, rotRadians - Rotate a geometry rotRadians counter-clockwise about an origin.

public

st_rotate

public.geometry

public.geometry, double precision, double precision, double precision

postgres

sql

args: geomA, rotRadians, x0, y0 - Rotate a geometry rotRadians counter-clockwise about an origin.

public

st_rotate

public.geometry

public.geometry, double precision, public.geometry

postgres

sql

args: geomA, rotRadians, pointOrigin - Rotate a geometry rotRadians counter-clockwise about an origin.

public

st_rotatex

public.geometry

public.geometry, double precision

postgres

sql

args: geomA, rotRadians - Rotate a geometry rotRadians about the X axis.

public

st_rotatey

public.geometry

public.geometry, double precision

postgres

sql

args: geomA, rotRadians - Rotate a geometry rotRadians about the Y axis.

public

st_rotatez

public.geometry

public.geometry, double precision

postgres

sql

args: geomA, rotRadians - Rotate a geometry rotRadians about the Z axis.

public

st_rotation

double precision

public.raster

postgres

sql

args: rast - Returns the rotation of the raster in radian.

public

st_roughness

public.raster

rast public.raster, nband integer, customextent public.raster, pixeltype text = '32BF'::text, interpolate_nodata boolean = false

postgres

plpgsql

 

public

st_roughness

public.raster

rast public.raster, nband integer = 1, pixeltype text = '32BF'::text, interpolate_nodata boolean = false

postgres

sql

 

public

st_samealignment

boolean

rast1 public.raster, rast2 public.raster

postgres

c

args: rastA, rastB - Returns true if rasters have same skew, scale, spatial ref, and offset (pixels can be put on same grid without cutting into pixels) and false if they dont with notice detailing issue.

public

st_samealignment

boolean

ulx1 double precision, uly1 double precision, scalex1 double precision, scaley1 double precision, skewx1 double precision, skewy1 double precision, ulx2 double precision, uly2 double precision, scalex2 double precision, scaley2 double precision, skewx2 double precision, skewy2 double precision

postgres

sql

args: ulx1, uly1, scalex1, scaley1, skewx1, skewy1, ulx2, uly2, scalex2, scaley2, skewx2, skewy2 - Returns true if rasters have same skew, scale, spatial ref, and offset (pixels can be put on same grid without cutting into pixels) and false if they dont with notice detailing issue.

public

st_scale

public.geometry

public.geometry, double precision, double precision

postgres

sql

args: geomA, XFactor, YFactor - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor, Yfactor, Zfactor).

public

st_scale

public.geometry

public.geometry, double precision, double precision, double precision

postgres

sql

args: geomA, XFactor, YFactor, ZFactor - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor, Yfactor, Zfactor).

public

st_scale

public.geometry

public.geometry, public.geometry

postgres

c

args: geom, factor - Scales the geometry to a new size by multiplying the ordinates with the parameters. Ie: ST_Scale(geom, Xfactor, Yfactor, Zfactor).

public

st_scalex

double precision

public.raster

postgres

c

args: rast - Returns the X component of the pixel width in units of coordinate reference system.

public

st_scaley

double precision

public.raster

postgres

c

args: rast - Returns the Y component of the pixel height in units of coordinate reference system.

public

st_segmentize

public.geography

geog public.geography, max_segment_length double precision

postgres

c

args: geog, max_segment_length - Return a modified geometry/geography having no segment longer than the given distance. Distance computation is performed in 2d only. For geometry, length units are in units of spatial reference. For geography, units are in meters.

public

st_segmentize

public.geometry

public.geometry, double precision

postgres

c

args: geom, max_segment_length - Return a modified geometry/geography having no segment longer than the given distance. Distance computation is performed in 2d only. For geometry, length units are in units of spatial reference. For geography, units are in meters.

public

st_setbandisnodata

public.raster

rast public.raster, band integer = 1

postgres

c

args: rast, band=1 - Sets the isnodata flag of the band to TRUE.

public

st_setbandnodatavalue

public.raster

rast public.raster, band integer, nodatavalue double precision, forcechecking boolean = false

postgres

c

args: rast, band, nodatavalue, forcechecking=false - Sets the value for the given band that represents no data. Band 1 is assumed if no band is specified. To mark a band as having no nodata value, set the nodata value = NULL.

public

st_setbandnodatavalue

public.raster

rast public.raster, nodatavalue double precision

postgres

sql

args: rast, nodatavalue - Sets the value for the given band that represents no data. Band 1 is assumed if no band is specified. To mark a band as having no nodata value, set the nodata value = NULL.

public

st_seteffectivearea

public.geometry

public.geometry, double precision = '-1'::integer, integer = 1

postgres

c

args: geomA, threshold = 0, set_area = 1 - Sets the effective area for each vertex, storing the value in the M ordinate. A simplified geometry can then be generated by filtering on the M ordinate.

public

st_setgeoreference

public.raster

rast public.raster, georef text, format text = 'GDAL'::text

postgres

plpgsql

args: rast, georefcoords, format=GDAL - Set Georeference 6 georeference parameters in a single call. Numbers should be separated by white space. Accepts inputs in GDAL or ESRI format. Default is GDAL.

public

st_setgeoreference

public.raster

rast public.raster, upperleftx double precision, upperlefty double precision, scalex double precision, scaley double precision, skewx double precision, skewy double precision

postgres

sql

args: rast, upperleftx, upperlefty, scalex, scaley, skewx, skewy - Set Georeference 6 georeference parameters in a single call. Numbers should be separated by white space. Accepts inputs in GDAL or ESRI format. Default is GDAL.

public

st_setgeotransform

public.raster

rast public.raster, imag double precision, jmag double precision, theta_i double precision, theta_ij double precision, xoffset double precision, yoffset double precision

postgres

c

 

public

st_setpoint

public.geometry

public.geometry, integer, public.geometry

postgres

c

args: linestring, zerobasedposition, point - Replace point N of linestring with given point. Index is 0-based.

public

st_setrotation

public.raster

rast public.raster, rotation double precision

postgres

c

args: rast, rotation - Set the rotation of the raster in radian.

public

st_setscale

public.raster

rast public.raster, scale double precision

postgres

c

args: rast, xy - Sets the X and Y size of pixels in units of coordinate reference system. Number units/pixel width/height.

public

st_setscale

public.raster

rast public.raster, scalex double precision, scaley double precision

postgres

c

args: rast, x, y - Sets the X and Y size of pixels in units of coordinate reference system. Number units/pixel width/height.

public

st_setskew

public.raster

rast public.raster, skew double precision

postgres

c

args: rast, skewxy - Sets the georeference X and Y skew (or rotation parameter). If only one is passed in, sets X and Y to the same value.

public

st_setskew

public.raster

rast public.raster, skewx double precision, skewy double precision

postgres

c

args: rast, skewx, skewy - Sets the georeference X and Y skew (or rotation parameter). If only one is passed in, sets X and Y to the same value.

public

st_setsrid

public.geography

geog public.geography, srid integer

postgres

c

 

public

st_setsrid

public.geometry

public.geometry, integer

postgres

c

args: geom, srid - Sets the SRID on a geometry to a particular integer value.

public

st_setsrid

public.raster

rast public.raster, srid integer

postgres

c

args: rast, srid - Sets the SRID of a raster to a particular integer srid defined in the spatial_ref_sys table.

public

st_setupperleft

public.raster

rast public.raster, upperleftx double precision, upperlefty double precision

postgres

c

args: rast, x, y - Sets the value of the upper left corner of the pixel to projected X and Y coordinates.

public

st_setvalue

public.raster

rast public.raster, band integer, x integer, y integer, newvalue double precision

postgres

c

args: rast, bandnum, columnx, rowy, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.

public

st_setvalue

public.raster

rast public.raster, geom public.geometry, newvalue double precision

postgres

sql

args: rast, geom, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.

public

st_setvalue

public.raster

rast public.raster, nband integer, geom public.geometry, newvalue double precision

postgres

sql

args: rast, bandnum, geom, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.

public

st_setvalue

public.raster

rast public.raster, x integer, y integer, newvalue double precision

postgres

sql

args: rast, columnx, rowy, newvalue - Returns modified raster resulting from setting the value of a given band in a given columnx, rowy pixel or the pixels that intersect a particular geometry. Band numbers start at 1 and assumed to be 1 if not specified.

public

st_setvalues

public.raster

rast public.raster, nband integer, geomvalset public.geomval [], keepnodata boolean = false

postgres

c

args: rast, nband, geomvalset, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

public

st_setvalues

public.raster

rast public.raster, nband integer, x integer, y integer, newvalueset double precision [], noset boolean [] = NULL::boolean[], keepnodata boolean = false

postgres

sql

args: rast, nband, columnx, rowy, newvalueset, noset=NULL, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

public

st_setvalues

public.raster

rast public.raster, nband integer, x integer, y integer, newvalueset double precision [], nosetvalue double precision, keepnodata boolean = false

postgres

sql

args: rast, nband, columnx, rowy, newvalueset, nosetvalue, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

public

st_setvalues

public.raster

rast public.raster, nband integer, x integer, y integer, width integer, height integer, newvalue double precision, keepnodata boolean = false

postgres

plpgsql

args: rast, nband, columnx, rowy, width, height, newvalue, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

public

st_setvalues

public.raster

rast public.raster, x integer, y integer, width integer, height integer, newvalue double precision, keepnodata boolean = false

postgres

plpgsql

args: rast, columnx, rowy, width, height, newvalue, keepnodata=FALSE - Returns modified raster resulting from setting the values of a given band.

public

st_sharedpaths

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: lineal1, lineal2 - Returns a collection containing paths shared by the two input linestrings/multilinestrings.

public

st_shift_longitude

public.geometry

public.geometry

postgres

sql

 

public

st_shiftlongitude

public.geometry

public.geometry

postgres

c

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

public

st_shortestline

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - Returns the 2-dimensional shortest line between two geometries

public

st_simplify

public.geometry

public.geometry, double precision

postgres

c

 

public

st_simplify

public.geometry

public.geometry, double precision, boolean

postgres

c

args: geomA, tolerance, preserveCollapsed - Returns a "simplified" version of the given geometry using the Douglas-Peucker algorithm.

public

st_simplifypreservetopology

public.geometry

public.geometry, double precision

postgres

c

args: geomA, tolerance - Returns a "simplified" version of the given geometry using the Douglas-Peucker algorithm. Will avoid creating derived geometries (polygons in particular) that are invalid.

public

st_simplifyvw

public.geometry

public.geometry, double precision

postgres

c

args: geomA, tolerance - Returns a "simplified" version of the given geometry using the Visvalingam-Whyatt algorithm

public

st_skewx

double precision

public.raster

postgres

c

args: rast - Returns the georeference X skew (or rotation parameter).

public

st_skewy

double precision

public.raster

postgres

c

args: rast - Returns the georeference Y skew (or rotation parameter).

public

st_slope

public.raster

rast public.raster, nband integer, customextent public.raster, pixeltype text = '32BF'::text, units text = 'DEGREES'::text, scale double precision = 1.0, interpolate_nodata boolean = false

postgres

plpgsql

 

public

st_slope

public.raster

rast public.raster, nband integer = 1, pixeltype text = '32BF'::text, units text = 'DEGREES'::text, scale double precision = 1.0, interpolate_nodata boolean = false

postgres

sql

 

public

st_snap

public.geometry

geom1 public.geometry, geom2 public.geometry, double precision

postgres

c

args: input, reference, tolerance - Snap segments and vertices of input geometry to vertices of a reference geometry.

public

st_snaptogrid

public.geometry

geom1 public.geometry, geom2 public.geometry, double precision, double precision, double precision, double precision

postgres

c

args: geomA, pointOrigin, sizeX, sizeY, sizeZ, sizeM - Snap all points of the input geometry to a regular grid.

public

st_snaptogrid

public.geometry

public.geometry, double precision

postgres

sql

args: geomA, size - Snap all points of the input geometry to a regular grid.

public

st_snaptogrid

public.geometry

public.geometry, double precision, double precision

postgres

sql

args: geomA, sizeX, sizeY - Snap all points of the input geometry to a regular grid.

public

st_snaptogrid

public.geometry

public.geometry, double precision, double precision, double precision, double precision

postgres

c

args: geomA, originX, originY, sizeX, sizeY - Snap all points of the input geometry to a regular grid.

public

st_snaptogrid

public.raster

rast public.raster, gridx double precision, gridy double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125, scalex double precision = 0, scaley double precision = 0

postgres

sql

args: rast, gridx, gridy, algorithm=NearestNeighbour, maxerr=0.125, scalex=DEFAULT 0, scaley=DEFAULT 0 - Resample a raster by snapping it to a grid. New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

public

st_snaptogrid

public.raster

rast public.raster, gridx double precision, gridy double precision, scalex double precision, scaley double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, gridx, gridy, scalex, scaley, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by snapping it to a grid. New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

public

st_snaptogrid

public.raster

rast public.raster, gridx double precision, gridy double precision, scalexy double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, gridx, gridy, scalexy, algorithm=NearestNeighbour, maxerr=0.125 - Resample a raster by snapping it to a grid. New pixel values are computed using the NearestNeighbor (english or american spelling), Bilinear, Cubic, CubicSpline or Lanczos resampling algorithm. Default is NearestNeighbor.

public

st_split

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: input, blade - Returns a collection of geometries resulting by splitting a geometry.

public

st_srid

integer

geog public.geography

postgres

c

 

public

st_srid

integer

public.geometry

postgres

c

args: g1 - Returns the spatial reference identifier for the ST_Geometry as defined in spatial_ref_sys table.

public

st_srid

integer

public.raster

postgres

c

args: rast - Returns the spatial reference identifier of the raster as defined in spatial_ref_sys table.

public

st_startpoint

public.geometry

public.geometry

postgres

c

args: geomA - Returns the first point of a LINESTRING geometry as a POINT.

public

st_stddev4ma

double precision

matrix double precision [], nodatamode text, variadic args text []

postgres

sql

 

public

st_stddev4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

sql

 

public

st_subdivide

public.geometry

geom public.geometry, maxvertices integer = 256

postgres

c

args: geom, max_vertices=256 - Returns a set of geometry where no geometry in the set has more than the specified number of vertices.

public

st_sum4ma

double precision

matrix double precision [], nodatamode text, variadic args text []

postgres

plpgsql

 

public

st_sum4ma

double precision

value double precision [], pos integer [], variadic userargs text [] = NULL::text[]

postgres

plpgsql

 

public

st_summary

text

public.geography

postgres

c

args: g - Returns a text summary of the contents of the geometry.

public

st_summary

text

public.geometry

postgres

c

args: g - Returns a text summary of the contents of the geometry.

public

st_summary

text

rast public.raster

postgres

plpgsql

args: rast - Returns a text summary of the contents of the raster.

public

st_summarystats

public.summarystats

rast public.raster, exclude_nodata_value boolean

postgres

sql

args: rast, exclude_nodata_value - Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a raster or raster coverage. Band 1 is assumed is no band is specified.

public

st_summarystats

public.summarystats

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true

postgres

sql

args: rast, nband, exclude_nodata_value - Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a raster or raster coverage. Band 1 is assumed is no band is specified.

public

st_summarystats

public.summarystats

rastertable text, rastercolumn text, exclude_nodata_value boolean

postgres

sql

args: rastertable, rastercolumn, exclude_nodata_value - Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a raster or raster coverage. Band 1 is assumed is no band is specified.

public

st_summarystats

public.summarystats

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true

postgres

sql

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true - Returns summarystats consisting of count, sum, mean, stddev, min, max for a given raster band of a raster or raster coverage. Band 1 is assumed is no band is specified.

public

st_swapordinates

public.geometry

geom public.geometry, ords pg_catalog.cstring

postgres

c

args: geom, ords - Returns a version of the given geometry with given ordinate values swapped.

public

st_symdifference

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: geomA, geomB - Returns a geometry that represents the portions of A and B that do not intersect. It is called a symmetric difference because ST_SymDifference(A,B) = ST_SymDifference(B,A).

public

st_symmetricdifference

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

 

public

st_tile

public.raster

rast public.raster, nband integer [], width integer, height integer, padwithnodata boolean = false, nodataval double precision = NULL::double precision

postgres

sql

args: rast, nband, width, height, padwithnodata=FALSE, nodataval=NULL - Returns a set of rasters resulting from the split of the input raster based upon the desired dimensions of the output rasters.

public

st_tile

public.raster

rast public.raster, nband integer, width integer, height integer, padwithnodata boolean = false, nodataval double precision = NULL::double precision

postgres

sql

args: rast, nband, width, height, padwithnodata=FALSE, nodataval=NULL - Returns a set of rasters resulting from the split of the input raster based upon the desired dimensions of the output rasters.

public

st_tile

public.raster

rast public.raster, width integer, height integer, padwithnodata boolean = false, nodataval double precision = NULL::double precision

postgres

sql

args: rast, width, height, padwithnodata=FALSE, nodataval=NULL - Returns a set of rasters resulting from the split of the input raster based upon the desired dimensions of the output rasters.

public

st_touches

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: g1, g2 - Returns TRUE if the geometries have at least one point in common, but their interiors do not intersect.

public

st_touches

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if raster rastA and rastB have at least one point in common but their interiors do not intersect.

public

st_touches

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if raster rastA and rastB have at least one point in common but their interiors do not intersect.

public

st_tpi

public.raster

rast public.raster, nband integer, customextent public.raster, pixeltype text = '32BF'::text, interpolate_nodata boolean = false

postgres

plpgsql

 

public

st_tpi

public.raster

rast public.raster, nband integer = 1, pixeltype text = '32BF'::text, interpolate_nodata boolean = false

postgres

sql

 

public

st_transform

public.geometry

public.geometry, integer

postgres

c

args: g1, srid - Returns a new geometry with its coordinates transformed to the SRID referenced by the integer parameter.

public

st_transform

public.raster

rast public.raster, alignto public.raster, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

plpgsql

args: rast, alignto, algorithm=NearestNeighbor, maxerr=0.125 - Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. Options are NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos defaulting to NearestNeighbor.

public

st_transform

public.raster

rast public.raster, srid integer, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125, scalex double precision = 0, scaley double precision = 0

postgres

sql

args: rast, srid, algorithm=NearestNeighbor, maxerr=0.125, scalex, scaley - Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. Options are NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos defaulting to NearestNeighbor.

public

st_transform

public.raster

rast public.raster, srid integer, scalex double precision, scaley double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

args: rast, srid, scalex, scaley, algorithm=NearestNeighbor, maxerr=0.125 - Reprojects a raster in a known spatial reference system to another known spatial reference system using specified resampling algorithm. Options are NearestNeighbor, Bilinear, Cubic, CubicSpline, Lanczos defaulting to NearestNeighbor.

public

st_transform

public.raster

rast public.raster, srid integer, scalexy double precision, algorithm text = 'NearestNeighbour'::text, maxerr double precision = 0.125

postgres

sql

 

public

st_translate

public.geometry

public.geometry, double precision, double precision

postgres

sql

args: g1, deltax, deltay - Translates the geometry to a new location using the numeric parameters as offsets. Ie: ST_Translate(geom, X, Y) or ST_Translate(geom, X, Y,Z).

public

st_translate

public.geometry

public.geometry, double precision, double precision, double precision

postgres

sql

args: g1, deltax, deltay, deltaz - Translates the geometry to a new location using the numeric parameters as offsets. Ie: ST_Translate(geom, X, Y) or ST_Translate(geom, X, Y,Z).

public

st_transscale

public.geometry

public.geometry, double precision, double precision, double precision, double precision

postgres

sql

args: geomA, deltaX, deltaY, XFactor, YFactor - Translates the geometry using the deltaX and deltaY args, then scales it using the XFactor, YFactor args, working in 2D only.

public

st_tri

public.raster

rast public.raster, nband integer, customextent public.raster, pixeltype text = '32BF'::text, interpolate_nodata boolean = false

postgres

plpgsql

 

public

st_tri

public.raster

rast public.raster, nband integer = 1, pixeltype text = '32BF'::text, interpolate_nodata boolean = false

postgres

sql

 

public

st_unaryunion

public.geometry

public.geometry

postgres

c

args: geom - Like ST_Union, but working at the geometry component level.

public

st_union

public.geometry

geom1 public.geometry, geom2 public.geometry

postgres

c

args: g1, g2 - Returns a geometry that represents the point set union of the Geometries.

public

st_union

public.geometry

public.geometry []

postgres

c

args: g1_array - Returns a geometry that represents the point set union of the Geometries.

public

st_upperleftx

double precision

public.raster

postgres

c

args: rast - Returns the upper left X coordinate of raster in projected spatial ref.

public

st_upperlefty

double precision

public.raster

postgres

c

args: rast - Returns the upper left Y coordinate of raster in projected spatial ref.

public

st_value

double precision

rast public.raster, band integer, pt public.geometry, exclude_nodata_value boolean = true

postgres

plpgsql

args: rast, bandnum, pt, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

public

st_value

double precision

rast public.raster, band integer, x integer, y integer, exclude_nodata_value boolean = true

postgres

c

args: rast, bandnum, columnx, rowy, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

public

st_value

double precision

rast public.raster, pt public.geometry, exclude_nodata_value boolean = true

postgres

sql

args: rast, pt, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

public

st_value

double precision

rast public.raster, x integer, y integer, exclude_nodata_value boolean = true

postgres

sql

args: rast, columnx, rowy, exclude_nodata_value=true - Returns the value of a given band in a given columnx, rowy pixel or at a particular geometric point. Band numbers start at 1 and assumed to be 1 if not specified. If exclude_nodata_value is set to false, then all pixels include nodata pixels are considered to intersect and return value. If exclude_nodata_value is not passed in then reads it from metadata of raster.

public

st_valuecount

integer

rast public.raster, nband integer, exclude_nodata_value boolean, searchvalue double precision, roundto double precision = 0

postgres

sql

args: rast, nband, exclude_nodata_value, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, searchvalues double precision [] = NULL::double precision[], roundto double precision = 0, out value double precision, out count integer

postgres

sql

args: rast, nband=1, exclude_nodata_value=true, searchvalues=NULL, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

integer

rast public.raster, nband integer, searchvalue double precision, roundto double precision = 0

postgres

sql

args: rast, nband, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

record

rast public.raster, nband integer, searchvalues double precision [], roundto double precision = 0, out value double precision, out count integer

postgres

sql

args: rast, nband, searchvalues, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

integer

rast public.raster, searchvalue double precision, roundto double precision = 0

postgres

sql

args: rast, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

record

rast public.raster, searchvalues double precision [], roundto double precision = 0, out value double precision, out count integer

postgres

sql

args: rast, searchvalues, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

integer

rastertable text, rastercolumn text, nband integer, exclude_nodata_value boolean, searchvalue double precision, roundto double precision = 0

postgres

sql

args: rastertable, rastercolumn, nband, exclude_nodata_value, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, searchvalues double precision [] = NULL::double precision[], roundto double precision = 0, out value double precision, out count integer

postgres

sql

args: rastertable, rastercolumn, nband=1, exclude_nodata_value=true, searchvalues=NULL, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

integer

rastertable text, rastercolumn text, nband integer, searchvalue double precision, roundto double precision = 0

postgres

sql

args: rastertable, rastercolumn, nband, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

record

rastertable text, rastercolumn text, nband integer, searchvalues double precision [], roundto double precision = 0, out value double precision, out count integer

postgres

sql

args: rastertable, rastercolumn, nband, searchvalues, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

integer

rastertable text, rastercolumn text, searchvalue double precision, roundto double precision = 0

postgres

sql

args: rastertable, rastercolumn, searchvalue, roundto=0 - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuecount

record

rastertable text, rastercolumn text, searchvalues double precision [], roundto double precision = 0, out value double precision, out count integer

postgres

sql

args: rastertable, rastercolumn, searchvalues, roundto=0, OUT value, OUT count - Returns a set of records containing a pixel band value and count of the number of pixels in a given band of a raster (or a raster coverage) that have a given set of values. If no band is specified defaults to band 1. By default nodata value pixels are not counted. and all other values in the pixel are output and pixel band values are rounded to the nearest integer.

public

st_valuepercent

double precision

rast public.raster, nband integer, exclude_nodata_value boolean, searchvalue double precision, roundto double precision = 0

postgres

sql

 

public

st_valuepercent

record

rast public.raster, nband integer = 1, exclude_nodata_value boolean = true, searchvalues double precision [] = NULL::double precision[], roundto double precision = 0, out value double precision, out percent double precision

postgres

sql

 

public

st_valuepercent

double precision

rast public.raster, nband integer, searchvalue double precision, roundto double precision = 0

postgres

sql

 

public

st_valuepercent

record

rast public.raster, nband integer, searchvalues double precision [], roundto double precision = 0, out value double precision, out percent double precision

postgres

sql

 

public

st_valuepercent

double precision

rast public.raster, searchvalue double precision, roundto double precision = 0

postgres

sql

 

public

st_valuepercent

record

rast public.raster, searchvalues double precision [], roundto double precision = 0, out value double precision, out percent double precision

postgres

sql

 

public

st_valuepercent

double precision

rastertable text, rastercolumn text, nband integer, exclude_nodata_value boolean, searchvalue double precision, roundto double precision = 0

postgres

sql

 

public

st_valuepercent

record

rastertable text, rastercolumn text, nband integer = 1, exclude_nodata_value boolean = true, searchvalues double precision [] = NULL::double precision[], roundto double precision = 0, out value double precision, out percent double precision

postgres

sql

 

public

st_valuepercent

double precision

rastertable text, rastercolumn text, nband integer, searchvalue double precision, roundto double precision = 0

postgres

sql

 

public

st_valuepercent

record

rastertable text, rastercolumn text, nband integer, searchvalues double precision [], roundto double precision = 0, out value double precision, out percent double precision

postgres

sql

 

public

st_valuepercent

double precision

rastertable text, rastercolumn text, searchvalue double precision, roundto double precision = 0

postgres

sql

 

public

st_valuepercent

record

rastertable text, rastercolumn text, searchvalues double precision [], roundto double precision = 0, out value double precision, out percent double precision

postgres

sql

 

public

st_width

integer

public.raster

postgres

c

args: rast - Returns the width of the raster in pixels.

public

st_within

boolean

geom1 public.geometry, geom2 public.geometry

postgres

sql

args: A, B - Returns true if the geometry A is completely inside geometry B

public

st_within

boolean

rast1 public.raster, nband1 integer, rast2 public.raster, nband2 integer

postgres

sql

args: rastA, nbandA, rastB, nbandB - Return true if no points of raster rastA lie in the exterior of raster rastB and at least one point of the interior of rastA lies in the interior of rastB.

public

st_within

boolean

rast1 public.raster, rast2 public.raster

postgres

sql

args: rastA, rastB - Return true if no points of raster rastA lie in the exterior of raster rastB and at least one point of the interior of rastA lies in the interior of rastB.

public

st_wkbtosql

public.geometry

wkb bytea

postgres

c

args: WKB - Return a specified ST_Geometry value from Well-Known Binary representation (WKB). This is an alias name for ST_GeomFromWKB that takes no srid

public

st_wkttosql

public.geometry

text

postgres

c

args: WKT - Return a specified ST_Geometry value from Well-Known Text representation (WKT). This is an alias name for ST_GeomFromText

public

st_worldtorastercoord

record

rast public.raster, longitude double precision, latitude double precision, out columnx integer, out rowy integer

postgres

sql

args: rast, longitude, latitude - Returns the upper left corner as column and row given geometric X and Y (longitude and latitude) or a point geometry expressed in the spatial reference coordinate system of the raster.

public

st_worldtorastercoord

record

rast public.raster, pt public.geometry, out columnx integer, out rowy integer

postgres

plpgsql

args: rast, pt - Returns the upper left corner as column and row given geometric X and Y (longitude and latitude) or a point geometry expressed in the spatial reference coordinate system of the raster.

public

st_worldtorastercoordx

integer

rast public.raster, pt public.geometry

postgres

plpgsql

args: rast, pt - Returns the column in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

public

st_worldtorastercoordx

integer

rast public.raster, xw double precision

postgres

sql

args: rast, xw - Returns the column in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

public

st_worldtorastercoordx

integer

rast public.raster, xw double precision, yw double precision

postgres

sql

args: rast, xw, yw - Returns the column in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

public

st_worldtorastercoordy

integer

rast public.raster, pt public.geometry

postgres

plpgsql

args: rast, pt - Returns the row in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

public

st_worldtorastercoordy

integer

rast public.raster, xw double precision, yw double precision

postgres

sql

args: rast, xw, yw - Returns the row in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

public

st_worldtorastercoordy

integer

rast public.raster, yw double precision

postgres

sql

args: rast, xw - Returns the row in the raster of the point geometry (pt) or a X and Y world coordinate (xw, yw) represented in world spatial reference system of raster.

public

st_x

double precision

public.geometry

postgres

c

args: a_point - Return the X coordinate of the point, or NULL if not available. Input must be a point.

public

st_xmax

double precision

public.box3d

postgres

c

args: aGeomorBox2DorBox3D - Returns X maxima of a bounding box 2d or 3d or a geometry.

public

st_xmin

double precision

public.box3d

postgres

c

args: aGeomorBox2DorBox3D - Returns X minima of a bounding box 2d or 3d or a geometry.

public

st_y

double precision

public.geometry

postgres

c

args: a_point - Return the Y coordinate of the point, or NULL if not available. Input must be a point.

public

st_ymax

double precision

public.box3d

postgres

c

args: aGeomorBox2DorBox3D - Returns Y maxima of a bounding box 2d or 3d or a geometry.

public

st_ymin

double precision

public.box3d

postgres

c

args: aGeomorBox2DorBox3D - Returns Y minima of a bounding box 2d or 3d or a geometry.

public

st_z

double precision

public.geometry

postgres

c

args: a_point - Return the Z coordinate of the point, or NULL if not available. Input must be a point.

public

st_zmax

double precision

public.box3d

postgres

c

args: aGeomorBox2DorBox3D - Returns Z minima of a bounding box 2d or 3d or a geometry.

public

st_zmflag

smallint

public.geometry

postgres

c

args: geomA - Returns ZM (dimension semantic) flag of the geometries as a small int. Values are: 0=2d, 1=3dm, 2=3dz, 3=4d.

public

st_zmin

double precision

public.box3d

postgres

c

args: aGeomorBox2DorBox3D - Returns Z minima of a bounding box 2d or 3d or a geometry.

public

unlockrows

integer

text

postgres

plpgsql

args: auth_token - Remove all locks held by specified authorization id. Returns the number of locks released.

public

updategeometrysrid

text

catalogn_name varchar, schema_name varchar, table_name varchar, column_name varchar, new_srid_in integer

postgres

plpgsql

args: catalog_name, schema_name, table_name, column_name, srid - Updates the SRID of all features in a geometry column, geometry_columns metadata and srid. If it was enforced with constraints, the constraints will be updated with new srid constraint. If the old was enforced by type definition, the type definition will be changed.

public

updaterastersrid

boolean

schema_name name, table_name name, column_name name, new_srid integer

postgres

sql

args: schema_name, table_name, column_name, new_srid - Change the SRID of all rasters in the user-specified column and table.

public

updaterastersrid

boolean

table_name name, column_name name, new_srid integer

postgres

sql

args: table_name, column_name, new_srid - Change the SRID of all rasters in the user-specified column and table.

topology

_asgmledge

text

edge_id integer, start_node integer, end_node integer, line public.geometry, visitedtable pg_catalog.regclass, nsprefix_in text, prec integer, options integer, idprefix text, gmlver integer

postgres

plpgsql

 

topology

_asgmlface

text

toponame text, face_id integer, visitedtable pg_catalog.regclass, nsprefix_in text, prec integer, options integer, idprefix text, gmlver integer

postgres

plpgsql

 

topology

_asgmlnode

text

id integer, point public.geometry, nsprefix_in text, prec integer, options integer, idprefix text, gmlver integer

postgres

plpgsql

 

topology

_st_addfacesplit

integer

atopology varchar, anedge integer, oface integer, mbr_only boolean

postgres

plpgsql

 

topology

_st_adjacentedges

integer []

atopology varchar, anode integer, anedge integer

postgres

plpgsql

 

topology

_st_mintolerance

double precision

ageom public.geometry

postgres

sql

 

topology

_st_mintolerance

double precision

atopology varchar, ageom public.geometry

postgres

plpgsql

 

topology

addedge

integer

atopology varchar, aline public.geometry

postgres

plpgsql

args: toponame, aline - Adds a linestring edge to the edge table and associated start and end points to the point nodes table of the specified topology schema using the specified linestring geometry and returns the edgeid of the new (or existing) edge.

topology

addface

integer

atopology varchar, apoly public.geometry, force_new boolean = false

postgres

plpgsql

args: toponame, apolygon, force_new=false - Registers a face primitive to a topology and gets its identifier.

topology

addnode

integer

atopology varchar, apoint public.geometry

postgres

sql

 

topology

addnode

integer

atopology varchar, apoint public.geometry, allowedgesplitting boolean, setcontainingface boolean = false

postgres

plpgsql

args: toponame, apoint, allowEdgeSplitting=false, computeContainingFace=false - Adds a point node to the node table in the specified topology schema and returns the nodeid of new node. If point already exists as node, the existing nodeid is returned.

topology

addtopogeometrycolumn

integer

toponame varchar, schema varchar, tbl varchar, col varchar, ltype varchar, child integer

postgres

plpgsql

args: topology_name, schema_name, table_name, column_name, feature_type, child_layer - Adds a topogeometry column to an existing table, registers this new column as a layer in topology.layer and returns the new layer_id.

topology

addtopogeometrycolumn

integer

varchar, varchar, varchar, varchar, varchar

postgres

sql

args: topology_name, schema_name, table_name, column_name, feature_type - Adds a topogeometry column to an existing table, registers this new column as a layer in topology.layer and returns the new layer_id.

topology

addtosearchpath

text

a_schema_name varchar

postgres

plpgsql

 

topology

asgml

text

tg topology.topogeometry

postgres

sql

args: tg - Returns the GML representation of a topogeometry.

topology

asgml

text

tg topology.topogeometry, nsprefix text

postgres

sql

args: tg, nsprefix_in - Returns the GML representation of a topogeometry.

topology

asgml

text

tg topology.topogeometry, nsprefix text, prec integer, options integer, vis pg_catalog.regclass

postgres

sql

args: tg, nsprefix_in, precision, options, visitedTable - Returns the GML representation of a topogeometry.

topology

asgml

text

tg topology.topogeometry, nsprefix text, prec integer, options integer, visitedtable pg_catalog.regclass, idprefix text

postgres

sql

args: tg, nsprefix_in, precision, options, visitedTable, idprefix - Returns the GML representation of a topogeometry.

topology

asgml

text

tg topology.topogeometry, nsprefix text, prec integer, opts integer

postgres

sql

args: tg, nsprefix_in, precision, options - Returns the GML representation of a topogeometry.

topology

asgml

text

tg topology.topogeometry, nsprefix_in text, precision_in integer, options_in integer, visitedtable pg_catalog.regclass, idprefix text, gmlver integer

postgres

plpgsql

args: tg, nsprefix_in, precision, options, visitedTable, idprefix, gmlversion - Returns the GML representation of a topogeometry.

topology

asgml

text

tg topology.topogeometry, visitedtable pg_catalog.regclass

postgres

sql

args: tg, visitedTable - Returns the GML representation of a topogeometry.

topology

asgml

text

tg topology.topogeometry, visitedtable pg_catalog.regclass, nsprefix text

postgres

sql

args: tg, visitedTable, nsprefix - Returns the GML representation of a topogeometry.

topology

astopojson

text

tg topology.topogeometry, edgemaptable pg_catalog.regclass

postgres

plpgsql

args: tg, edgeMapTable - Returns the TopoJSON representation of a topogeometry.

topology

cleartopogeom

topology.topogeometry

tg topology.topogeometry

postgres

plpgsql

args: topogeom - Clears the content of a topo geometry

topology

copytopology

integer

atopology varchar, newtopo varchar

postgres

plpgsql

args: existing_topology_name, new_name - Makes a copy of a topology structure (nodes, edges, faces, layers and TopoGeometries).

topology

createtopogeom

topology.topogeometry

toponame varchar, tg_type integer, layer_id integer

postgres

sql

args: toponame, tg_type, layer_id - Creates a new topo geometry object from topo element array - tg_type: 1:[multi]point, 2:[multi]line, 3:[multi]poly, 4:collection

topology

createtopogeom

topology.topogeometry

toponame varchar, tg_type integer, layer_id integer, in tg_objs topology.topoelementarray

postgres

plpgsql

args: toponame, tg_type, layer_id, tg_objs - Creates a new topo geometry object from topo element array - tg_type: 1:[multi]point, 2:[multi]line, 3:[multi]poly, 4:collection

topology

createtopology

integer

atopology varchar, srid integer, prec double precision, hasz boolean

postgres

plpgsql

args: topology_schema_name, srid, tolerance, hasz - Creates a new topology schema and registers this new schema in the topology.topology table.

topology

createtopology

integer

toponame varchar, srid integer, prec double precision

postgres

sql

args: topology_schema_name, srid, tolerance - Creates a new topology schema and registers this new schema in the topology.topology table.

topology

createtopology

integer

varchar

postgres

sql

args: topology_schema_name - Creates a new topology schema and registers this new schema in the topology.topology table.

topology

createtopology

integer

varchar, integer

postgres

sql

args: topology_schema_name, srid - Creates a new topology schema and registers this new schema in the topology.topology table.

topology

droptopogeometrycolumn

text

schema varchar, tbl varchar, col varchar

postgres

plpgsql

args: schema_name, table_name, column_name - Drops the topogeometry column from the table named table_name in schema schema_name and unregisters the columns from topology.layer table.

topology

droptopology

text

atopology varchar

postgres

plpgsql

args: topology_schema_name - Use with caution: Drops a topology schema and deletes its reference from topology.topology table and references to tables in that schema from the geometry_columns table.

topology

equals

boolean

tg1 topology.topogeometry, tg2 topology.topogeometry

postgres

plpgsql

args: tg1, tg2 - Returns true if two topogeometries are composed of the same topology primitives.

topology

geometry

public.geometry

topogeom topology.topogeometry

postgres

plpgsql

 

topology

geometrytype

text

tg topology.topogeometry

postgres

sql

 

topology

getedgebypoint

integer

atopology varchar, apoint public.geometry, tol1 double precision

postgres

c

args: atopology, apoint, tol - Find the edge-id of an edge that intersects a given point

topology

getfacebypoint

integer

atopology varchar, apoint public.geometry, tol1 double precision

postgres

c

args: atopology, apoint, tol - Find the face-id of a face that intersects a given point

topology

getnodebypoint

integer

atopology varchar, apoint public.geometry, tol1 double precision

postgres

c

args: atopology, point, tol - Find the id of a node at a point location

topology

getnodeedges

topology.getfaceedges_returntype

atopology varchar, anode integer

postgres

plpgsql

args: atopology, anode - Returns an ordered set of edges incident to the given node.

topology

getringedges

topology.getfaceedges_returntype

atopology varchar, anedge integer, maxedges integer = NULL::integer

postgres

plpgsql

args: atopology, aring, max_edges=null - Returns the ordered set of signed edge identifiers met by walking on ana given edge side.

topology

gettopogeomelementarray

topology.topoelementarray

tg topology.topogeometry

postgres

plpgsql

args: tg - Returns a topoelementarray (an array of topoelements) containing the topological elements and type of the given TopoGeometry (primitive elements)

topology

gettopogeomelementarray

topology.topoelementarray

toponame varchar, layer_id integer, tgid integer

postgres

plpgsql

args: toponame, layer_id, tg_id - Returns a topoelementarray (an array of topoelements) containing the topological elements and type of the given TopoGeometry (primitive elements)

topology

gettopogeomelements

topology.topoelement

tg topology.topogeometry

postgres

plpgsql

args: tg - Returns a set of topoelement objects containing the topological element_id,element_type of the given TopoGeometry (primitive elements)

topology

gettopogeomelements

topology.topoelement

toponame varchar, layerid integer, tgid integer

postgres

plpgsql

args: toponame, layer_id, tg_id - Returns a set of topoelement objects containing the topological element_id,element_type of the given TopoGeometry (primitive elements)

topology

gettopologyid

integer

toponame varchar

postgres

plpgsql

args: toponame - Returns the SRID of a topology in the topology.topology table given the name of the topology.

topology

gettopologyname

varchar

topoid integer

postgres

plpgsql

args: topology_id - Returns the name of a topology (schema) given the id of the topology.

topology

gettopologysrid

integer

toponame varchar

postgres

sql

 

topology

intersects

boolean

tg1 topology.topogeometry, tg2 topology.topogeometry

postgres

plpgsql

args: tg1, tg2 - Returns true if any pair of primitives from thetwo topogeometries intersect.

topology

layertrigger

trigger

 

postgres

plpgsql

 

topology

polygonize

text

toponame varchar

postgres

plpgsql

args: toponame - Find and register all faces defined by topology edges

topology

postgis_topology_scripts_installed

text

 

postgres

sql

 

topology

relationtrigger

trigger

 

postgres

plpgsql

 

topology

st_addedgemodface

integer

atopology varchar, anode integer, anothernode integer, acurve public.geometry

postgres

c

args: atopology, anode, anothernode, acurve - Add a new edge and, if in doing so it splits a face, modify the original face and add a new face.

topology

st_addedgenewfaces

integer

atopology varchar, anode integer, anothernode integer, acurve public.geometry

postgres

c

args: atopology, anode, anothernode, acurve - Add a new edge and, if in doing so it splits a face, delete the original face and replace it with two new faces.

topology

st_addisoedge

integer

atopology varchar, anode integer, anothernode integer, acurve public.geometry

postgres

c

args: atopology, anode, anothernode, alinestring - Adds an isolated edge defined by geometry alinestring to a topology connecting two existing isolated nodes anode and anothernode and returns the edge id of the new edge.

topology

st_addisonode

integer

atopology varchar, aface integer, apoint public.geometry

postgres

c

args: atopology, aface, apoint - Adds an isolated node to a face in a topology and returns the nodeid of the new node. If face is null, the node is still created.

topology

st_changeedgegeom

text

atopology varchar, anedge integer, acurve public.geometry

postgres

c

args: atopology, anedge, acurve - Changes the shape of an edge without affecting the topology structure.

topology

st_createtopogeo

text

atopology varchar, acollection public.geometry

postgres

plpgsql

args: atopology, acollection - Adds a collection of geometries to a given empty topology and returns a message detailing success.

topology

st_geometrytype

text

tg topology.topogeometry

postgres

sql

 

topology

st_getfaceedges

topology.getfaceedges_returntype

toponame varchar, face_id integer

postgres

c

args: atopology, aface - Returns a set of ordered edges that bound aface.

topology

st_getfacegeometry

public.geometry

toponame varchar, aface integer

postgres

c

args: atopology, aface - Returns the polygon in the given topology with the specified face id.

topology

st_inittopogeo

text

atopology varchar

postgres

plpgsql

args: topology_schema_name - Creates a new topology schema and registers this new schema in the topology.topology table and details summary of process.

topology

st_modedgeheal

integer

toponame varchar, e1id integer, e2id integer

postgres

c

args: atopology, anedge, anotheredge - Heal two edges by deleting the node connecting them, modifying the first edgeand deleting the second edge. Returns the id of the deleted node.

topology

st_modedgesplit

integer

atopology varchar, anedge integer, apoint public.geometry

postgres

c

args: atopology, anedge, apoint - Split an edge by creating a new node along an existing edge, modifying the original edge and adding a new edge.

topology

st_moveisonode

text

atopology varchar, anode integer, apoint public.geometry

postgres

c

args: atopology, anedge, apoint - Moves an isolated node in a topology from one point to another. If new apoint geometry exists as a node an error is thrown. REturns description of move.

topology

st_newedgeheal

integer

toponame varchar, e1id integer, e2id integer

postgres

c

args: atopology, anedge, anotheredge - Heal two edges by deleting the node connecting them, deleting both edges,and replacing them with an edge whose direction is the same as the firstedge provided.

topology

st_newedgessplit

integer

atopology varchar, anedge integer, apoint public.geometry

postgres

c

args: atopology, anedge, apoint - Split an edge by creating a new node along an existing edge, deleting the original edge and replacing it with two new edges. Returns the id of the new node created that joins the new edges.

topology

st_remedgemodface

integer

toponame varchar, e1id integer

postgres

c

args: atopology, anedge - Removes an edge and, if the removed edge separated two faces,delete one of the them and modify the other to take the space of both.

topology

st_remedgenewface

integer

toponame varchar, e1id integer

postgres

c

args: atopology, anedge - Removes an edge and, if the removed edge separated two faces,delete the original faces and replace them with a new face.

topology

st_remisonode

text

varchar, integer

postgres

c

 

topology

st_removeisoedge

text

atopology varchar, anedge integer

postgres

c

 

topology

st_removeisonode

text

atopology varchar, anode integer

postgres

c

args: atopology, anode - Removes an isolated node and returns description of action. If the node is not isolated (is start or end of an edge), then an exception is thrown.

topology

st_simplify

public.geometry

tg topology.topogeometry, tolerance double precision

postgres

plpgsql

args: geomA, tolerance - Returns a "simplified" geometry version of the given TopoGeometry using the Douglas-Peucker algorithm.

topology

topoelementarray_append

topology.topoelementarray

in topology.topoelementarray, in topology.topoelement

postgres

sql

 

topology

topogeo_addgeometry

void

atopology varchar, ageom public.geometry, tolerance double precision = 0

postgres

plpgsql

 

topology

topogeo_addlinestring

integer

atopology varchar, aline public.geometry, tolerance double precision = 0

postgres

c

args: toponame, aline, tolerance - Adds a linestring to an existing topology using a tolerance and possibly splitting existing edges/faces. Returns edge identifiers

topology

topogeo_addpoint

integer

atopology varchar, apoint public.geometry, tolerance double precision = 0

postgres

c

args: toponame, apoint, tolerance - Adds a point to an existing topology using a tolerance and possibly splitting an existing edge.

topology

topogeo_addpolygon

integer

atopology varchar, apoly public.geometry, tolerance double precision = 0

postgres

c

args: atopology, apoly, atolerance - Adds a polygon to an existing topology using a tolerance and possibly splitting existing edges/faces.

topology

topologysummary

text

atopology varchar

postgres

plpgsql

args: topology_schema_name - Takes a topology name and provides summary totals of types of objects in topology

topology

totopogeom

topology.topogeometry

ageom public.geometry, atopology varchar, alayer integer, atolerance double precision = 0

postgres

plpgsql

args: geom, toponame, layer_id, tolerance - Converts a simple Geometry into a topo geometry

topology

totopogeom

topology.topogeometry

ageom public.geometry, tg topology.topogeometry, atolerance double precision = 0

postgres

plpgsql

args: geom, topogeom, tolerance - Converts a simple Geometry into a topo geometry

topology

validatetopology

topology.validatetopology_returntype

toponame varchar

postgres

plpgsql

args: topology_schema_name - Returns a set of validatetopology_returntype objects detailing issues with topology

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