Box2D — Returns a BOX2D representing the 2D extent of a geometry.
box2d Box2D(
geometry geom)
;
Returns a box2d representing the 2D extent of the geometry.
개선 사항: 2.0.0 버전부터 다면체 표면, 삼각형 및 TIN을 지원하기 시작했습니다.
This method supports Circular Strings and Curves.
This function supports Polyhedral surfaces.
This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).
SELECT Box2D(ST_GeomFromText('LINESTRING(1 2, 3 4, 5 6)')); box2d --------- BOX(1 2,5 6)
SELECT Box2D(ST_GeomFromText('CIRCULARSTRING(220268 150415,220227 150505,220227 150406)')); box2d -------- BOX(220186.984375 150406,220288.25 150506.140625)