PostGIS 3.5 Cheatsheet

New in this release 1Enhanced in this release 2   Aggregate agg    Window function W   Requires GEOS (3.9,3.10,3.11,3.12) or higher g3.9 g3.11 g3.122.5/3D support 3d   SQL-MMmm   Supports geography G
PostgreSQL PostGIS Geometry/Geography/Box 유형
box2d    The type representing a 2-dimensional bounding box.
box3d    The type representing a 3-dimensional bounding box.
geometry    geography는 지구곡면 좌표계에서 피처를 표현하는데 사용되는 공간 데이터 타입입니다.
geometry_dump    A composite type used to describe the parts of complex geometry.
geography    The type representing spatial features with geodetic (ellipsoidal) coordinate systems.

관리 함수
AddGeometryColumn  3d    공간 테이블에서 지오메트리 컬럼을 제거합니다.
  1. table_name, column_name, srid, type, dimension, use_typmod=true
  2. schema_name, table_name, column_name, srid, type, dimension, use_typmod=true
  3. catalog_name, schema_name, table_name, column_name, srid, type, dimension, use_typmod=true
DropGeometryColumn  3d    공간 테이블에서 지오메트리 컬럼을 제거합니다.
  1. table_name, column_name
  2. schema_name, table_name, column_name
  3. catalog_name, schema_name, table_name, column_name
DropGeometryTable    테이블 및 geometry_columns의 모든 참조를 삭제합니다.
  1. table_name
  2. schema_name, table_name
  3. catalog_name, schema_name, table_name
Find_SRID (a_schema_name, a_table_name, a_geomfield_name)    Returns the SRID defined for a geometry column.
Populate_Geometry_Columns    Ensures geometry columns are defined with type modifiers or have appropriate spatial constraints.
  1. use_typmod=true
  2. relation_oid, use_typmod=true
UpdateGeometrySRID  3d    Updates the SRID of all features in a geometry column, and the table metadata.
  1. table_name, column_name, srid
  2. schema_name, table_name, column_name, srid
  3. catalog_name, schema_name, table_name, column_name, srid

도형 작성자(constructor)
ST_Collect  3d    Creates a GeometryCollection or Multi* geometry from a set of geometries.
  1. g1, g2
  2. g1_array
  3. g1field agg
ST_LineFromMultiPoint  3d (aMultiPoint)    멀티포인트 도형으로부터 라인스트링을 생성합니다.
ST_MakeEnvelope (xmin, ymin, xmax, ymax, srid=unknown)    주어진 최소값과 최대값으로 형성된 직사각형 폴리곤을 생성합니다. 입력값이 SRID로 지정된 SRS를 가지고 있어야 합니다.
ST_MakeLine  3d    포인트, 멀티포인트 또는 라인 도형으로부터 라인스트링을 생성합니다.
  1. geom1, geom2
  2. geoms_array
  3. geoms agg
ST_MakePoint  3d    Creates a 2D, 3DZ or 4D Point.
  1. x, y
  2. x, y, z
  3. x, y, z, m
ST_MakePointM (x, y, m)    x, y 좌표 및 단위를 가진 포인트를 생성합니다.
ST_MakePolygon  3d    Creates a Polygon from a shell and optional list of holes.
  1. linestring
  2. outerlinestring, interiorlinestrings
ST_Point  mm    Creates a Point with X, Y and SRID values.
  1. x, y
  2. x, y, srid=unknown
ST_PointZ (x, y, z, srid=unknown)    Creates a Point with X, Y, Z and SRID values.
ST_PointM (x, y, m, srid=unknown)    Creates a Point with X, Y, M and SRID values.
ST_PointZM (x, y, z, m, srid=unknown)    Creates a Point with X, Y, Z, M and SRID values.
ST_Polygon  mm  3d (lineString, srid)    Creates a Polygon from a LineString with a specified SRID.
ST_TileEnvelope (tileZoom, tileX, tileY, bounds=SRID=3857;LINESTRING(-20037508.342789 -20037508.342789,20037508.342789 20037508.342789), margin=0.0)    Creates a rectangular Polygon in Web Mercator (SRID:3857) using the XYZ tile system.
ST_HexagonGrid (size, bounds)    Returns a set of hexagons and cell indices that completely cover the bounds of the geometry argument.
ST_Hexagon (size, cell_i, cell_j, origin)    Returns a single hexagon, using the provided edge size and cell coordinate within the hexagon grid space.
ST_SquareGrid (size, bounds)    Returns a set of grid squares and cell indices that completely cover the bounds of the geometry argument.
ST_Square (size, cell_i, cell_j, origin)    Returns a single square, using the provided edge size and cell coordinate within the square grid space.
ST_Letters ( letters, font)    Returns the input letters rendered as geometry with a default start position at the origin and default text height of 100.

도형 접근자(accessor)
GeometryType  3d (geomA)    ST_Geometry 값의 도형 유형을 반환합니다.
ST_Boundary  mm  3d (geomA)    해당 도형의 결합된 범위의 닫힘 여부를 반환합니다.
ST_BoundingDiagonal  3d (geom, fits=false)    주어진 도형의 경계 상자의 대각선을 반환합니다.
ST_CoordDim  mm  3d (geomA)    ST_Geometry 값의 좌표 차원을 반환합니다.
ST_Dimension  mm (g)    ST_Geometry 값의 좌표 차원을 반환합니다.
ST_Dump  3d (g1)    Returns a set of geometry_dump rows for the components of a geometry.
ST_DumpPoints  3d (geom)    도형의 내용을 요약한 텍스트를 반환합니다.
ST_DumpSegments  3d (geom)    도형의 내용을 요약한 텍스트를 반환합니다.
ST_DumpRings  3d (a_polygon)    Returns a set of geometry_dump rows for the exterior and interior rings of a Polygon.
ST_EndPoint  mm  3d (g)    ST_LineString 또는 ST_CircularString 값에 있는 포인트의 개수를 반환합니다.
ST_Envelope  mm (g1)    주어진 도형의 이중 정밀도(double precision; float8) 경계 상자를 표현하는 도형을 반환합니다.
ST_ExteriorRing  mm  3d (a_polygon)    폴리곤 도형의 내곽 고리의 개수를 반환합니다.
ST_GeometryN  mm  3d (geomA, n)    ST_Geometry 값의 도형 유형을 반환합니다.
ST_GeometryType  mm  3d (g1)    ST_Geometry 값의 도형 유형을 반환합니다.
ST_HasArc  3d (geomA)    Tests if a geometry contains a circular arc
ST_InteriorRingN  mm  3d (a_polygon, n)    폴리곤 도형의 내곽 고리의 개수를 반환합니다.
ST_NumCurves  mm  3d (a_compoundcurve)    Return the number of component curves in a CompoundCurve.
ST_CurveN  mm  3d (a_compoundcurve, index)    Returns the Nth component curve geometry of a CompoundCurve.
ST_IsClosed  mm  3d (g)    LINESTRING 의 시작점과 종단점이 일치하는 경우 TRUE 를 반환합니다. 다면체 표면이 닫혀 (부피를 가지고) 있는 경우 TRUE 를 반환합니다.
ST_IsCollection  3d (g)    해당 도형이 텅 빈 도형 집합, 폴리곤, 포인트 등인 경우 TRUE 를 반환합니다.
ST_IsEmpty  mm (geomA)    Tests if a geometry is empty.
ST_IsPolygonCCW  3d (geom)    Tests if Polygons have exterior rings oriented counter-clockwise and interior rings oriented clockwise.
ST_IsPolygonCW  3d (geom)    Tests if Polygons have exterior rings oriented clockwise and interior rings oriented counter-clockwise.
ST_IsRing  mm (g)    Tests if a LineString is closed and simple.
ST_IsSimple  mm  3d (geomA)    해당 도형이 자체 교차하거나 자체 접촉하는 이례적인 도형 포인트를 가지고 있지 않을 경우 TRUE 를 반환합니다.
ST_M  mm  3d (a_point)    Returns the M coordinate of a Point.
ST_MemSize  3d (geomA)    ST_Geometry 값의 도형 유형을 반환합니다.
ST_NDims  3d (g1)    ST_Geometry 값의 좌표 차원을 반환합니다.
ST_NPoints  3d (g1)    도형이 가지고 있는 포인트(꼭짓점)의 개수를 반환합니다.
ST_NRings  3d (geomA)    폴리곤 도형의 내곽 고리의 개수를 반환합니다.
ST_NumGeometries  mm  3d (geom)    도형이 가지고 있는 포인트의 개수를 반환합니다. 모든 도형을 입력받을 수 있습니다.
ST_NumInteriorRings  mm (a_polygon)    폴리곤 도형의 내곽 고리의 개수를 반환합니다.
ST_NumInteriorRing (a_polygon)    도형 안에 있는 폴리곤의 내곽 고리의 개수를 반환합니다. ST_NumInteriorRings 함수와 동일합니다.
ST_NumPatches  mm  3d (g1)    다면체 표면 상에 있는 면의 개수를 반환합니다. 다면체 도형이 아닌 경우 NULL을 반환할 것입니다.
ST_NumPoints  mm (g1)    ST_LineString 또는 ST_CircularString 값에 있는 포인트의 개수를 반환합니다.
ST_PatchN  mm  3d (geomA, n)    ST_Geometry 값의 도형 유형을 반환합니다.
ST_PointN  mm  3d (a_linestring, n)    ST_LineString 또는 ST_CircularString 값에 있는 포인트의 개수를 반환합니다.
ST_Points  3d (geom)    도형의 모든 좌표들을 담고 있는 멀티포인트를 반환합니다.
ST_StartPoint  mm  3d (geomA)    Returns the first point of a LineString.
ST_Summary  G    도형의 내용을 요약한 텍스트를 반환합니다.
  1. g
  2. g
ST_X  mm  3d (a_point)    Returns the X coordinate of a Point.
ST_Y  mm  3d (a_point)    Returns the Y coordinate of a Point.
ST_Z  mm  3d (a_point)    Returns the Z coordinate of a Point.
ST_Zmflag  3d (geomA)    ST_Geometry 값의 좌표 차원을 반환합니다.
ST_HasZ  1  3d (geom)    Checks if a geometry has a Z dimension.
ST_HasM  1  3d (geom)    Checks if a geometry has an M (measure) dimension.

도형 편집자(editor)
ST_AddPoint  3d    라인스트링에 포인트를 추가합니다.
  1. linestring, point
  2. linestring, point, position = -1
ST_CollectionExtract    Given a geometry collection, returns a multi-geometry containing only elements of a specified type.
  1. collection
  2. collection, type
ST_CollectionHomogenize (collection)    Returns the simplest representation of a geometry collection.
ST_CurveToLine  mm  3d (curveGeom, tolerance, tolerance_type, flags)    Converts a geometry containing curves to a linear geometry.
ST_Scroll  3d (linestring, point)    Change start point of a closed LineString.
ST_FlipCoordinates  3d (geom)    Returns a version of a geometry with X and Y axis flipped.
ST_Force2D  3d (geomA)    도형을 "2차원 모드"로 강제합니다.
ST_Force3D  3d (geomA, Zvalue = 0.0)    도형을 XYZ 모드로 강제합니다. ST_Force3DZ라고도 합니다.
ST_Force3DZ  3d (geomA, Zvalue = 0.0)    도형을 XYZ 모드로 강제합니다.
ST_Force3DM (geomA, Mvalue = 0.0)    도형을 XYM 모드로 강제합니다.
ST_Force4D  3d (geomA, Zvalue = 0.0, Mvalue = 0.0)    도형을 XYZM 모드로 강제합니다.
ST_ForceCollection  3d (geomA)    도형을 도형 집합으로 변환합니다.
ST_ForceCurve  3d (g)    적용이 가능한 경우, 도형을 해당 도형의 만곡 유형으로 상위 형변환(upcast)합니다.
ST_ForcePolygonCCW  3d (geom)    Orients all exterior rings counter-clockwise and all interior rings clockwise.
ST_ForcePolygonCW  3d (geom)    Orients all exterior rings clockwise and all interior rings counter-clockwise.
ST_ForceSFS  3d    도형이 SFS 1.1 도형 유형만을 쓰도록 강제합니다.
  1. geomA
  2. geomA, version
ST_ForceRHR  3d (g)    폴리곤 안에 있는 꼭짓점들의 방향(orientation)이 오른손 법칙(Right-Hand Rule)을 따르도록 강제합니다.
ST_LineExtend (line, distance_forward, distance_backward=0.0)    Returns a line extended forwards and backwards by specified distances.
ST_LineToCurve  3d (geomANoncircular)    Converts a linear geometry to a curved geometry.
ST_Multi (geom)    도형을 멀티 유형 도형으로 반환합니다.
ST_Normalize (geom)    도형을 해당 도형의 기본형으로 반환합니다.
ST_Project  G    Returns a point projected from a start point by a distance and bearing (azimuth).
  1. g1, distance, azimuth
  2. g1, g2, distance
  3. g1, distance, azimuth
  4. g1, g2, distance
ST_QuantizeCoordinates (g, prec_x, prec_y, prec_z, prec_m)    Sets least significant bits of coordinates to zero
ST_RemovePoint  3d (linestring, offset)    Remove a point from a linestring.
ST_RemoveRepeatedPoints  3d (geom, tolerance)    Returns a version of a geometry with duplicate points removed.
ST_Reverse  3d (g1)    꼭짓점들의 순서가 반대인 도형을 반환합니다.
ST_Segmentize  G    Returns a modified geometry/geography having no segment longer than a given distance.
  1. geom, max_segment_length
  2. geog, max_segment_length
ST_SetPoint  3d (linestring, zerobasedposition, point)    라인스트링의 포인트를 주어진 포인트로 대체합니다.
ST_ShiftLongitude  3d (geom)    Shifts the longitude coordinates of a geometry between -180..180 and 0..360.
ST_WrapX  3d (geom, wrap, move)    X값 근처에서 도형을 래핑합니다.
ST_SnapToGrid  3d    입력 도형의 모든 포인트를 정규 그리드로 스냅(snap)시킵니다.
  1. geomA, originX, originY, sizeX, sizeY
  2. geomA, sizeX, sizeY
  3. geomA, size
  4. geomA, pointOrigin, sizeX, sizeY, sizeZ, sizeM
ST_Snap (input, reference, tolerance)    입력 도형의 분절 구간과 꼭짓점을 참조 도형의 꼭짓점으로 스냅시킵니다.
ST_SwapOrdinates  3d (geom, ords)    입력 도형을 좌표값을 뒤바꾼 상태로 반환합니다.

Geometry Validation
ST_IsValid  mm    Tests if a geometry is well-formed in 2D.
  1. g
  2. g, flags
ST_IsValidDetail (geom, flags)    Returns a valid_detail row stating if a geometry is valid or if not a reason and a location.
ST_IsValidReason    Returns text stating if a geometry is valid, or a reason for invalidity.
  1. geomA
  2. geomA, flags
ST_MakeValid  3d    Attempts to make an invalid geometry valid without losing vertices.
  1. input
  2. input, params

Spatial Reference System Functions
ST_InverseTransformPipeline (geom, pipeline, to_srid)    Return a new geometry with coordinates transformed to a different spatial reference system using the inverse of a defined coordinate transformation pipeline.
ST_SetSRID (geom, srid)    Set the SRID on a geometry.
ST_SRID  mm (g1)    Returns the spatial reference identifier for a geometry.
ST_Transform  mm    Return a new geometry with coordinates transformed to a different spatial reference system.
  1. g1, srid
  2. geom, to_proj
  3. geom, from_proj, to_proj
  4. geom, from_proj, to_srid
ST_TransformPipeline (g1, pipeline, to_srid)    Return a new geometry with coordinates transformed to a different spatial reference system using a defined coordinate transformation pipeline.
postgis_srs_codes (auth_name)    Return the list of SRS codes associated with the given authority.
postgis_srs (auth_name, auth_srid)    Return a metadata record for the requested authority and srid.
postgis_srs_all ()    Return metadata records for every spatial reference system in the underlying Proj database.
postgis_srs_search (bounds, auth_name=EPSG)    Return metadata records for projected coordinate systems that have areas of useage that fully contain the bounds parameter.

Geometry Input
ST_BdPolyFromText (WKT, srid)    멀티라인스트링 WKT 텍스트 표현식으로 주어진 임의의 폐쇄형 라인스트링 집합으로 폴리곤을 작성합니다.
ST_BdMPolyFromText (WKT, srid)    멀티라인스트링 WKT 텍스트 표현식으로 주어진 임의의 폐쇄형 라인스트링 집합으로 멀티폴리곤을 작성합니다.
ST_GeogFromText  G (EWKT)    WKT (확장) 표현식으로부터 지정된 지리형 값을 반환합니다.
ST_GeographyFromText  G (EWKT)    WKT (확장) 표현식으로부터 지정된 지리형 값을 반환합니다.
ST_GeomCollFromText  mm    Makes a collection Geometry from collection WKT with the given SRID. If SRID is not given, it defaults to 0.
  1. WKT, srid
  2. WKT
ST_GeomFromEWKT  3d (EWKT)    EWKT(Extended Well-Known Text)로부터 지정된 ST_Geometry 값을 반환합니다.
ST_GeomFromMARC21 (marcxml)    Takes MARC21/XML geographic data as input and returns a PostGIS geometry object.
ST_GeometryFromText  mm    WKT(Well-Known Text)로부터 지정된 ST_Geometry 값을 반환합니다. 이 함수는 ST_GeomFromText 함수와 동일합니다.
  1. WKT
  2. WKT, srid
ST_GeomFromText  mm    WKT 표현식으로부터 지정된 ST_Geometry 값을 반환합니다.
  1. WKT
  2. WKT, srid
ST_LineFromText  mm    주어진 SRID와 함께 WKT 표현식으로부터 도형을 만듭니다. SRID가 주어지지 않은 경우, 기본값인 0을 씁니다.
  1. WKT
  2. WKT, srid
ST_MLineFromText  mm    WKT 표현식으로부터 지정된 ST_MultiLineString 값을 반환합니다.
  1. WKT, srid
  2. WKT
ST_MPointFromText  mm    Makes a Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.
  1. WKT, srid
  2. WKT
ST_MPolyFromText  mm    Makes a MultiPolygon Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.
  1. WKT, srid
  2. WKT
ST_PointFromText  mm    주어진 SRID와 함께 WKT 표현식으로부터 포인트 도형을 만듭니다. SRID가 주어지지 않은 경우, 기본값인 0을 씁니다.
  1. WKT
  2. WKT, srid
ST_PolygonFromText  mm    Makes a Geometry from WKT with the given SRID. If SRID is not given, it defaults to 0.
  1. WKT
  2. WKT, srid
ST_WKTToSQL  mm (WKT)    WKT(Well-Known Text)로부터 지정된 ST_Geometry 값을 반환합니다. 이 함수는 ST_GeomFromText 함수와 동일합니다.
ST_GeogFromWKB  G (wkb)    WKB 도형 표현식 또는 EWKB(확장 WKB)로부터 지리형 인스턴스를 생성합니다.
ST_GeomFromEWKB  3d (EWKB)    EWKB(Extended Well-Known Binary)로부터 지정된 ST_Geometry 값을 반환합니다.
ST_GeomFromWKB  mm    WKB(Well-Known Binary) 도형 표현식과 선택적인 SRID로부터 도형 인스턴스를 생성합니다.
  1. geom
  2. geom, srid
ST_LineFromWKB  mm    주어진 SRID와 함께 WKB로부터 LINESTRING 을 만듭니다.
  1. WKB
  2. WKB, srid
ST_LinestringFromWKB  mm    주어진 SRID와 함께 WKB로부터 도형을 만듭니다.
  1. WKB
  2. WKB, srid
ST_PointFromWKB  mm  3d    주어진 SRID와 함께 WKB로부터 도형을 만듭니다.
  1. geom
  2. geom, srid
ST_WKBToSQL  mm (WKB)    WKB(Well-Known Binary) 표현식으로부터 지정된 ST_Geometry 값을 반환합니다. 이 함수는 SRID를 입력받지 않는 ST_GeomFromWKB 함수와 동일합니다.
ST_Box2dFromGeoHash (geohash, precision=full_precision_of_geohash)    GeoHash 스트링으로부터 BOX2D를 반환합니다.
ST_GeomFromGeoHash (geohash, precision=full_precision_of_geohash)    GeoHash 스트링으로부터 도형을 반환합니다.
ST_GeomFromGML  3d    도형의 GML 표현식을 입력받아 PostGIS 도형 객체를 출력합니다.
  1. geomgml
  2. geomgml, srid
ST_GeomFromGeoJSON  3d    GeoJSON 표현식을 입력받아 PostGIS 도형 객체를 출력합니다.
  1. geomjson
  2. geomjson
  3. geomjson
ST_GeomFromKML  3d (geomkml)    도형의 KML 표현식을 입력받아 PostGIS 도형 객체를 출력합니다.
ST_GeomFromTWKB (twkb)    TWKB("Tiny Well-Known Binary") 도형 표현식으로부터 도형 인스턴스를 생성합니다.
ST_GMLToSQL  mm    GML로부터 지정된 ST_Geometry 값을 반환합니다. 이 함수는 ST_GeomFromGML 함수와 동일합니다.
  1. geomgml
  2. geomgml, srid
ST_LineFromEncodedPolyline (polyline, precision=5)    인코딩된 폴리라인(polyline)으로부터 라인스트링을 생성합니다.
ST_PointFromGeoHash (geohash, precision=full_precision_of_geohash)    GeoHash 스트링으로부터 포인트를 반환합니다.
ST_FromFlatGeobufToTable (schemaname, tablename, FlatGeobuf input data)    Creates a table based on the structure of FlatGeobuf data.
ST_FromFlatGeobuf (Table reference, FlatGeobuf input data)    Reads FlatGeobuf data.

Geometry Output
ST_AsEWKT  G  3d    도형의 WKT(Well-Known Text) 표현식을 SRID 메타데이터와 함께 반환합니다.
  1. g1
  2. g1, maxdecimaldigits=15
  3. g1
  4. g1, maxdecimaldigits=15
ST_AsText  mm  G    도형/지리형의 WKT(Well-Known Text) 표현식을 SRID 메타데이터 없이 반환합니다.
  1. g1
  2. g1, maxdecimaldigits = 15
  3. g1
  4. g1, maxdecimaldigits = 15
ST_AsBinary  mm  G  3d    Return the OGC/ISO Well-Known Binary (WKB) representation of the geometry/geography without SRID meta data.
  1. g1
  2. g1, NDR_or_XDR
  3. g1
  4. g1, NDR_or_XDR
ST_AsEWKB  3d    Return the Extended Well-Known Binary (EWKB) representation of the geometry with SRID meta data.
  1. g1
  2. g1, NDR_or_XDR
ST_AsHEXEWKB  3d    도형을 소 엔디안(NDR) 또는 대 엔디안(XDR) 인코딩을 통해 HEXEWKB (텍스트) 형식으로 반환합니다.
  1. g1, NDRorXDR
  2. g1
ST_AsEncodedPolyline (geom, precision=5)    라인스트링 도형으로부터 인코딩된 폴리라인을 반환합니다.
ST_AsFlatGeobuf    Return a FlatGeobuf representation of a set of rows.
  1. row agg
  2. row, index
  3. row, index, geom_name
ST_AsGeobuf    Return a Geobuf representation of a set of rows.
  1. row agg
  2. row, geom_name
ST_AsGeoJSON  G  3d    Return a geometry or feature in GeoJSON format.
  1. feature, geom_column="", maxdecimaldigits=9, pretty_bool=false, id_column=''
  2. geom, maxdecimaldigits=9, options=8
  3. geog, maxdecimaldigits=9, options=0
ST_AsGML  mm  G  3d    도형을 GML 2 또는 GML 3 버전 요소로 반환합니다.
  1. geom, maxdecimaldigits=15, options=0
  2. geog, maxdecimaldigits=15, options=0, nprefix=null, id=null
  3. version, geom, maxdecimaldigits=15, options=0, nprefix=null, id=null
  4. version, geog, maxdecimaldigits=15, options=0, nprefix=null, id=null
ST_AsKML  G  3d    도형을 GML 2 또는 GML 3 버전 요소로 반환합니다.
  1. geom, maxdecimaldigits=15, nprefix=NULL
  2. geog, maxdecimaldigits=15, nprefix=NULL
ST_AsLatLonText (pt, format='')    주어진 포인트의 도, 분, 초 표현식을 반환합니다.
ST_AsMARC21 (geom, format='hdddmmss')    Returns geometry as a MARC21/XML record with a geographic datafield (034).
ST_AsMVTGeom (geom, bounds, extent=4096, buffer=256, clip_geom=true)    Transforms a geometry into the coordinate space of a MVT tile.
ST_AsMVT    Aggregate function returning a MVT representation of a set of rows.
  1. row agg
  2. row, name
  3. row, name, extent
  4. row, name, extent, geom_name
  5. row, name, extent, geom_name, feature_id_name
ST_AsSVG  G    Returns SVG path data for a geometry.
  1. geom, rel=0, maxdecimaldigits=15
  2. geog, rel=0, maxdecimaldigits=15
ST_AsTWKB    도형을 TWKB(Tiny Well-Known Binary)로 반환합니다.
  1. geom, prec=0, prec_z=0, prec_m=0, with_sizes=false, with_boxes=false
  2. geom, ids, prec=0, prec_z=0, prec_m=0, with_sizes=false, with_boxes=false
ST_AsX3D  3d (g1, maxdecimaldigits=15, options=0)    도형을 X3D XML 노드 요소 형식: ISO-IEC-19776-1.2-X3DEncodings-XML로 반환합니다.
ST_GeoHash (geom, maxchars=full_precision_of_point)    도형의 GeoHash 표현식을 반환합니다.

연산자(operator)
&&  G    A의 2D 경계 상자와 B의 2D 경계 상자가 교차하는 경우 TRUE 를 반환합니다.
  1. A, B
  2. A, B
&&(geometry,box2df) (A, B)    Returns TRUE if a geometry's (cached) 2D bounding box intersects a 2D float precision bounding box (BOX2DF).
&&(box2df,geometry) (A, B)    Returns TRUE if a 2D float precision bounding box (BOX2DF) intersects a geometry's (cached) 2D bounding box.
&&(box2df,box2df) (A, B)    Returns TRUE if two 2D float precision bounding boxes (BOX2DF) intersect each other.
&&&  3d (A, B)    A의 n차원 경계 상자와 B의 n차원 경계 상자가 교차하는 경우 TRUE 를 반환합니다.
&&&(geometry,gidx)  3d (A, B)    Returns TRUE if a geometry's (cached) n-D bounding box intersects a n-D float precision bounding box (GIDX).
&&&(gidx,geometry)  3d (A, B)    Returns TRUE if a n-D float precision bounding box (GIDX) intersects a geometry's (cached) n-D bounding box.
&&&(gidx,gidx)  3d (A, B)    Returns TRUE if two n-D float precision bounding boxes (GIDX) intersect each other.
&< (A, B)    A의 경계 상자가 B의 경계 상자와 겹치거나 그 왼쪽에 있을 경우 TRUE 를 반환합니다.
&<| (A, B)    A의 경계 상자가 B의 경계 상자와 겹치거나 그 아래에 있을 경우 TRUE 를 반환합니다.
&> (A, B)    A의 경계 상자가 B의 경계 상자와 겹치거나 그 오른쪽에 있을 경우 TRUE 를 반환합니다.
<< (A, B)    A의 경계 상자가 오로지 B의 경계 상자 왼쪽에 있을 경우에만 TRUE 를 반환합니다.
<<| (A, B)    A의 경계 상자가 오로지 B의 경계 상자 아래에 있을 경우에만 TRUE 를 반환합니다.
=  G    Returns TRUE if the coordinates and coordinate order geometry/geography A are the same as the coordinates and coordinate order of geometry/geography B.
  1. A, B
  2. A, B
>> (A, B)    A의 경계 상자가 오로지 B의 경계 상자 오른쪽에 있을 경우에만 TRUE 를 반환합니다.
@ (A, B)    B의 경계 상자가 A의 경계 상자를 담고 있을 경우 TRUE 를 반환합니다.
@(geometry,box2df) (A, B)    Returns TRUE if a geometry's 2D bounding box is contained into a 2D float precision bounding box (BOX2DF).
@(box2df,geometry) (A, B)    Returns TRUE if a 2D float precision bounding box (BOX2DF) is contained into a geometry's 2D bounding box.
@(box2df,box2df) (A, B)    Returns TRUE if a 2D float precision bounding box (BOX2DF) is contained into another 2D float precision bounding box.
|&> (A, B)    A의 경계 상자가 B의 경계 상자와 겹치거나 그 위에 있을 경우 TRUE 를 반환합니다.
|>> (A, B)    A의 경계 상자가 오로지 B의 경계 상자 위에 있을 경우에만 TRUE 를 반환합니다.
~ (A, B)    A의 경계 상자가 B의 경계 상자를 담고 있을 경우 TRUE 를 반환합니다.
~(geometry,box2df) (A, B)    Returns TRUE if a geometry's 2D bonding box contains a 2D float precision bounding box (GIDX).
~(box2df,geometry) (A, B)    Returns TRUE if a 2D float precision bounding box (BOX2DF) contains a geometry's 2D bonding box.
~(box2df,box2df) (A, B)    Returns TRUE if a 2D float precision bounding box (BOX2DF) contains another 2D float precision bounding box (BOX2DF).
~= (A, B)    A의 경계 상자와 B의 경계 상자가 동일할 경우 TRUE 를 반환합니다.
<->  G    A와 B 사이의 2차원 거리를 반환합니다.
  1. A, B
  2. A, B
|=| (A, B)    A와 B 사이의 최근접점(closest point of approach)을 잇는 궤도(trajectory)의 거리를 반환합니다.
<#> (A, B)    A와 B의 경계 상자 사이의 2차원 거리를 반환합니다.
<<->> (A, B)    Returns the n-D distance between the A and B geometries or bounding boxes

Spatial Relationships
ST_3DIntersects  mm  3d (geomA, geomB)    Tests if two geometries spatially intersect in 3D - only for points, linestrings, polygons, polyhedral surface (area)
ST_Contains  mm (geomA, geomB)    Tests if every point of B lies in A, and their interiors have a point in common
ST_ContainsProperly (geomA, geomB)    Tests if every point of B lies in the interior of A
ST_CoveredBy  G    Tests if every point of A lies in B
  1. geomA, geomB
  2. geogA, geogB
ST_Covers  G    Tests if every point of B lies in A
  1. geomA, geomB
  2. geogpolyA, geogpointB
ST_Crosses  mm (g1, g2)    Tests if two geometries have some, but not all, interior points in common
ST_Disjoint  mm (A, B)    Tests if two geometries have no points in common
ST_Equals  mm (A, B)    Tests if two geometries include the same set of points
ST_Intersects  mm  G    Tests if two geometries intersect (they have at least one point in common)
  1. geomA, geomB
  2. geogA, geogB
ST_LineCrossingDirection (linestringA, linestringB)    Returns a number indicating the crossing behavior of two LineStrings
ST_OrderingEquals  mm (A, B)    Tests if two geometries represent the same geometry and have points in the same directional order
ST_Overlaps  mm (A, B)    Tests if two geometries have the same dimension and intersect, but each has at least one point not in the other
ST_Relate  mm    Tests if two geometries have a topological relationship matching an Intersection Matrix pattern, or computes their Intersection Matrix
  1. geomA, geomB, intersectionMatrixPattern
  2. geomA, geomB
  3. geomA, geomB, boundaryNodeRule
ST_RelateMatch (intersectionMatrix, intersectionMatrixPattern)    Tests if a DE-9IM Intersection Matrix matches an Intersection Matrix pattern
ST_Touches  mm (A, B)    Tests if two geometries have at least one point in common, but their interiors do not intersect
ST_Within  mm (A, B)    Tests if every point of A lies in B, and their interiors have a point in common
ST_3DDWithin  mm  3d (g1, g2, distance_of_srid)    Tests if two 3D geometries are within a given 3D distance
ST_3DDFullyWithin  3d (g1, g2, distance)    Tests if two 3D geometries are entirely within a given 3D distance
ST_DFullyWithin (g1, g2, distance)    Tests if a geometry is entirely inside a distance of another
ST_DWithin  G    Tests if two geometries are within a given distance
  1. g1, g2, distance_of_srid
  2. gg1, gg2, distance_meters, use_spheroid = true
ST_PointInsideCircle (a_point, center_x, center_y, radius)    Tests if a point geometry is inside a circle defined by a center and radius

Measurement Functions
ST_Area  mm  G    도형의 기하학적 중심을 반환합니다.
  1. g1
  2. geog, use_spheroid = true
ST_Azimuth  G    두 도형 사이의 2차원 최단 라인을 반환합니다.
  1. origin, target
  2. origin, target
ST_Angle    두 도형 사이의 3차원 최장(longest) 라인을 반환합니다.
  1. point1, point2, point3, point4
  2. line1, line2
ST_ClosestPoint  G    Returns the 2D point on g1 that is closest to g2. This is the first point of the shortest line from one geometry to the other.
  1. geom1, geom2
  2. geom1, geom2, use_spheroid = true
ST_3DClosestPoint  3d (g1, g2)    g2에 가장 가까운 g1 상에 있는 3차원 포인트를 반환합니다. 해당 포인트는 3D 최단 라인의 첫 번째 포인트입니다.
ST_Distance  mm  G    두 도형 사이의 3차원 최장(longest) 라인을 반환합니다.
  1. g1, g2
  2. geog1, geog2, use_spheroid = true
ST_3DDistance  mm  3d (g1, g2)    도형 유형에 대해, 두 도형 사이의 (SRS에 기반한) 3차원 데카르트 최단 거리를 투영 단위로 반환합니다.
ST_DistanceSphere (geomlonlatA, geomlonlatB, radius=6371008)    특정 회전타원체가 주어진 두 경위도 도형 사이의 최단 거리를 반환합니다. PostGIS 1.5 미만 버전은 포인트만 지원했습니다.
ST_DistanceSpheroid (geomlonlatA, geomlonlatB, measurement_spheroid=WGS84)    특정 회전타원체가 주어진 두 경위도 도형 사이의 최단 거리를 반환합니다. PostGIS 1.5 미만 버전은 포인트만 지원했습니다.
ST_FrechetDistance (g1, g2, densifyFrac = -1)    두 도형 사이의 3차원 최단(shortest) 라인을 반환합니다.
ST_HausdorffDistance    두 도형 사이의 3차원 최단(shortest) 라인을 반환합니다.
  1. g1, g2
  2. g1, g2, densifyFrac
ST_Length  mm  G    도형의 기하학적 중심을 반환합니다.
  1. a_2dlinestring
  2. geog, use_spheroid = true
ST_Length2D (a_2dlinestring)    도형이 라인스트링 또는 멀티라인스트링일 경우 도형의 2차원 길이를 반환합니다. 이 함수는 ST_Length 와 동일합니다.
ST_3DLength  mm  3d (a_3dlinestring)    도형의 기하학적 중심을 반환합니다.
ST_LengthSpheroid  3d (a_geometry, a_spheroid)    도형의 기하학적 중심을 반환합니다.
ST_LongestLine (g1, g2)    두 도형 사이의 3차원 최장(longest) 라인을 반환합니다.
ST_3DLongestLine  3d (g1, g2)    두 도형 사이의 3차원 최장(longest) 라인을 반환합니다.
ST_MaxDistance (g1, g2)    두 도형 사이의 2차원 최장 거리를 투영 단위로 반환합니다.
ST_3DMaxDistance  3d (g1, g2)    도형 유형에 대해, 두 도형 사이의 (SRS에 기반한) 3차원 데카르트 최장 거리를 투영 단위로 반환합니다.
ST_MinimumClearance (g)    도형의 튼튼함(robustness)의 척도인 도형의 최소 여유(clearance)를 반환합니다.
ST_MinimumClearanceLine (g)    포인트 2개로 이루어진, 도형의 최소 여유를 나타내는 라인스트링을 반환합니다.
ST_Perimeter  mm  G    Returns the length of the boundary of a polygonal geometry or geography.
  1. g1
  2. geog, use_spheroid = true
ST_Perimeter2D (geomA)    Returns the 2D perimeter of a polygonal geometry. Alias for ST_Perimeter.
ST_3DPerimeter  mm  3d (geomA)    도형의 기하학적 중심을 반환합니다.
ST_ShortestLine  G    두 도형 사이의 2차원 최단 라인을 반환합니다.
  1. geom1, geom2
  2. geom1, geom2, use_spheroid = true
ST_3DShortestLine  3d (g1, g2)    두 도형 사이의 3차원 최단(shortest) 라인을 반환합니다.

Overlay Functions
ST_ClipByBox2D (geom, box)    Computes the portion of a geometry falling within a rectangle.
ST_Difference  mm  g3.9  3d (geomA, geomB, gridSize = -1)    Computes a geometry representing the part of geometry A that does not intersect geometry B.
ST_Intersection  mm  G  g3.9  3d    Computes a geometry representing the shared portion of geometries A and B.
  1. geomA, geomB, gridSize = -1
  2. geogA, geogB
ST_MemUnion  3d (geomfield)    Aggregate function which unions geometries in a memory-efficent but slower way
ST_Node  3d (geom)    Nodes a collection of lines.
ST_Split (input, blade)    Returns a collection of geometries created by splitting a geometry by another geometry.
ST_Subdivide  g3.9 (geom, max_vertices=256, gridSize = -1)    Computes a rectilinear subdivision of a geometry.
ST_SymDifference  mm  g3.9  3d (geomA, geomB, gridSize = -1)    Computes a geometry representing the portions of geometries A and B that do not intersect.
ST_UnaryUnion  g3.9  3d (geom, gridSize = -1)    Computes the union of the components of a single geometry.
ST_Union  mm  g3.9  3d    Computes a geometry representing the point-set union of the input geometries.
  1. g1, g2
  2. g1, g2, gridSize
  3. g1_array
  4. g1field agg
  5. g1field, gridSize agg

도형 공간 처리
ST_Buffer  mm  G    Computes a geometry covering all points within a given distance from a geometry.
  1. g1, radius_of_buffer, buffer_style_parameters = ''
  2. g1, radius_of_buffer, num_seg_quarter_circle
  3. g1, radius_of_buffer, buffer_style_parameters
  4. g1, radius_of_buffer, num_seg_quarter_circle
ST_BuildArea (geom)    Creates a polygonal geometry formed by the linework of a geometry.
ST_Centroid  mm  G    도형의 기하학적 중심을 반환합니다.
  1. g1
  2. g1, use_spheroid = true
ST_ChaikinSmoothing  3d (geom, nIterations = 1, preserveEndPoints = false)    Returns a smoothed version of a geometry, using the Chaikin algorithm
ST_ConcaveHull (param_geom, param_pctconvex, param_allow_holes = false)    Computes a possibly concave geometry that contains all input geometry vertices
ST_ConvexHull  mm  3d (geomA)    Computes the convex hull of a geometry.
ST_DelaunayTriangles  3d (g1, tolerance = 0.0, flags = 0)    Returns the Delaunay triangulation of the vertices of a geometry.
ST_FilterByM (geom, min, max = null, returnM = false)    Removes vertices based on their M value
ST_GeneratePoints (g, npoints, seed = 0)    Generates a multipoint of random points contained in a Polygon or MultiPolygon.
ST_GeometricMedian  3d (geom, tolerance = NULL, max_iter = 10000, fail_if_not_converged = false)    멀티 포인트의 기하학적 중심값(median)을 반환합니다.
ST_LineMerge  g3.11    Return the lines formed by sewing together a MultiLineString.
  1. amultilinestring
  2. amultilinestring, directed
ST_MaximumInscribedCircle  g3.9 (geom)    도형의 기하학적 중심을 반환합니다.
ST_LargestEmptyCircle  g3.9 (geom, tolerance=0.0, boundary=POINT EMPTY)    Computes the largest circle not overlapping a geometry.
ST_MinimumBoundingCircle (geomA, num_segs_per_qt_circ=48)    Returns the smallest circle polygon that contains a geometry.
ST_MinimumBoundingRadius (geom)    Returns the center point and radius of the smallest circle that contains a geometry.
ST_OrientedEnvelope (geom)    Returns a minimum-area rectangle containing a geometry.
ST_OffsetCurve (line, signed_distance, style_parameters='')    Returns an offset line at a given distance and side from an input line.
ST_PointOnSurface  mm  3d (g1)    Computes a point guaranteed to lie in a polygon, or on a geometry.
ST_Polygonize    Computes a collection of polygons formed from the linework of a set of geometries.
  1. geomfield agg
  2. geom_array
ST_ReducePrecision  g3.9 (g, gridsize)    Returns a valid geometry with points rounded to a grid tolerance.
ST_SharedPaths (lineal1, lineal2)    두 입력 라인스트링/멀티라인스트링이 공유하는 경로를 담고 있는 집합을 반환합니다.
ST_Simplify    Returns a simplified representation of a geometry, using the Douglas-Peucker algorithm.
  1. geom, tolerance
  2. geom, tolerance, preserveCollapsed
ST_SimplifyPreserveTopology (geom, tolerance)    Returns a simplified and valid representation of a geometry, using the Douglas-Peucker algorithm.
ST_SimplifyPolygonHull  g3.11 (param_geom, vertex_fraction, is_outer = true)    Computes a simplifed topology-preserving outer or inner hull of a polygonal geometry.
ST_SimplifyVW (geom, tolerance)    Returns a simplified representation of a geometry, using the Visvalingam-Whyatt algorithm
ST_SetEffectiveArea (geom, threshold = 0, set_area = 1)    Sets the effective area for each vertex, using the Visvalingam-Whyatt algorithm.
ST_TriangulatePolygon  g3.11 (geom)    Computes the constrained Delaunay triangulation of polygons
ST_VoronoiLines (geom, tolerance = 0.0, extend_to = NULL)    Returns the boundaries of the Voronoi diagram of the vertices of a geometry.
ST_VoronoiPolygons (geom, tolerance = 0.0, extend_to = NULL)    Returns the cells of the Voronoi diagram of the vertices of a geometry.

Coverages
ST_CoverageInvalidEdges  g3.12 (geom, tolerance = 0)    Window function that finds locations where polygons fail to form a valid coverage.
ST_CoverageSimplify  g3.12 (geom, tolerance, simplifyBoundary = true)    Window function that simplifies the edges of a polygonal coverage.
ST_CoverageUnion (geom)    Computes the union of a set of polygons forming a coverage by removing shared edges.

Affine Transformations
ST_Affine  3d    Apply a 3D affine transformation to a geometry.
  1. geomA, a, b, c, d, e, f, g, h, i, xoff, yoff, zoff
  2. geomA, a, b, d, e, xoff, yoff
ST_Rotate  3d    Rotates a geometry about an origin point.
  1. geomA, rotRadians
  2. geomA, rotRadians, x0, y0
  3. geomA, rotRadians, pointOrigin
ST_RotateX  3d (geomA, rotRadians)    Rotates a geometry about the X axis.
ST_RotateY  3d (geomA, rotRadians)    Rotates a geometry about the Y axis.
ST_RotateZ  3d (geomA, rotRadians)    Rotates a geometry about the Z axis.
ST_Scale  3d    Scales a geometry by given factors.
  1. geomA, XFactor, YFactor, ZFactor
  2. geomA, XFactor, YFactor
  3. geom, factor
  4. geom, factor, origin
ST_Translate  3d    Translates a geometry by given offsets.
  1. g1, deltax, deltay
  2. g1, deltax, deltay, deltaz
ST_TransScale  3d (geomA, deltaX, deltaY, XFactor, YFactor)    Translates and scales a geometry by given offsets and factors.

Clustering Functions
ST_ClusterDBSCAN (geom, eps, minpoints)    Window function that returns a cluster id for each input geometry using the DBSCAN algorithm.
ST_ClusterIntersecting (g)    Aggregate function that clusters input geometries into connected sets.
ST_ClusterIntersectingWin (geom)    Window function that returns a cluster id for each input geometry, clustering input geometries into connected sets.
ST_ClusterKMeans (geom, number_of_clusters, max_radius)    Window function that returns a cluster id for each input geometry using the K-means algorithm.
ST_ClusterWithin (g, distance)    Aggregate function that clusters geometries by separation distance.
ST_ClusterWithinWin (geom, distance)    Window function that returns a cluster id for each input geometry, clustering using separation distance.

Bounding Box Functions
Box2D (geom)    Returns a BOX2D representing the 2D extent of a geometry.
Box3D  3d (geom)    Returns a BOX3D representing the 3D extent of a geometry.
ST_EstimatedExtent    Returns the estimated extent of a spatial table.
  1. schema_name, table_name, geocolumn_name, parent_only
  2. schema_name, table_name, geocolumn_name
  3. table_name, geocolumn_name
ST_Expand    Returns a bounding box expanded from another bounding box or a geometry.
  1. geom, units_to_expand
  2. geom, dx, dy, dz=0, dm=0
  3. box, units_to_expand
  4. box, dx, dy
  5. box, units_to_expand
  6. box, dx, dy, dz=0
ST_Extent (geomfield)    Aggregate function that returns the bounding box of geometries.
ST_3DExtent  3d (geomfield)    Aggregate function that returns the 3D bounding box of geometries.
ST_MakeBox2D (pointLowLeft, pointUpRight)    Creates a BOX2D defined by two 2D point geometries.
ST_3DMakeBox (point3DLowLeftBottom, point3DUpRightTop)    Creates a BOX3D defined by two 3D point geometries.
ST_XMax  3d (aGeomorBox2DorBox3D)    Returns the X maxima of a 2D or 3D bounding box or a geometry.
ST_XMin  3d (aGeomorBox2DorBox3D)    Returns the X minima of a 2D or 3D bounding box or a geometry.
ST_YMax  3d (aGeomorBox2DorBox3D)    Returns the Y maxima of a 2D or 3D bounding box or a geometry.
ST_YMin  3d (aGeomorBox2DorBox3D)    Returns the Y minima of a 2D or 3D bounding box or a geometry.
ST_ZMax  3d (aGeomorBox2DorBox3D)    Returns the Z maxima of a 2D or 3D bounding box or a geometry.
ST_ZMin  3d (aGeomorBox2DorBox3D)    Returns the Z minima of a 2D or 3D bounding box or a geometry.

선형 참조(Linear Referencing)
ST_LineInterpolatePoint  G  3d    Returns a point interpolated along a line at a fractional location.
  1. a_linestring, a_fraction
  2. a_linestring, a_fraction, use_spheroid = true
ST_3DLineInterpolatePoint  3d (a_linestring, a_fraction)    Returns a point interpolated along a 3D line at a fractional location.
ST_LineInterpolatePoints  G  3d    Returns points interpolated along a line at a fractional interval.
  1. a_linestring, a_fraction, repeat
  2. a_linestring, a_fraction, use_spheroid = true, repeat = true
ST_LineLocatePoint  G    Returns the fractional location of the closest point on a line to a point.
  1. a_linestring, a_point
  2. a_linestring, a_point, use_spheroid = true
ST_LineSubstring  G  3d    Returns the part of a line between two fractional locations.
  1. a_linestring, startfraction, endfraction
  2. a_linestring, startfraction, endfraction
ST_LocateAlong  mm (geom_with_measure, measure, offset = 0)    Returns the point(s) on a geometry that match a measure value.
ST_LocateBetween  mm (geom, measure_start, measure_end, offset = 0)    Returns the portions of a geometry that match a measure range.
ST_LocateBetweenElevations  3d (geom, elevation_start, elevation_end)    Returns the portions of a geometry that lie in an elevation (Z) range.
ST_InterpolatePoint  3d (linear_geom_with_measure, point)    입력 포인트에 가까운 포인트에서 도형의 척도 차원(M 차원)의 값을 반환합니다.
ST_AddMeasure  3d (geom_mline, measure_start, measure_end)    Interpolates measures along a linear geometry.

Trajectory Functions
ST_IsValidTrajectory  3d (line)    Tests if the geometry is a valid trajectory.
ST_ClosestPointOfApproach  3d (track1, track2)    Returns a measure at the closest point of approach of two trajectories.
ST_DistanceCPA  3d (track1, track2)    Returns the distance between the closest point of approach of two trajectories.
ST_CPAWithin  3d (track1, track2, dist)    Tests if the closest point of approach of two trajectories is within the specified distance.

Version Functions
PostGIS_Extensions_Upgrade (target_version=null)    Packages and upgrades PostGIS extensions (e.g. postgis_raster, postgis_topology, postgis_sfcgal) to given or latest version.
PostGIS_Full_Version ()    Reports full PostGIS version and build configuration infos.
PostGIS_GEOS_Version ()    Returns the version number of the GEOS library.
PostGIS_GEOS_Compiled_Version ()    Returns the version number of the GEOS library against which PostGIS was built.
PostGIS_Liblwgeom_Version ()    Returns the version number of the liblwgeom library. This should match the version of PostGIS.
PostGIS_LibXML_Version ()    Returns the version number of the libxml2 library.
PostGIS_Lib_Build_Date ()    Returns build date of the PostGIS library.
PostGIS_Lib_Version ()    Returns the version number of the PostGIS library.
PostGIS_PROJ_Version ()    Returns the version number of the PROJ4 library.
PostGIS_Wagyu_Version ()    Returns the version number of the internal Wagyu library.
PostGIS_Scripts_Build_Date ()    Returns build date of the PostGIS scripts.
PostGIS_Scripts_Installed ()    Returns version of the PostGIS scripts installed in this database.
PostGIS_Scripts_Released ()    Returns the version number of the postgis.sql script released with the installed PostGIS lib.
PostGIS_Version ()    Returns PostGIS version number and compile-time options.

PostGIS GUC(Grand Unified Custom Variable)
postgis.backend    GEOS와 SFCGAL 양쪽의 겹치는 함수를 서비스하는 백엔드입니다. geos 또는 sfcgal을 선택할 수 있는데, 기본값은 geos입니다.
postgis.gdal_datapath    GDAL의 GDAL_DATA 옵션의 값을 할당하는 설정 옵션입니다. 설정하지 않을 경우, 환경적으로 설정된 GDAL_DATA 변수를 사용합니다.
postgis.gdal_enabled_drivers    PostGIS 환경에서 사용할 수 있는 GDAL 드라이버를 설정하는 설정 옵션입니다. GDAL 설정 변수 GDAL_SKIP에 영향을 미칩니다.
postgis.enable_outdb_rasters    DB 외부 래스터 밴드에 접근할 수 있게 해주는 불 설정 옵션입니다.
postgis.gdal_vsi_options    DB 외부 래스터 밴드에 접근할 수 있게 해주는 불 설정 옵션입니다.

Troubleshooting Functions
PostGIS_AddBBox (geomA)    도형에 경계 상자를 추가합니다.
PostGIS_DropBBox (geomA)    도형으로부터 경계 상자 캐시를 삭제합니다.
PostGIS_HasBBox (geomA)    해당 도형의 경계 상자가 캐시화된 경우 참을 반환하고, 그렇지 않을 경우 거짓을 반환합니다.