From 228588be91684fecf4066923cb771c5ea21296eb Mon Sep 17 00:00:00 2001 From: stefano bovio Date: Thu, 20 Jan 2022 15:30:28 +0100 Subject: [PATCH] remove unsupported file types in datasets upload (#731) --- .../client/js/routes/UploadDataset.jsx | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/geonode_mapstore_client/client/js/routes/UploadDataset.jsx b/geonode_mapstore_client/client/js/routes/UploadDataset.jsx index e7cc105371..b7f7323216 100644 --- a/geonode_mapstore_client/client/js/routes/UploadDataset.jsx +++ b/geonode_mapstore_client/client/js/routes/UploadDataset.jsx @@ -47,12 +47,6 @@ const supportedDatasetTypes = [ ext: ['shp'], requires: ['shp', 'prj', 'dbf', 'shx'] }, - { - id: 'asc', - label: 'ASCII Text File', - format: 'raster', - ext: ['asc'] - }, { id: 'tiff', label: 'GeoTIFF', @@ -62,23 +56,11 @@ const supportedDatasetTypes = [ }, { id: 'csv', - label: 'Comma Separated Value', + label: 'Comma Separated Value (CSV)', format: 'vector', ext: ['csv'], mimeType: ['text/csv'] }, - { - id: 'kml', - label: 'Google Earth KML', - format: 'archive', - ext: ['kml'] - }, - { - id: 'kmz', - label: 'Google Earth KMZ', - format: 'archive', - ext: ['kmz'] - }, { id: 'zip', label: 'Zip Archive',