Mining spatiotemporal patterns of urban dwellers from taxi trajectory data