mapshaper 0.6.15 → 0.6.17

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/package.json CHANGED
@@ -1,87 +1,96 @@
1
1
  {
2
- "name": "mapshaper",
3
- "version": "0.6.15",
4
- "description": "A tool for editing vector datasets for mapping and GIS.",
5
- "keywords": [
6
- "shapefile",
7
- "topojson",
8
- "geojson",
9
- "cartography",
10
- "simplification",
11
- "topology",
12
- "csv",
13
- "gis"
14
- ],
15
- "author": "Matthew Bloch <masiyou@gmail.com>",
16
- "contributors": [],
17
- "license": "MPL-2.0",
18
- "repository": {
19
- "type": "git",
20
- "url": "https://github.com/mbloch/mapshaper"
21
- },
22
- "engines": {
23
- "node": ">=12.0.0"
24
- },
25
- "scripts": {
26
- "test": "mocha test",
27
- "build": "rollup --config",
28
- "lint": "eslint --ext mjs src/",
29
- "prepublishOnly": "npm lint; npm test; ./pre-publish",
30
- "postpublish": "./release_web_ui; ./release_github_version",
31
- "browserify": "browserify -r sync-request -r mproj -r buffer -r iconv-lite -r fs -r flatbush -r rw -r path -r kdbush -r @tmcw/togeojson -r @placemarkio/tokml -o www/modules.js",
32
- "dev": "rollup --config --watch"
33
- },
34
- "main": "./mapshaper.js",
35
- "files": [
36
- "/bin/**",
37
- "/www/**",
38
- "!/www/nacis/**",
39
- "/mapshaper.js",
40
- "!.DS_Store"
41
- ],
42
- "dependencies": {
43
- "@placemarkio/tokml": "^0.3.3",
44
- "@tmcw/togeojson": "^5.5.0",
45
- "@xmldom/xmldom": "^0.8.6",
46
- "adm-zip": "^0.5.9",
47
- "commander": "7.0.0",
48
- "cookies": "^0.8.0",
49
- "d3-color": "3.1.0",
50
- "d3-interpolate": "^3.0.1",
51
- "d3-scale-chromatic": "3.0.0",
52
- "delaunator": "^5.0.0",
53
- "flatbush": "^3.2.1",
54
- "geokdbush": "^1.1.0",
55
- "iconv-lite": "^0.6.3",
56
- "kdbush": "^3.0.0",
57
- "mproj": "0.0.35",
58
- "opn": "^5.3.0",
59
- "rw": "~1.3.3",
60
- "sync-request": "5.0.0",
61
- "tinyqueue": "^2.0.3"
62
- },
63
- "devDependencies": {
64
- "@rollup/plugin-node-resolve": "^13.3.0",
65
- "browserify": "^17.0.0",
66
- "csv-spectrum": "^1.0.0",
67
- "eslint": "^8.16.0",
68
- "mocha": "^10.0.0",
69
- "rollup": "^2.73.0",
70
- "shell-quote": "^1.7.4",
71
- "underscore": "^1.13.1"
72
- },
73
- "mocha": {
74
- "reporter": "dot",
75
- "node-option": [
76
- "experimental-specifier-resolution=node"
77
- ],
78
- "check-leaks": true,
79
- "parallel": true,
80
- "jobs": 4
81
- },
82
- "bin": {
83
- "mapshaper": "./bin/mapshaper",
84
- "mapshaper-gui": "./bin/mapshaper-gui",
85
- "mapshaper-xl": "./bin/mapshaper-xl"
86
- }
2
+ "name": "mapshaper",
3
+ "version": "0.6.17",
4
+ "description": "A tool for editing vector datasets for mapping and GIS.",
5
+ "keywords": [
6
+ "shapefile",
7
+ "topojson",
8
+ "geojson",
9
+ "cartography",
10
+ "simplification",
11
+ "topology",
12
+ "csv",
13
+ "gis"
14
+ ],
15
+ "author": "Matthew Bloch <masiyou@gmail.com>",
16
+ "contributors": [],
17
+ "license": "MPL-2.0",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/mbloch/mapshaper.git"
21
+ },
22
+ "engines": {
23
+ "node": ">=12.0.0"
24
+ },
25
+ "scripts": {
26
+ "test": "mocha test",
27
+ "build": "rollup --config",
28
+ "lint": "eslint --ext mjs src/",
29
+ "prepublishOnly": "npm lint; npm test; ./pre-publish",
30
+ "postpublish": "./release_web_ui; ./release_github_version",
31
+ "browserify": "browserify -r sync-request -r mproj -r buffer -r iconv-lite -r fs -r flatbush -r rw -r path -r kdbush -r @tmcw/togeojson -r @placemarkio/tokml -r bson -o www/modules.js",
32
+ "dev": "rollup --config --watch"
33
+ },
34
+ "main": "./mapshaper.js",
35
+ "files": [
36
+ "/bin/**",
37
+ "/www/**",
38
+ "!/www/nacis/**",
39
+ "/mapshaper.js",
40
+ "!.DS_Store"
41
+ ],
42
+ "dependencies": {
43
+ "@placemarkio/tokml": "^0.3.3",
44
+ "@tmcw/togeojson": "^5.6.0",
45
+ "@xmldom/xmldom": "^0.8.6",
46
+ "adm-zip": "^0.5.9",
47
+ "bson": "^4.7.0",
48
+ "commander": "7.0.0",
49
+ "cookies": "^0.8.0",
50
+ "d3-color": "3.1.0",
51
+ "d3-interpolate": "^3.0.1",
52
+ "d3-scale-chromatic": "3.0.0",
53
+ "delaunator": "^5.0.0",
54
+ "fflate": "^0.7.4",
55
+ "flatbush": "^3.2.1",
56
+ "geokdbush": "^1.1.0",
57
+ "iconv-lite": "^0.6.3",
58
+ "kdbush": "^3.0.0",
59
+ "mproj": "0.0.35",
60
+ "opn": "^5.3.0",
61
+ "rw": "~1.3.3",
62
+ "sync-request": "5.0.0",
63
+ "tinyqueue": "^2.0.3"
64
+ },
65
+ "devDependencies": {
66
+ "@rollup/plugin-node-resolve": "^13.3.0",
67
+ "browserify": "^17.0.0",
68
+ "csv-spectrum": "^1.0.0",
69
+ "eslint": "^8.16.0",
70
+ "mocha": "^10.0.0",
71
+ "rollup": "^2.73.0",
72
+ "shell-quote": "^1.7.4",
73
+ "underscore": "^1.13.1"
74
+ },
75
+ "mocha": {
76
+ "reporter": "dot",
77
+ "node-option": [
78
+ "experimental-specifier-resolution=node"
79
+ ],
80
+ "check-leaks": true,
81
+ "parallel": true,
82
+ "jobs": 4
83
+ },
84
+ "bin": {
85
+ "mapshaper": "bin/mapshaper",
86
+ "mapshaper-gui": "bin/mapshaper-gui",
87
+ "mapshaper-xl": "bin/mapshaper-xl"
88
+ },
89
+ "bugs": {
90
+ "url": "https://github.com/mbloch/mapshaper/issues"
91
+ },
92
+ "homepage": "https://github.com/mbloch/mapshaper#readme",
93
+ "directories": {
94
+ "test": "test"
95
+ }
87
96
  }
package/www/elements.css CHANGED
@@ -142,14 +142,6 @@ div.tip {
142
142
  }
143
143
 
144
144
 
145
- .dialog-btn {
146
- display: inline-block;
147
- margin-bottom: 1px;
148
- margin-top: 1px;
149
- font-size: 13px;
150
- color: white;
151
- min-width: 28px;
152
- }
153
145
 
154
146
  .inline-btn {
155
147
  margin: 0;
package/www/index.html CHANGED
@@ -139,6 +139,9 @@
139
139
  <div class=export-layers>
140
140
  <h4 class="menu-title">Layers</h4>
141
141
  <div class="export-layer-list option-menu"></div>
142
+ </div>
143
+ <div class="export-zip-option option-menu">
144
+
142
145
  </div>
143
146
  <h4>File format</h4>
144
147
  <div class="export-formats option-menu">
@@ -310,16 +313,10 @@ interface. Examples: "no-topology"
310
313
  </div>
311
314
 
312
315
  <script src="basemap.js" type="text/javascript"></script>
313
- <script src="zip.js" type="text/javascript"></script>
314
316
  <script src="modules.js" type="text/javascript"></script>
315
317
  <script src="mapshaper.js" type="text/javascript"></script>
316
318
  <script src="manifest.js" type="text/javascript"></script>
317
319
  <script src="mapshaper-gui.js" type="text/javascript"></script>
318
- <script type="text/javascript">
319
- zip.workerScripts = {
320
- deflater: ['z-worker.js', 'pako.deflate.js', 'codecs.js'],
321
- inflater: ['z-worker.js', 'pako.inflate.js', 'codecs.js']
322
- };
323
- </script>
320
+
324
321
  </body>
325
322
  </html>