Data reduction routines for demographic analysis using GPS