Designing genetic algorithms to solve GIS-problems