diff --git a/gis_data_editor.php b/gis_data_editor.php index 37d46c5f7d..21cafc8cdd 100644 --- a/gis_data_editor.php +++ b/gis_data_editor.php @@ -178,8 +178,8 @@ if(isset($_REQUEST['generate']) && $_REQUEST['generate'] == true) { if ($type == 'MULTILINESTRING' && $no_of_points < 2) { $no_of_points = 2; } - if ($type == 'POLYGON' && $no_of_points < 3) { - $no_of_points = 3; + if ($type == 'POLYGON' && $no_of_points < 4) { + $no_of_points = 4; } if (isset($gis_data[$a][$type][$i]['add_point'])) { $no_of_points++;