Optimization methods for area aggregation in land cover maps