{"id":13556122,"url":"https://github.com/mapbox/geojsonio-cli","last_synced_at":"2025-04-03T09:30:46.668Z","repository":{"id":50933847,"uuid":"12706272","full_name":"mapbox/geojsonio-cli","owner":"mapbox","description":"a cli for geojson.io","archived":true,"fork":false,"pushed_at":"2017-12-11T20:42:00.000Z","size":26,"stargazers_count":168,"open_issues_count":5,"forks_count":19,"subscribers_count":124,"default_branch":"master","last_synced_at":"2025-03-06T08:18:28.367Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/mapbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-09T16:19:56.000Z","updated_at":"2024-11-01T01:47:25.000Z","dependencies_parsed_at":"2022-08-25T11:31:36.183Z","dependency_job_id":null,"html_url":"https://github.com/mapbox/geojsonio-cli","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fgeojsonio-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fgeojsonio-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fgeojsonio-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbox%2Fgeojsonio-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapbox","download_url":"https://codeload.github.com/mapbox/geojsonio-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246976088,"owners_count":20863010,"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-08-01T12:03:38.749Z","updated_at":"2025-04-03T09:30:46.282Z","avatar_url":"https://github.com/mapbox.png","language":"JavaScript","readme":"# geojsonio-cli\n\nShoot files from your shell to [geojson.io](http://geojson.io/) for lightning-fast\nvisualization and editing. This is a [node.js](http://nodejs.org) module and thus requires\nnode.\n\nRead or pipe a file\n\n    geojsonio map.geojson\n    geojsonio \u003c run.geojson\n\nOptions:\n\n    --print prints the url rather than opening it\n    --domain=\"http://custominstancedomain.com/\"\n\n## installation\n\n    npm install -g geojsonio-cli\n\n## examples\n\n[pipe wkt through wellknown into geojsonio to get magic](https://github.com/mapbox/wellknown):\n\n```sh\nnpm install -g geojsonio-cli\nnpm install -g wellknown\necho \"MultiPoint(0 0, 1 1, 3 3)\" | wellknown | geojsonio\n```\n\n[pipe grep'ed geojson through geojsonify](https://github.com/blackmad/geojsonify):\n\n```sh\nnpm install -g geojsonio-cli\nnpm install -g geojsonify\ngrep -h something *json | geojsonify | geojsonio\n```\n\n[convert kml or gpx to geojson and push it to geojson.io](https://github.com/mapbox/togeojson):\n\n```sh\nnpm install -g geojsonio-cli\nnpm install -g togeojson\ntogeojson foo.kml | geojsonio\n```\n\ncopy the generated url instead of opening it in a browser (on OSX)\n\n```sh\ngeojsonio foo.geojson --print | pbcopy\n```\n\nsimplify geojson with [simplify-geojson](https://github.com/maxogden/simplify-geojson)\n\n```sh\nnpm install simplify-geojson geojsonio-cli csv2geojson -g\ncurl https://raw.github.com/maxogden/simplify-geojson/master/test-data/oakland-route.csv | \\\n  csv2geojson --lat \"LATITUDE N/S\" --lon \"LONGITUDE E/W\" --line true | \\\n  simplify-geojson -t 0.001 | \\\n  geojsonio\n```\n\n## Ports\n\n* [AJ Ashton ported geojsonio-cli to shell/perl](https://gist.github.com/ajashton/6504728)\n","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbox%2Fgeojsonio-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapbox%2Fgeojsonio-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbox%2Fgeojsonio-cli/lists"}