g_factory function

Create WKB/WKT geometries from vertices, and add sub-geometries