{"id":20876861,"url":"https://github.com/brunosalerno/osm_data","last_synced_at":"2026-04-21T18:02:10.686Z","repository":{"id":40217088,"uuid":"203547456","full_name":"BrunoSalerno/osm_data","owner":"BrunoSalerno","description":"Ruby objects for dealing with OSM data, and generating XML files","archived":false,"fork":false,"pushed_at":"2023-04-11T23:09:59.000Z","size":18,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T09:30:34.075Z","etag":null,"topics":["data","openstreetmap","ruby","xml"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrunoSalerno.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-21T09:06:13.000Z","updated_at":"2019-09-03T19:59:26.000Z","dependencies_parsed_at":"2024-11-18T06:56:11.139Z","dependency_job_id":"b4d299d1-1849-4ee8-aae1-776b181275ca","html_url":"https://github.com/BrunoSalerno/osm_data","commit_stats":{"total_commits":25,"total_committers":1,"mean_commits":25.0,"dds":0.0,"last_synced_commit":"32f41655412e62ee3b3b2084316ae2d4a061b9fc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoSalerno%2Fosm_data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoSalerno%2Fosm_data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoSalerno%2Fosm_data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoSalerno%2Fosm_data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrunoSalerno","download_url":"https://codeload.github.com/BrunoSalerno/osm_data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243250744,"owners_count":20261076,"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":["data","openstreetmap","ruby","xml"],"created_at":"2024-11-18T06:55:12.161Z","updated_at":"2025-12-11T18:22:26.904Z","avatar_url":"https://github.com/BrunoSalerno.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osm_data\nRuby objects for dealing with OSM data, and generating XML files\n\n## Example\n```ruby\nnode = OSMData::Node.new(id: -12, lat: 23, lon: 32)\nway = OSMData::Way.new(id: -109, members: [node], tags: {route: 'bus', type: 'route'})\nrelation = OSMData::Relation.new(id: -23, members: [way], tags: {name: 'Bus 55'})\n\ncollection = OSMData::ElementCollection.new\ncollection \u003c\u003c relation\n\ncollection.to_xml\n```\n\nOutput:\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cosm\u003e\n  \u003cnode id=\"-12\" lat=\"23\" lon=\"32\"/\u003e\n  \u003cway id=\"-109\"\u003e\n    \u003cnd ref=\"-12\"/\u003e\n    \u003ctag k=\"route\" v=\"bus\"/\u003e\n    \u003ctag k=\"type\" v=\"route\"/\u003e\n  \u003c/way\u003e\n  \u003crelation id=\"-23\"\u003e\n    \u003cmember type=\"way\" ref=\"-109\"/\u003e\n    \u003ctag k=\"name\" v=\"Bus 55\"/\u003e\n  \u003c/relation\u003e\n\u003c/osm\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunosalerno%2Fosm_data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunosalerno%2Fosm_data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunosalerno%2Fosm_data/lists"}