Introduction: According to the urban green space development, water resources reduction, and other various factors, it seems necessary to use of sprinkler irrigation in irrigating the urban green space. There is no clear and principled method to determine the sprinkler system layout of green spaces. Sprinkler layout usually has a triangular or square pattern and is estimated automatically. In this paper, using genetic algorithm, the location of Sprinkler system installation is determined. In order to provide the maximum distribution uniformity.