Spatio-temporal databases offer a rich repository and opportunities to develop techniques for discovering new types of spatio-temporal
patterns. In this paper, we introduce a new class of spatio-temporal patterns, called the generalized spatio-temporal patterns, to describe the repeated sequences of events that occur within small neighbourhoods. Such patterns are crucial to the understanding
of habitual patterns. To discover this class of patterns, we develop an algorithm GenSTMiner based on the idea of pattern
growth approach, and introduce some optimization techniques that are used to reduce the number of candidates generated and
minimize the size of the projected databases. Our performance study indicates that GenSTMiner is highly efficient and outperforms
PrefixSpan.