| Polygon examples used to illustrate compound encoding.
5,13+-------------+ 11,13
/ \
2,11+ \
| 7,10+----+10,10 \
| | | +13,9
| | | |
| | | |
| 7,5+----+10,5 +13,5
2,4+ /
\ /
4,3+---------------+10,3
A Polygon with expected encoding:
- SDO_GTYPE:
2003
2 dimensional polygon, 3 for polygon
- SDO_SRID:
NULL
- SDO_POINT:NULL>
- SDO_ELEM_INFO:
(1,1003,1,19,2003,1)
Two triplets
- (1,1003,1): exterior polygon ring starting at 1
- (19,2003,1): interior polygon ring starting at 19
- SDO_ORDINATES:
(2,4, 4,3, 10,3, 13,5, 13,9, 11,13, 5,13, 2,11, 2,4,
7,5, 7,10, 10,10, 10,5, 7,5)
SQL:
MDSYS.SDO_GEOMETRY(
2003,
NULL,
NULL,
MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1, 19,2003,1),
MDSYS.SDO_ORDINATE_ARRAY(2,4, 4,3, 10,3, 13,5, 13,9, 11,13, 5,13, 2,11, 2,4,
7,5, 7,10, 10,10, 10,5, 7,5)
)
|