Local curve and surface detection in spatial data using Gaussian mixtures