{"id":17218452,"url":"https://github.com/perliedman/standstill","last_synced_at":"2025-04-13T23:36:45.231Z","repository":{"id":34325025,"uuid":"38244037","full_name":"perliedman/standstill","owner":"perliedman","description":"Find locations where there has been no movement, a stop, within a GeoJSON track, typically recorded from a GPS","archived":false,"fork":false,"pushed_at":"2017-03-01T11:41:04.000Z","size":34,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T15:11:20.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/perliedman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-29T11:23:58.000Z","updated_at":"2018-04-30T15:08:06.000Z","dependencies_parsed_at":"2022-08-26T04:43:43.879Z","dependency_job_id":null,"html_url":"https://github.com/perliedman/standstill","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perliedman%2Fstandstill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perliedman%2Fstandstill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perliedman%2Fstandstill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perliedman%2Fstandstill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perliedman","download_url":"https://codeload.github.com/perliedman/standstill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248798973,"owners_count":21163396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T03:46:51.339Z","updated_at":"2025-04-13T23:36:45.209Z","avatar_url":"https://github.com/perliedman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Standstill\n\nFind locations where there has been no movement, a stop, within a [GeoJSON](http://geojson.org/) track, \ntypically recorded from a GPS. Use this to analyze where a vehicle has stopped for a longer period, for example.\n\n## Install \u0026 Setup\n\n```sh\nnpm install --save standstill\n``` \n\n## Usage\n\n```javascript\nvar standstill = require('standstill'),\n    stops = standstill(geojson).stops;\n```\n\nThe `standstill` function, the single function exported by the module, takes a `LineString` feature as\nargument. The feature must have a property called `coordTimes` which should contain dates or JavaScript\ntimestamps for each coordinate in the linestring.\n\nThe return value is an object with two properties: `stops`, a `FeatureCollection` of the analyzed stops from\nthe input linestring, and `routes`, a `FeatureCollection` of routes connecting the stops.\n\n### Options\n\n* _maxTimeGap_: maximum allowed time (in milliseconds) between two positions before considering the period\n  between them as \"no data\", for example when the unit is turned off; default 300,000 (five minutes)\n* _stopTolerance_: maximum allowed movement (positioning jitter) during a stop, in kilometers; default 0.1 km\n* _stopMinTime_: minimum number of milliseconds to consider something a stop; default 300,000 (five minutes)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperliedman%2Fstandstill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperliedman%2Fstandstill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperliedman%2Fstandstill/lists"}