Clean up an array of geographic data points by removing erroneous points