Inferring human activities from GPS tracks