{"versions":{"0.0.1":{"name":"geojson-linestring-dissolve","description":"Dissolve contiguous GeoJSON LineStrings and Polygons into single units.","author":{"name":"Stephen Whitmore","email":"sww@eight.net"},"version":"0.0.1","repository":{"url":"git://github.com/noffle/geojson-linestring-dissolve.git"},"homepage":"https://github.com/noffle/geojson-linestring-dissolve","bugs":{"url":"https://github.com/noffle/geojson-linestring-dissolve/issues"},"main":"index.js","scripts":{"test":"tape test/*.js","lint":"standard"},"keywords":[],"pre-commit":["lint","test"],"dependencies":{},"devDependencies":{"tape":"~4.6.2","standard":"~8.3.0","pre-commit":"~1.1.3"},"license":"ISC","gitHead":"eb14f1bb6ccf92fa9d853d08793e4a6ead2ed953","_id":"geojson-linestring-dissolve@0.0.1","_shasum":"08ab8cdf386e919d35a0eb38fa1c550e020838db","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.4.0","_npmUser":{"name":"anonymous","email":"stephen.whitmore@gmail.com"},"dist":{"shasum":"08ab8cdf386e919d35a0eb38fa1c550e020838db","size":2193,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/geojson-linestring-dissolve/-/geojson-linestring-dissolve-0.0.1.tgz","integrity":"sha512-Y8I2/Ea28R/Xeki7msBcpMvJL2TaPfaPKP8xqueJfQ9/jEhps+iOJxOR2XCBGgVb12Z6XnDb1CMbaPfLepsLaw=="},"maintainers":[{"name":"anonymous","email":"stephen.whitmore@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/geojson-linestring-dissolve-0.0.1.tgz_1485817452840_0.3766518922057003"},"directories":{},"publish_time":1485817453075,"_hasShrinkwrap":false,"_cnpm_publish_time":1485817453075,"_cnpmcore_publish_time":"2021-12-18T19:51:48.409Z","contributors":[]}},"dist-tags":{"latest":"0.0.1"},"name":"geojson-linestring-dissolve","time":{"created":"2022-01-26T16:32:09.830Z","modified":"2022-01-26T16:32:09.830Z","0.0.1":"2017-01-30T23:04:13.075Z"},"readme":"# geojson-linestring-dissolve\n\n> Dissolve connected GeoJSON LineStrings into a single LineString.\n\n## Usage\n\n```js\nvar dissolve = require('geojson-linestring-dissolve')\n\nvar line1 = {\n  type: 'LineString',\n  coordinates: [\n    [0.0, 0.0],\n    [1.0, 1.0],\n    [2.0, 2.0]\n  ]\n}\n\nvar line2 = {\n  type: 'LineString',\n  coordinates: [\n    [2.0, 2.0],\n    [3.0, 3.0]\n  ]\n}\n\nconsole.log(dissolve([line1, line2]))\n```\n\noutputs\n\n```\n{\n  type: 'LineString',\n  coordinates: [\n    [0.0, 0.0],\n    [1.0, 1.0],\n    [2.0, 2.0],\n    [3.0, 3.0]\n  ]\n}\n```\n\n## API\n\n```js\nvar dissolve = require('geojson-linestring-dissolve')\n```\n\n### dissolve([lineStrings])\n\nConsumes an array of [GeoJSON](http://geojson.org/geojson-spec.html)\n`LineString`s, and returns a new GeoJSON `LineString` object, with all touching\n`LineString`s dissolved into a single unit. If the `LineString`s are\nnon-contiguous, a `MultiLineString` is returned.\n\n## Install\n\nWith [npm](https://npmjs.org/) installed, run\n\n```\n$ npm install geojson-linestring-dissolve\n```\n\n## License\n\nISC","users":{}}