From a5b566875c59b15dfb2d28f9e49df063938b958d Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Wed, 8 May 2024 10:49:56 -0400 Subject: [PATCH] Update website --- mapshaper-gui.js | 2 +- mapshaper.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mapshaper-gui.js b/mapshaper-gui.js index e5ce476b..7a1ad103 100644 --- a/mapshaper-gui.js +++ b/mapshaper-gui.js @@ -2534,7 +2534,7 @@ // prevent GUI message popup on error internal.setLoggingForCLI(); try { - if (!dataset || internal.datasetIsEmpty(dataset)) { + if (!dataset || internal.datasetIsEmpty(dataset) && !dataset.info?.crs) { crs = internal.parseCrsString('wgs84'); } else { crs = internal.getDatasetCRS(dataset); diff --git a/mapshaper.js b/mapshaper.js index 47af710c..a193f7fc 100644 --- a/mapshaper.js +++ b/mapshaper.js @@ -45616,7 +45616,7 @@ ${svg} }); } - var version = "0.6.92"; + var version = "0.6.93"; // Parse command line args into commands and run them // Function takes an optional Node-style callback. A Promise is returned if no callback is given.