g_coords function

Extract coordinate values from geometries