From 2baf34d65922b639699c7fac7c5abbfb5656bb70 Mon Sep 17 00:00:00 2001 From: Matthew Bloch Date: Wed, 8 May 2024 10:49:33 -0400 Subject: [PATCH] v0.6.93 --- CHANGELOG.md | 3 +++ package-lock.json | 4 ++-- package.json | 2 +- src/gui/gui-display-utils.mjs | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc6c3153..20825172 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +v0.6.93 +* Bug fix + v0.6.92 * Bug fix diff --git a/package-lock.json b/package-lock.json index 652be7c7..a5b41e99 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mapshaper", - "version": "0.6.92", + "version": "0.6.93", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mapshaper", - "version": "0.6.92", + "version": "0.6.93", "license": "MPL-2.0", "dependencies": { "@placemarkio/tokml": "^0.3.3", diff --git a/package.json b/package.json index fe276865..3542ca04 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mapshaper", - "version": "0.6.92", + "version": "0.6.93", "description": "A tool for editing vector datasets for mapping and GIS.", "keywords": [ "shapefile", diff --git a/src/gui/gui-display-utils.mjs b/src/gui/gui-display-utils.mjs index d96ab790..85cfe3d0 100644 --- a/src/gui/gui-display-utils.mjs +++ b/src/gui/gui-display-utils.mjs @@ -7,7 +7,7 @@ export function getDatasetCrsInfo(dataset) { // 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);