POLYGON type column: A closed LINESTRING; two-dimensional. : polygon « Geometric « SQL / MySQL






POLYGON type column: A closed LINESTRING; two-dimensional.

    
mysql>
mysql> CREATE TABLE mytable (
    -> id INT NOT NULL PRIMARY KEY,
    -> border POLYGON NOT NULL);
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql>
mysql> drop table mytable;
Query OK, 0 rows affected (0.00 sec)

mysql>
mysql>

   
    
    
    
  








Related examples in the same category

1.Determine the length of the outer polygon with EXTERIORRING function:
2.Geometric Functions for Polygon Objects
3.Using the POLYGON object in the variable