mapshaper 0.6.18 → 0.6.19

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,6 +1,6 @@
1
1
  {
2
2
  "name": "mapshaper",
3
- "version": "0.6.18",
3
+ "version": "0.6.19",
4
4
  "description": "A tool for editing vector datasets for mapping and GIS.",
5
5
  "keywords": [
6
6
  "shapefile",
@@ -28,7 +28,7 @@
28
28
  "lint": "eslint --ext mjs src/",
29
29
  "prepublishOnly": "npm lint; npm test; ./pre-publish",
30
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",
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 'idb-keyval' -o www/modules.js",
32
32
  "dev": "rollup --config --watch"
33
33
  },
34
34
  "main": "./mapshaper.js",
@@ -40,7 +40,6 @@
40
40
  "!.DS_Store"
41
41
  ],
42
42
  "dependencies": {
43
- "@msgpack/msgpack": "^2.8.0",
44
43
  "@placemarkio/tokml": "^0.3.3",
45
44
  "@tmcw/togeojson": "^5.6.0",
46
45
  "@xmldom/xmldom": "^0.8.6",
@@ -56,8 +55,10 @@
56
55
  "flatbush": "^3.2.1",
57
56
  "geokdbush": "^1.1.0",
58
57
  "iconv-lite": "^0.6.3",
58
+ "idb-keyval": "^6.2.0",
59
59
  "kdbush": "^3.0.0",
60
60
  "mproj": "0.0.35",
61
+ "msgpackr": "^1.8.1",
61
62
  "opn": "^5.3.0",
62
63
  "rw": "~1.3.3",
63
64
  "sync-request": "5.0.0",
package/www/index.html CHANGED
@@ -29,6 +29,7 @@
29
29
  </g>
30
30
  </svg>
31
31
 
32
+ <!-- adjusted height -->
32
33
  <svg version="1.1" id="zoom-out-icon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
33
34
  y="0px" width="14px" height="16px" viewBox="0 -1 14 10">
34
35
  <g>
@@ -36,10 +37,14 @@
36
37
  </g>
37
38
  </svg>
38
39
 
39
- <svg version="1.1" id="info-icon2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="15" height="20" viewBox="0 0 15 20"><circle cx="7.9" cy="4.05" r="2.75" fill="#30d4ef"/><rect x="3" y="16" width="10" height="3" fill="#30d4ef"/><rect x="4" y="9" width="6" height="3" fill="#30d4ef"/><rect x="6" y="11" width="4" height="6" fill="#30d4ef"/></svg>
40
-
41
- <svg id="pointer-icon" version="1.1" xmlns="http://www.w3.org/2000/svg" width="15" height="20" viewBox="0 0 15 20"><rect x="7.4126" y="11.0354" width="3.9102" height="7.9841" transform="translate(-5.8889 6.0377) rotate(-27.5536)" fill="#30d4ef"/><polygon points="2.57 2.086 2.718 16.056 13.944 10.198 2.57 2.086" fill="#30d4ef"/></svg>
40
+ <!-- adjusted height -->
41
+ <svg id="pointer-icon" version="1.1" xmlns="http://www.w3.org/2000/svg" width="15" height="22" viewBox="0 0 15 20"><rect x="7.4126" y="11.0354" width="3.9102" height="7.9841" transform="translate(-5.8889 6.0377) rotate(-27.5536)" fill="#30d4ef"/><polygon points="2.57 2.086 2.718 16.056 13.944 10.198 2.57 2.086" fill="#30d4ef"/></svg>
42
42
 
43
+ <!-- adjusted height -->
44
+ <svg id="ribbon-icon" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="15" height="26" viewBox="0 0 15 20">
45
+ <polygon points="8 14.5 13 19 13 4 3 4 3 19 8 14.5" fill="#30d4ef"/>
46
+ </svg>
47
+
43
48
  <defs>
44
49
  <style>
45
50
  .cls-1 {
@@ -235,9 +240,8 @@ a smoother appearance.</div></div></div></div>
235
240
 
236
241
  <div id="import-drop" class="drop-area">
237
242
  <h4>Drop or paste files here or <span class="inline-btn btn" id="file-selection-btn"><span class="label-text">select</span></span> from a folder</h4>
238
- <div class="subtitle">Shapefile, GeoJSON, TopoJSON, DBF and CSV files are supported</div>
239
- <div class="subtitle">Files can be loose or in a zip archive</div>
240
-
243
+ <div class="subtitle">Shapefile, GeoJSON, TopoJSON, KML and CSV files are supported</div>
244
+ <div class="subtitle">Files can be gzipped or in a zip archive</div>
241
245
  </div>
242
246
  <div class="spacer"></div>
243
247
  <div id="import-quick-drop" class="drop-area">
@@ -317,6 +321,5 @@ interface. Examples: "no-topology"
317
321
  <script src="mapshaper.js" type="text/javascript"></script>
318
322
  <script src="manifest.js" type="text/javascript"></script>
319
323
  <script src="mapshaper-gui.js" type="text/javascript"></script>
320
-
321
324
  </body>
322
325
  </html>