{"_id":"geojson-segment","_rev":"126-15f4b82439a7183bb57327c749806d11","name":"geojson-segment","description":"split a geojson file generated by togeojson into two-vertex chunks with properties","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"geojson-segment","version":"1.0.0","description":"split a geojson file generated by togeojson into two-vertex chunks with properties","main":"index.js","scripts":{"test":"node test.js","doc":"dox < index.js | doxme --readme > README.md"},"keywords":["gpx","geojson","map","segment","linestring"],"author":{"name":"Tom MacWright"},"license":"ISC","repository":{"type":"git","url":"git@github.com:mapbox/geojson-segment.git"},"devDependencies":{"dox":"^0.6.1","doxme":"^1.4.2"},"gitHead":"9bbce47cece1749766b6ba90e644ad9ecb883b27","bugs":{"url":"https://github.com/mapbox/geojson-segment/issues"},"homepage":"https://github.com/mapbox/geojson-segment","_id":"geojson-segment@1.0.0","_shasum":"28e5ea2cba2f00ad5798652e1ee736879398cf29","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"28e5ea2cba2f00ad5798652e1ee736879398cf29","tarball":"https://registry.npmjs.org/geojson-segment/-/geojson-segment-1.0.0.tgz","integrity":"sha512-0KEC1zlUWic/vcJIqZQBdr2WNyf99f8chUNkZMMm5xpuBkhsMMkaURnZN2EzqLemKAauxTbURPKOTpf4rjtcZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtcgwLofiot7JNeBTYQkGx4wK/mImUTS8wZSZ4KZCIpAiAHs1GKnnlqXliA2Bz/stns++f2QF3i1OvKVS2lU+mwgg=="}]},"deprecated":"This module is now under the @mapbox namespace: install @mapbox/geojson-segment instead"}},"readme":"# geojson-segment\n\n[![build status](https://secure.travis-ci.org/mapbox/geojson-segment.png)](http://travis-ci.org/mapbox/geojson-segment)\n\nsplit a geojson file generated by togeojson into two-vertex chunks with properties\n\n\n### `segment`\nGiven a [GeoJSON](http://geojson.org/) produced by [toGeoJSON](https://github.com/mapbox/togeojson)\nfrom GPX, split LineString geometries into two-vertex linestrings with properties\nof heartRate and time before & after.\n\n### Parameters\n\n| parameter | type   | description                                            |\n| --------- | ------ | ------------------------------------------------------ |\n| `geojson` | Object | a GeoJSON FeatureCollection object output by toGeoJSON |\n\n\n\n**Returns** `Object`, a GeoJSON FeatureCollection of two-vertex linestrings\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install geojson-segment\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n","maintainers":[{"name":"mapbox-admin","email":"accounts@mapbox.com"}],"time":{"modified":"2022-06-18T07:37:49.468Z","created":"2015-01-22T21:25:05.166Z","1.0.0":"2015-01-22T21:25:05.166Z"},"homepage":"https://github.com/mapbox/geojson-segment","keywords":["gpx","geojson","map","segment","linestring"],"repository":{"type":"git","url":"git@github.com:mapbox/geojson-segment.git"},"author":{"name":"Tom MacWright"},"bugs":{"url":"https://github.com/mapbox/geojson-segment/issues"},"license":"ISC","readmeFilename":"README.md"}