{"id":28482181,"url":"https://github.com/osmlab/osm-gpx","last_synced_at":"2025-06-30T11:31:42.466Z","repository":{"id":7458931,"uuid":"8804042","full_name":"osmlab/osm-gpx","owner":"osmlab","description":"Simple OpenStreetMap GPX API Interface","archived":false,"fork":false,"pushed_at":"2013-03-26T19:55:49.000Z","size":109,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"gh-pages","last_synced_at":"2025-06-07T20:09:33.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://osmlab.github.io/osm-gpx/examples/leaflet.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osmlab.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-03-15T16:42:56.000Z","updated_at":"2022-10-17T01:48:17.000Z","dependencies_parsed_at":"2022-09-13T18:20:45.890Z","dependency_job_id":null,"html_url":"https://github.com/osmlab/osm-gpx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/osmlab/osm-gpx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-gpx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-gpx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-gpx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-gpx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osmlab","download_url":"https://codeload.github.com/osmlab/osm-gpx/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osmlab%2Fosm-gpx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262765463,"owners_count":23360906,"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":"2025-06-07T20:09:32.985Z","updated_at":"2025-06-30T11:31:42.458Z","avatar_url":"https://github.com/osmlab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Retrieve [GPX](http://www.gpx.com/) data from the [OpenStreetMap GPX API](http://wiki.openstreetmap.org/wiki/API_v0.6).\n\n### usage\n\nWith browserify:\n\n    npm install --save osm-gpx\n\n```js\nvar osmGpx = require('osm-gpx');\n```\n\nWithout:\n\nCopy `gpx.js`, include it. `osmGpx` will be attached to `window`.\n\n### api\n\n`osmGpx(bbox, [pages], callback)`\n\n* `bbox` is a `[w, s, e, n]` order bounding box of WGS84 coordinates\n* `pages` is an optional parameter for a limit to how many 5,000 point pages\n  are requested. by default, it's one.\n* `callback` is called with `err, gpx, geojson` after all pages are requested.\n\n```js\nosmGpx(bbox, function(err, gpx, geojson) {\n    // GPX is the GPX XML Document\n    // GeoJSON is a GeoJSON version of it.\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmlab%2Fosm-gpx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosmlab%2Fosm-gpx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosmlab%2Fosm-gpx/lists"}