Get the geometry of a layer. It will only be valid if one of the two geometries is interpreted: point or polygon.
See also
Other star database geographic attributes:
check_geoattribute_geometry()
,
define_geoattribute()
,
get_geoattribute_geometries()
,
get_geoattributes()
,
get_point_geometry()
,
summarize_layer()