mapshaper 0.7.1 → 0.7.3

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.
Files changed (82) hide show
  1. package/LICENSE +1 -1
  2. package/mapshaper.js +1 -1
  3. package/package.json +5 -2
  4. package/www/.nojekyll +0 -0
  5. package/www/index.html +22 -6
  6. package/www/mapshaper-gui.js +292 -4
  7. package/www/mapshaper.js +1 -1
  8. package/www/page.css +188 -10
  9. package/www/docs/_assets/cmd-search.js +0 -213
  10. package/www/docs/_assets/docs.css +0 -712
  11. package/www/docs/_assets/docs.js +0 -75
  12. package/www/docs/_assets/highlight.css +0 -10
  13. package/www/docs/essentials/command-line.html +0 -127
  14. package/www/docs/essentials/command-line.html.md +0 -112
  15. package/www/docs/essentials/web-app.html +0 -138
  16. package/www/docs/essentials/web-app.html.md +0 -106
  17. package/www/docs/examples/basics.html +0 -276
  18. package/www/docs/examples/basics.html.md +0 -371
  19. package/www/docs/examples/data/Makefile +0 -31
  20. package/www/docs/examples/data/globe.msx +0 -0
  21. package/www/docs/examples/data/globe.svg +0 -616
  22. package/www/docs/examples/data/globe.txt +0 -21
  23. package/www/docs/examples/data/globe.zip +0 -0
  24. package/www/docs/examples/data/ne_50m_admin_0_countries.geojson +0 -1
  25. package/www/docs/examples/data/ne_50m_admin_1_states_provinces_lakes.geojson +0 -1
  26. package/www/docs/examples/data/us-states.msx +0 -0
  27. package/www/docs/examples/data/us-states.svg +0 -56
  28. package/www/docs/examples/data/us-states.txt +0 -6
  29. package/www/docs/examples/data/us-states.zip +0 -0
  30. package/www/docs/examples/globe.html +0 -108
  31. package/www/docs/examples/globe.html.md +0 -64
  32. package/www/docs/examples/us-states.html +0 -88
  33. package/www/docs/examples/us-states.html.md +0 -44
  34. package/www/docs/formats/csv.html +0 -127
  35. package/www/docs/formats/csv.html.md +0 -97
  36. package/www/docs/formats/dbf.html +0 -87
  37. package/www/docs/formats/dbf.html.md +0 -39
  38. package/www/docs/formats/flatgeobuf.html +0 -86
  39. package/www/docs/formats/flatgeobuf.html.md +0 -42
  40. package/www/docs/formats/geojson.html +0 -107
  41. package/www/docs/formats/geojson.html.md +0 -65
  42. package/www/docs/formats/geopackage.html +0 -87
  43. package/www/docs/formats/geopackage.html.md +0 -42
  44. package/www/docs/formats/json.html +0 -83
  45. package/www/docs/formats/json.html.md +0 -35
  46. package/www/docs/formats/kml.html +0 -82
  47. package/www/docs/formats/kml.html.md +0 -39
  48. package/www/docs/formats/overview.html +0 -192
  49. package/www/docs/formats/overview.html.md +0 -35
  50. package/www/docs/formats/shapefile.html +0 -123
  51. package/www/docs/formats/shapefile.html.md +0 -84
  52. package/www/docs/formats/snapshot.html +0 -87
  53. package/www/docs/formats/snapshot.html.md +0 -39
  54. package/www/docs/formats/svg.html +0 -99
  55. package/www/docs/formats/svg.html.md +0 -51
  56. package/www/docs/formats/topojson.html +0 -102
  57. package/www/docs/formats/topojson.html.md +0 -54
  58. package/www/docs/gallery/index.html +0 -80
  59. package/www/docs/gallery/index.html.md +0 -29
  60. package/www/docs/guides/combining-layers.html +0 -105
  61. package/www/docs/guides/combining-layers.html.md +0 -81
  62. package/www/docs/guides/expressions.html +0 -600
  63. package/www/docs/guides/expressions.html.md +0 -376
  64. package/www/docs/guides/programmatic.html +0 -117
  65. package/www/docs/guides/programmatic.html.md +0 -91
  66. package/www/docs/guides/projections.html +0 -158
  67. package/www/docs/guides/projections.html.md +0 -118
  68. package/www/docs/guides/simplification.html +0 -110
  69. package/www/docs/guides/simplification.html.md +0 -94
  70. package/www/docs/guides/topology.html +0 -90
  71. package/www/docs/guides/topology.html.md +0 -63
  72. package/www/docs/images/simplification-detail.png +0 -0
  73. package/www/docs/images/simplification-dp.png +0 -0
  74. package/www/docs/images/simplification-mod2.png +0 -0
  75. package/www/docs/index.html +0 -101
  76. package/www/docs/index.html.md +0 -59
  77. package/www/docs/reference.html +0 -1302
  78. package/www/docs/reference.html.md +0 -1817
  79. package/www/docs/whats-new.html +0 -76
  80. package/www/docs/whats-new.html.md +0 -53
  81. package/www/llms-full.txt +0 -4040
  82. package/www/llms.txt +0 -55
package/www/llms.txt DELETED
@@ -1,55 +0,0 @@
1
- # Mapshaper
2
-
3
- > Mapshaper is a command-line tool and in-browser editor for geographic vector data. It reads and writes Shapefile, GeoJSON, TopoJSON, GeoPackage, FlatGeobuf, KML/KMZ, CSV/TSV, DBF, JSON records and SVG, and can simplify, clip, dissolve, join, project and otherwise transform layers. The CLI and web app share the same command language, so commands written interactively in the browser console run unchanged in scripts.
4
-
5
- These docs cover the same material in two forms:
6
-
7
- - **Markdown mirrors** of every page (this file links to them) for use by language models and other tools.
8
- - **HTML pages** at the same paths without the trailing `.md`, with navigation, search and syntax highlighting, intended for humans.
9
-
10
- When in doubt about a command's behavior, the [command reference](https://mapshaper.org/docs/reference.html.md) is the source of truth. The Node.js source code lives at <https://github.com/mbloch/mapshaper>.
11
-
12
- ## Getting started
13
-
14
- - [The command-line tool](https://mapshaper.org/docs/essentials/command-line.html.md): Install the mapshaper CLI, run your first commands and learn how Mapshaper organizes data into layers.
15
- - [The web app](https://mapshaper.org/docs/essentials/web-app.html.md): A tour of Mapshaper's web interface, including loading data, the console, the right-click menu, snapshots, browser support and running it locally.
16
-
17
- ## Guides
18
-
19
- - [Simplification](https://mapshaper.org/docs/guides/simplification.html.md): How to choose between Visvalingam and Douglas-Peucker, and tips for getting good-looking results from polygon and polyline simplification.
20
- - [JavaScript expressions](https://mapshaper.org/docs/guides/expressions.html.md): Reference for the JS expressions used in -each, -filter, -calc, -where, -sort, -if, -run and other Mapshaper commands.
21
- - [Projections](https://mapshaper.org/docs/guides/projections.html.md): How to reproject geographic data with Mapshaper, including CRS notation, built-in aliases, and the albersusa composite projection.
22
- - [Topology and cleaning](https://mapshaper.org/docs/guides/topology.html.md): How Mapshaper detects shared boundaries between features, and how to fix the common topology errors that creep into Shapefile and GeoJSON datasets.
23
- - [Combining two layers](https://mapshaper.org/docs/guides/combining-layers.html.md): A step-by-step walkthrough of combining and pruning two boundary layers to produce a custom GeoJSON basemap.
24
- - [Using Mapshaper from Node.js](https://mapshaper.org/docs/guides/programmatic.html.md): Integrating Mapshaper into JavaScript builds and applications via its Node.js API.
25
-
26
- ## Formats
27
-
28
- - [Shapefile](https://mapshaper.org/docs/formats/shapefile.html.md): How Mapshaper reads and writes ESRI Shapefiles, including encoding and field-name notes.
29
- - [GeoJSON](https://mapshaper.org/docs/formats/geojson.html.md): How Mapshaper reads and writes GeoJSON, including precision, ndjson and RFC 7946 options.
30
- - [TopoJSON](https://mapshaper.org/docs/formats/topojson.html.md): How Mapshaper reads and writes TopoJSON, including quantization and multi-layer output.
31
- - [GeoPackage](https://mapshaper.org/docs/formats/geopackage.html.md): How Mapshaper reads and writes GeoPackage (.gpkg), the OGC's SQLite-based GIS container.
32
- - [FlatGeobuf](https://mapshaper.org/docs/formats/flatgeobuf.html.md): How Mapshaper reads and writes FlatGeobuf (.fgb), a streamable binary vector format.
33
- - [KML / KMZ](https://mapshaper.org/docs/formats/kml.html.md): How Mapshaper reads and writes KML and KMZ files for use with Google Earth and similar tools.
34
- - [CSV / TSV](https://mapshaper.org/docs/formats/csv.html.md): How Mapshaper reads and writes CSV/TSV, including encoding, type hints and large-file handling.
35
- - [DBF](https://mapshaper.org/docs/formats/dbf.html.md): How Mapshaper reads and writes standalone DBF files, the tabular component of Shapefile.
36
- - [JSON records](https://mapshaper.org/docs/formats/json.html.md): How Mapshaper reads and writes plain JSON arrays of objects (no geometry), useful for tabular data exchange.
37
- - [SVG](https://mapshaper.org/docs/formats/svg.html.md): How Mapshaper exports vector data as SVG, including width, scale, bounding-box and per-feature data attributes.
38
- - [Mapshaper snapshot](https://mapshaper.org/docs/formats/snapshot.html.md): A single-file binary snapshot of a Mapshaper session, used to save work in progress and share reproducible projects.
39
-
40
- ## Examples
41
-
42
- - [Basics](https://mapshaper.org/docs/examples/basics.html.md): A scannable collection of short Mapshaper recipes for common GIS tasks — format conversion, joins, simplification, dissolves, projection, classification, web export and more.
43
- - [Globe](https://mapshaper.org/docs/examples/globe.html.md): A simple locator map in the shape of a globe.
44
- - [U.S. state map](https://mapshaper.org/docs/examples/us-states.html.md): Simple U.S. state map with random, non-adjacent colors
45
-
46
- ## Command reference
47
-
48
- - [Command reference](https://mapshaper.org/docs/reference.html.md): Exhaustive reference for every mapshaper command and its options, with short examples.
49
-
50
- ## Optional
51
-
52
- - [Home](https://mapshaper.org/docs/index.html.md): Documentation for mapshaper, the command-line tool and web app for editing Shapefile, GeoJSON, TopoJSON, GeoPackage, FlatGeobuf, KML and CSV data.
53
- - [What's new](https://mapshaper.org/docs/whats-new.html.md): A curated log of recently added user-visible features in Mapshaper, with links into the rest of the docs.
54
- - [Gallery](https://mapshaper.org/docs/gallery/index.html.md): Example maps made with Mapshaper, with full source data and reproduction steps for each.
55
- - [Formats overview](https://mapshaper.org/docs/formats/overview.html.md): A quick comparison of every file format Mapshaper can read and write, with links to per-format details.