mapshaper 0.6.121 → 0.7.1
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/README.md +5 -3
- package/mapshaper.js +1342 -275
- package/package.json +5 -2
- package/www/assets/jetbrains-mono-regular.woff2 +0 -0
- package/www/assets/static-page.css +179 -0
- package/www/docs/_assets/cmd-search.js +213 -0
- package/www/docs/_assets/docs.css +712 -0
- package/www/docs/_assets/docs.js +75 -0
- package/www/docs/_assets/highlight.css +10 -0
- package/www/docs/essentials/command-line.html +127 -0
- package/www/docs/essentials/command-line.html.md +112 -0
- package/www/docs/essentials/web-app.html +138 -0
- package/www/docs/essentials/web-app.html.md +106 -0
- package/www/docs/examples/basics.html +276 -0
- package/www/docs/examples/basics.html.md +371 -0
- package/www/docs/examples/data/Makefile +31 -0
- package/www/docs/examples/data/globe.msx +0 -0
- package/www/docs/examples/data/globe.svg +616 -0
- package/www/docs/examples/data/globe.txt +21 -0
- package/www/docs/examples/data/globe.zip +0 -0
- package/www/docs/examples/data/ne_50m_admin_0_countries.geojson +1 -0
- package/www/docs/examples/data/ne_50m_admin_1_states_provinces_lakes.geojson +1 -0
- package/www/docs/examples/data/us-states.msx +0 -0
- package/www/docs/examples/data/us-states.svg +56 -0
- package/www/docs/examples/data/us-states.txt +6 -0
- package/www/docs/examples/data/us-states.zip +0 -0
- package/www/docs/examples/globe.html +108 -0
- package/www/docs/examples/globe.html.md +64 -0
- package/www/docs/examples/us-states.html +88 -0
- package/www/docs/examples/us-states.html.md +44 -0
- package/www/docs/formats/csv.html +127 -0
- package/www/docs/formats/csv.html.md +97 -0
- package/www/docs/formats/dbf.html +87 -0
- package/www/docs/formats/dbf.html.md +39 -0
- package/www/docs/formats/flatgeobuf.html +86 -0
- package/www/docs/formats/flatgeobuf.html.md +42 -0
- package/www/docs/formats/geojson.html +107 -0
- package/www/docs/formats/geojson.html.md +65 -0
- package/www/docs/formats/geopackage.html +87 -0
- package/www/docs/formats/geopackage.html.md +42 -0
- package/www/docs/formats/json.html +83 -0
- package/www/docs/formats/json.html.md +35 -0
- package/www/docs/formats/kml.html +82 -0
- package/www/docs/formats/kml.html.md +39 -0
- package/www/docs/formats/overview.html +192 -0
- package/www/docs/formats/overview.html.md +35 -0
- package/www/docs/formats/shapefile.html +123 -0
- package/www/docs/formats/shapefile.html.md +84 -0
- package/www/docs/formats/snapshot.html +87 -0
- package/www/docs/formats/snapshot.html.md +39 -0
- package/www/docs/formats/svg.html +99 -0
- package/www/docs/formats/svg.html.md +51 -0
- package/www/docs/formats/topojson.html +102 -0
- package/www/docs/formats/topojson.html.md +54 -0
- package/www/docs/gallery/index.html +80 -0
- package/www/docs/gallery/index.html.md +29 -0
- package/www/docs/guides/combining-layers.html +105 -0
- package/www/docs/guides/combining-layers.html.md +81 -0
- package/www/docs/guides/expressions.html +600 -0
- package/www/docs/guides/expressions.html.md +376 -0
- package/www/docs/guides/programmatic.html +117 -0
- package/www/docs/guides/programmatic.html.md +91 -0
- package/www/docs/guides/projections.html +158 -0
- package/www/docs/guides/projections.html.md +118 -0
- package/www/docs/guides/simplification.html +110 -0
- package/www/docs/guides/simplification.html.md +94 -0
- package/www/docs/guides/topology.html +90 -0
- package/www/docs/guides/topology.html.md +63 -0
- package/www/docs/images/simplification-detail.png +0 -0
- package/www/docs/images/simplification-dp.png +0 -0
- package/www/docs/images/simplification-mod2.png +0 -0
- package/www/docs/index.html +101 -0
- package/www/docs/index.html.md +59 -0
- package/www/docs/reference.html +1302 -0
- package/www/docs/reference.html.md +1817 -0
- package/www/docs/whats-new.html +76 -0
- package/www/docs/whats-new.html.md +53 -0
- package/www/index.html +30 -3
- package/www/llms-full.txt +4040 -0
- package/www/llms.txt +55 -0
- package/www/mapshaper-gui.js +7 -1
- package/www/mapshaper.js +1342 -275
- package/www/page.css +1 -1
- package/www/privacy.html +1 -112
- package/www/sponsor.html +4 -164
- package/www/terms.html +1 -112
package/www/page.css
CHANGED
package/www/privacy.html
CHANGED
|
@@ -6,118 +6,7 @@
|
|
|
6
6
|
<title>Privacy Policy — mapshaper</title>
|
|
7
7
|
<meta name="description" content="Privacy policy for mapshaper, free open-source software for editing geographic data.">
|
|
8
8
|
<link rel="icon" type="image/png" href="images/icon.png">
|
|
9
|
-
|
|
10
|
-
<style>
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'SourceSans3';
|
|
13
|
-
src: url('assets/SourceSans3-VariableFont_wght.ttf') format('truetype');
|
|
14
|
-
font-display: swap;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html, body {
|
|
18
|
-
margin: 0;
|
|
19
|
-
padding: 0;
|
|
20
|
-
background-color: #f8fdff;
|
|
21
|
-
font: 16px/1.55 'SourceSans3', Arial, sans-serif;
|
|
22
|
-
color: #333;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
a { color: #10699b; }
|
|
26
|
-
a:hover { color: #1A6A96; }
|
|
27
|
-
|
|
28
|
-
.page-header {
|
|
29
|
-
background-color: #1385B7;
|
|
30
|
-
color: white;
|
|
31
|
-
padding: 0 11px;
|
|
32
|
-
height: 29px;
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.mapshaper-logo,
|
|
39
|
-
.mapshaper-logo:hover {
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
font-size: 17px;
|
|
42
|
-
color: white;
|
|
43
|
-
text-decoration: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.mapshaper-logo .logo-highlight {
|
|
47
|
-
color: #ffa;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.header-back {
|
|
51
|
-
color: white;
|
|
52
|
-
text-decoration: none;
|
|
53
|
-
font-size: 14px;
|
|
54
|
-
height: 29px;
|
|
55
|
-
display: inline-flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
padding: 0 10px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.header-back:hover {
|
|
61
|
-
background-color: #1A6A96;
|
|
62
|
-
color: white;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
main {
|
|
66
|
-
max-width: 640px;
|
|
67
|
-
margin: 0 auto;
|
|
68
|
-
padding: 40px 24px 80px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
h1 {
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
font-size: 32px;
|
|
74
|
-
margin: 0 0 8px;
|
|
75
|
-
color: #222;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.updated {
|
|
79
|
-
color: #888;
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
margin: 0 0 28px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
h2 {
|
|
85
|
-
font-weight: 600;
|
|
86
|
-
font-size: 20px;
|
|
87
|
-
margin: 32px 0 10px;
|
|
88
|
-
color: #222;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
p {
|
|
92
|
-
margin: 0 0 14px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
ul {
|
|
96
|
-
padding-left: 20px;
|
|
97
|
-
margin: 8px 0 16px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
ul li {
|
|
101
|
-
margin-bottom: 6px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.footer-note {
|
|
105
|
-
margin-top: 48px;
|
|
106
|
-
padding-top: 24px;
|
|
107
|
-
border-top: 1px solid #e0e8ec;
|
|
108
|
-
font-size: 14px;
|
|
109
|
-
color: #777;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.footer-note a {
|
|
113
|
-
color: #777;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@media (max-width: 480px) {
|
|
117
|
-
main { padding: 24px 18px 60px; }
|
|
118
|
-
h1 { font-size: 26px; }
|
|
119
|
-
}
|
|
120
|
-
</style>
|
|
9
|
+
<link rel="stylesheet" href="assets/static-page.css">
|
|
121
10
|
</head>
|
|
122
11
|
<body>
|
|
123
12
|
|
package/www/sponsor.html
CHANGED
|
@@ -6,167 +6,7 @@
|
|
|
6
6
|
<title>Support mapshaper</title>
|
|
7
7
|
<meta name="description" content="Support the development of mapshaper, free open-source software for editing geographic data.">
|
|
8
8
|
<link rel="icon" type="image/png" href="images/icon.png">
|
|
9
|
-
|
|
10
|
-
<style>
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'SourceSans3';
|
|
13
|
-
src: url('assets/SourceSans3-VariableFont_wght.ttf') format('truetype');
|
|
14
|
-
font-display: swap;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html, body {
|
|
18
|
-
margin: 0;
|
|
19
|
-
padding: 0;
|
|
20
|
-
background-color: #f8fdff;
|
|
21
|
-
font: 16px/1.55 'SourceSans3', Arial, sans-serif;
|
|
22
|
-
color: #333;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
a { color: #10699b; }
|
|
26
|
-
a:hover { color: #1A6A96; }
|
|
27
|
-
|
|
28
|
-
.page-header {
|
|
29
|
-
background-color: #1385B7;
|
|
30
|
-
color: white;
|
|
31
|
-
padding: 0 11px;
|
|
32
|
-
height: 29px;
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.mapshaper-logo,
|
|
39
|
-
.mapshaper-logo:hover {
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
font-size: 17px;
|
|
42
|
-
color: white;
|
|
43
|
-
text-decoration: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.mapshaper-logo .logo-highlight {
|
|
47
|
-
color: #ffa;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.header-back {
|
|
51
|
-
color: white;
|
|
52
|
-
text-decoration: none;
|
|
53
|
-
font-size: 14px;
|
|
54
|
-
height: 29px;
|
|
55
|
-
display: inline-flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
padding: 0 10px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.header-back:hover {
|
|
61
|
-
background-color: #1A6A96;
|
|
62
|
-
color: white;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
main {
|
|
66
|
-
max-width: 640px;
|
|
67
|
-
margin: 0 auto;
|
|
68
|
-
padding: 40px 24px 80px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
h1 {
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
font-size: 32px;
|
|
74
|
-
margin: 0 0 12px;
|
|
75
|
-
color: #222;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.tagline {
|
|
79
|
-
font-size: 17px;
|
|
80
|
-
color: #555;
|
|
81
|
-
margin: 0 0 32px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.sponsor-buttons {
|
|
85
|
-
display: flex;
|
|
86
|
-
gap: 12px;
|
|
87
|
-
flex-wrap: wrap;
|
|
88
|
-
margin: 24px 0 12px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.btn {
|
|
92
|
-
display: inline-block;
|
|
93
|
-
padding: 12px 22px;
|
|
94
|
-
background-color: #1385B7;
|
|
95
|
-
color: white;
|
|
96
|
-
text-decoration: none;
|
|
97
|
-
font-weight: 600;
|
|
98
|
-
font-size: 16px;
|
|
99
|
-
border-radius: 3px;
|
|
100
|
-
transition: background-color 0.15s;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.btn:hover {
|
|
104
|
-
background-color: #1A6A96;
|
|
105
|
-
color: white;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.btn.btn-secondary {
|
|
109
|
-
background-color: #444;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.btn.btn-secondary:hover {
|
|
113
|
-
background-color: #222;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.sponsor-note {
|
|
117
|
-
font-size: 14px;
|
|
118
|
-
color: #666;
|
|
119
|
-
margin: 0 0 32px;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
h2 {
|
|
123
|
-
font-weight: 600;
|
|
124
|
-
font-size: 20px;
|
|
125
|
-
margin: 32px 0 12px;
|
|
126
|
-
color: #222;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
ul.support-list {
|
|
130
|
-
padding-left: 20px;
|
|
131
|
-
margin: 8px 0 24px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
ul.support-list li {
|
|
135
|
-
margin-bottom: 6px;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.feedback-cta {
|
|
139
|
-
background-color: #fff;
|
|
140
|
-
border-left: 3px solid #1385B7;
|
|
141
|
-
padding: 14px 18px;
|
|
142
|
-
margin: 24px 0;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.signature {
|
|
146
|
-
margin-top: 32px;
|
|
147
|
-
color: #555;
|
|
148
|
-
font-style: italic;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.footer-note {
|
|
152
|
-
margin-top: 48px;
|
|
153
|
-
padding-top: 24px;
|
|
154
|
-
border-top: 1px solid #e0e8ec;
|
|
155
|
-
font-size: 14px;
|
|
156
|
-
color: #777;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.footer-note a {
|
|
160
|
-
color: #777;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@media (max-width: 480px) {
|
|
164
|
-
main { padding: 24px 18px 60px; }
|
|
165
|
-
h1 { font-size: 26px; }
|
|
166
|
-
.sponsor-buttons { flex-direction: column; align-items: stretch; }
|
|
167
|
-
.btn { text-align: center; }
|
|
168
|
-
}
|
|
169
|
-
</style>
|
|
9
|
+
<link rel="stylesheet" href="assets/static-page.css">
|
|
170
10
|
</head>
|
|
171
11
|
<body>
|
|
172
12
|
|
|
@@ -179,14 +19,14 @@
|
|
|
179
19
|
|
|
180
20
|
<h1>Support mapshaper</h1>
|
|
181
21
|
|
|
182
|
-
<p class="tagline">Mapshaper is free, open-source software for editing geographic data — used worldwide for everything from
|
|
22
|
+
<p class="tagline">Mapshaper is free, open-source software for editing geographic data — used worldwide for everything from student projects to professional map work.</p>
|
|
183
23
|
|
|
184
24
|
<div class="sponsor-buttons">
|
|
185
|
-
<a href="https://ko-fi.com/mapshaper" class="btn">Support via Ko-fi</a>
|
|
186
25
|
<a href="https://github.com/sponsors/mbloch" class="btn btn-secondary">Sponsor on GitHub</a>
|
|
26
|
+
<a href="https://ko-fi.com/mapshaper" class="btn">Tip the developer</a>
|
|
187
27
|
</div>
|
|
188
28
|
|
|
189
|
-
<p class="sponsor-note">Ko-fi accepts one-time or recurring contributions — no account required. GitHub Sponsors offers recurring sponsorship.</p>
|
|
29
|
+
<!-- <p class="sponsor-note">Ko-fi accepts one-time or recurring contributions — no account required. GitHub Sponsors offers recurring sponsorship.</p> -->
|
|
190
30
|
|
|
191
31
|
<h2>What your contribution supports</h2>
|
|
192
32
|
<ul class="support-list">
|
package/www/terms.html
CHANGED
|
@@ -6,118 +6,7 @@
|
|
|
6
6
|
<title>Terms of Service — mapshaper</title>
|
|
7
7
|
<meta name="description" content="Terms of service for mapshaper, free open-source software for editing geographic data.">
|
|
8
8
|
<link rel="icon" type="image/png" href="images/icon.png">
|
|
9
|
-
|
|
10
|
-
<style>
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'SourceSans3';
|
|
13
|
-
src: url('assets/SourceSans3-VariableFont_wght.ttf') format('truetype');
|
|
14
|
-
font-display: swap;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html, body {
|
|
18
|
-
margin: 0;
|
|
19
|
-
padding: 0;
|
|
20
|
-
background-color: #f8fdff;
|
|
21
|
-
font: 16px/1.55 'SourceSans3', Arial, sans-serif;
|
|
22
|
-
color: #333;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
a { color: #10699b; }
|
|
26
|
-
a:hover { color: #1A6A96; }
|
|
27
|
-
|
|
28
|
-
.page-header {
|
|
29
|
-
background-color: #1385B7;
|
|
30
|
-
color: white;
|
|
31
|
-
padding: 0 11px;
|
|
32
|
-
height: 29px;
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: space-between;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.mapshaper-logo,
|
|
39
|
-
.mapshaper-logo:hover {
|
|
40
|
-
font-weight: 600;
|
|
41
|
-
font-size: 17px;
|
|
42
|
-
color: white;
|
|
43
|
-
text-decoration: none;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.mapshaper-logo .logo-highlight {
|
|
47
|
-
color: #ffa;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.header-back {
|
|
51
|
-
color: white;
|
|
52
|
-
text-decoration: none;
|
|
53
|
-
font-size: 14px;
|
|
54
|
-
height: 29px;
|
|
55
|
-
display: inline-flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
padding: 0 10px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.header-back:hover {
|
|
61
|
-
background-color: #1A6A96;
|
|
62
|
-
color: white;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
main {
|
|
66
|
-
max-width: 640px;
|
|
67
|
-
margin: 0 auto;
|
|
68
|
-
padding: 40px 24px 80px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
h1 {
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
font-size: 32px;
|
|
74
|
-
margin: 0 0 8px;
|
|
75
|
-
color: #222;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.updated {
|
|
79
|
-
color: #888;
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
margin: 0 0 28px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
h2 {
|
|
85
|
-
font-weight: 600;
|
|
86
|
-
font-size: 20px;
|
|
87
|
-
margin: 32px 0 10px;
|
|
88
|
-
color: #222;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
p {
|
|
92
|
-
margin: 0 0 14px;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
ul {
|
|
96
|
-
padding-left: 20px;
|
|
97
|
-
margin: 8px 0 16px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
ul li {
|
|
101
|
-
margin-bottom: 6px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.footer-note {
|
|
105
|
-
margin-top: 48px;
|
|
106
|
-
padding-top: 24px;
|
|
107
|
-
border-top: 1px solid #e0e8ec;
|
|
108
|
-
font-size: 14px;
|
|
109
|
-
color: #777;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.footer-note a {
|
|
113
|
-
color: #777;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@media (max-width: 480px) {
|
|
117
|
-
main { padding: 24px 18px 60px; }
|
|
118
|
-
h1 { font-size: 26px; }
|
|
119
|
-
}
|
|
120
|
-
</style>
|
|
9
|
+
<link rel="stylesheet" href="assets/static-page.css">
|
|
121
10
|
</head>
|
|
122
11
|
<body>
|
|
123
12
|
|