mapshaper 0.6.92 → 0.6.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/mapshaper.js CHANGED
@@ -45616,7 +45616,7 @@ ${svg}
45616
45616
  });
45617
45617
  }
45618
45618
 
45619
- var version = "0.6.92";
45619
+ var version = "0.6.93";
45620
45620
 
45621
45621
  // Parse command line args into commands and run them
45622
45622
  // Function takes an optional Node-style callback. A Promise is returned if no callback is given.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapshaper",
3
- "version": "0.6.92",
3
+ "version": "0.6.93",
4
4
  "description": "A tool for editing vector datasets for mapping and GIS.",
5
5
  "keywords": [
6
6
  "shapefile",
@@ -2534,7 +2534,7 @@
2534
2534
  // prevent GUI message popup on error
2535
2535
  internal.setLoggingForCLI();
2536
2536
  try {
2537
- if (!dataset || internal.datasetIsEmpty(dataset)) {
2537
+ if (!dataset || internal.datasetIsEmpty(dataset) && !dataset.info?.crs) {
2538
2538
  crs = internal.parseCrsString('wgs84');
2539
2539
  } else {
2540
2540
  crs = internal.getDatasetCRS(dataset);
package/www/mapshaper.js CHANGED
@@ -45616,7 +45616,7 @@ ${svg}
45616
45616
  });
45617
45617
  }
45618
45618
 
45619
- var version = "0.6.92";
45619
+ var version = "0.6.93";
45620
45620
 
45621
45621
  // Parse command line args into commands and run them
45622
45622
  // Function takes an optional Node-style callback. A Promise is returned if no callback is given.