A spatial genetic algorithm for automating land partitioning