{"id":22092247,"url":"https://github.com/pirxpilot/poly2geojson","last_synced_at":"2025-07-24T20:32:10.158Z","repository":{"id":57327009,"uuid":"79294910","full_name":"pirxpilot/poly2geojson","owner":"pirxpilot","description":"Convert Osmosis polygon filter file to GeoJSON polygon.","archived":false,"fork":false,"pushed_at":"2024-02-09T10:21:01.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-16T00:26:08.338Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pirxpilot.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-18T02:26:22.000Z","updated_at":"2024-02-09T10:20:23.000Z","dependencies_parsed_at":"2022-09-13T18:53:48.765Z","dependency_job_id":null,"html_url":"https://github.com/pirxpilot/poly2geojson","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fpoly2geojson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fpoly2geojson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fpoly2geojson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pirxpilot%2Fpoly2geojson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pirxpilot","download_url":"https://codeload.github.com/pirxpilot/poly2geojson/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227476143,"owners_count":17779417,"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-12-01T03:08:51.867Z","updated_at":"2024-12-01T03:08:52.593Z","avatar_url":"https://github.com/pirxpilot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM version][npm-image]][npm-url]\n[![Build Status][build-image]][build-url]\n[![Dependency Status][deps-image]][deps-url]\n\n# poly2geojson\n\nConvert [Osmosis polygon filter][poly-file] file to [GeoJSON polygon].\n\n## Install\n\n```sh\n$ npm install --save poly2geojson\n```\n\n## Usage\n\n```js\nvar split = require('split'); // or any other line splitting stream\nvar poly2geojson = require('poly2geojson');\n\nfs.createReadStream('area.poly')\n  .pipe(split())\n  .pipe(poly2geojson())\n  .on('data', function(geojson) {\n    console.log(geojson); // GeoJSON polygon\n  });\n\n```\n\n## License\n\nMIT © [Damian Krzeminski](https://pirxpilot.me)\n\n[poly-file]: http://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format\n[GeoJSON polygon]: http://geojson.org/geojson-spec.html#polygon\n\n[npm-image]: https://img.shields.io/npm/v/poly2geojson\n[npm-url]: https://npmjs.org/package/poly2geojson\n\n[build-url]: https://github.com/pirxpilot/poly2geojson/actions/workflows/check.yaml\n[build-image]: https://img.shields.io/github/actions/workflow/status/pirxpilot/poly2geojson/check.yaml?branch=main\n\n[deps-image]: https://img.shields.io/librariesio/release/npm/poly2geojson\n[deps-url]: https://libraries.io/npm/poly2geojson\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirxpilot%2Fpoly2geojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpirxpilot%2Fpoly2geojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpirxpilot%2Fpoly2geojson/lists"}