MBR (Teradata Database) - Teradata Warehouse Miner

Teradata Warehouse Miner User Guide - Volume 2ADS Generation

Product
Teradata Warehouse Miner
Release Number
5.4.5
Published
February 2018
Language
English (United States)
Last Update
2018-05-03
dita:mapPath
qhj1503087326201.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-2301
Product Category
Software

This SQL element is a shortcut for the User Defined Method SQL element with the User Defined Type field set to MBR (Minimum Bounding Rectangle). An MBR defines the minimum sized rectangle that can surround a two-dimensional geometric object. Selecting this element will display a listing of methods for the MBR type, described in the following table.

MBR Functions
Function Description
Constructor Method(s) Returns an MBR or MBB value (depending on constructor method).
MBB constructor requires Teradata 15.00 or later.
INTERSECTS Tests if an MBR or MBB value spatially intersects another value of the same data type.
XMIN Returns the minimum x coordinate value of an MBR or MBB:
  • For an MBR this is the x coordinate of the lower left corner.
  • For an MBB this is the x coordinate of the lower left front corner.
YMIN Returns the minimum y coordinate value of an MBR or MBB:
  • For an MBR this is the y coordinate of the lower left corner.
  • For an MBB this is the y coordinate of the lower left front corner.
XMAX Returns the maximum x coordinate value of an MBR or MBB:
  • For an MBR this is the x coordinate of the upper right corner.
  • For an MBB this is the x coordinate of the upper right back corner.
YMAX Returns the maximum y coordinate value of an MBR or MBB:
  • For an MBR this is the y coordinate of the upper right corner.
  • For an MBB this is the y coordinate of the upper right back corner.
This feature requires Teradata 13.00 or later and the three-dimensional functions (as specified in the above table) require Teradata 15.00 or later.