isclosed
Name:
geom isclosed
Description:
geom Determine if the input geometry is closed or not.
Arguments:
-g –geometry: The input geometry
–help: Print help message
–web-help: Open help in a web browser
Example:
geom isclosed -g "LINESTRING (1 1, 1 5, 5 5, 5 1, 1 1)"