Name
ST_ExteriorRing — Returns an external (the very first) ring of a polygon.
Synopsis
ST_ExteriorRing
(
|
in
poligon
any
) ; |
Description
Returns an external (the very first) ring of a polygon.
Parameters
poligon
A given poligon from a type shape.
Return Types
Returns any.
Examples
Example 24.659. Simple Use
SQL> select ST_ExteriorRing (st_ewkt_read ('POLYGON((1 3,2 4,1 5,0 4,1 3),(1 3.5,1.5 4,1 4.5,0.5 4,1 3.5))')) _______________________________________________________________________________ RING(1.0 3.0,2.0 4.0,1.0 5.0,0.0 4.0,1.0 3.0)