In order to find a reasonable drill hole density in hydrogeology drilling .Taking an actual measurement area as the research object, the paper used T-PROGS model of groundwater numerical simulation software GMS to drilling path has been proposed based on uniform distribution in simulate non-uniform medium to look for most suitable drill hole density. By mathematical patterns in the prediction of vMarkov's theory to select computer simulation data and got the conclusion that when density of drill hole is 30 bore holes per square km could got higher reliability, so that save the most resources. The result indicates that it is feasible to combine software GMS with Markov's mathematical patterns to predicting formation distribution.