Permalink
Browse files

Only SHP format is zipped when exporting features

  • Loading branch information...
uprel committed Jan 2, 2019
1 parent 9c88a26 commit 2636795f3822de98667146d9e14c52504cd86cf2
Showing with 4 additions and 2 deletions.
  1. +4 −2 admin/export.php
@@ -158,11 +158,13 @@ function prepareFile($layername, $map, $query_arr, $destinationFormat)
break;
case 'KML':
$format_name = $destinationFormat;
$makeZip = true;
$makeZip = false;
$fileExt = 'kml';
break;
case 'GeoJSON':
$format_name = $destinationFormat;
$makeZip = true;
$makeZip = false;
$fileExt = 'geojson';
break;
default:
throw new Exception('Format not supported');

0 comments on commit 2636795

Please sign in to comment.