{"id":16520446,"url":"https://github.com/nekromoff/osmlove","last_synced_at":"2025-07-19T21:33:26.325Z","repository":{"id":88301936,"uuid":"87248473","full_name":"nekromoff/osmlove","owner":"nekromoff","description":"OSM map drawing support for Lua LÖVE game engine","archived":false,"fork":false,"pushed_at":"2017-04-06T21:41:38.000Z","size":5872,"stargazers_count":8,"open_issues_count":4,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-24T10:02:41.600Z","etag":null,"topics":["games","geojson","library","love-game-engine","love2d","lua","openstreetmap","openstreetmaps","osm"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nekromoff.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":"2017-04-05T00:34:23.000Z","updated_at":"2024-10-13T16:35:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"100b67f7-3719-4cfb-b8e5-d6bc2466a4fe","html_url":"https://github.com/nekromoff/osmlove","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nekromoff/osmlove","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekromoff%2Fosmlove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekromoff%2Fosmlove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekromoff%2Fosmlove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekromoff%2Fosmlove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nekromoff","download_url":"https://codeload.github.com/nekromoff/osmlove/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekromoff%2Fosmlove/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266019657,"owners_count":23864916,"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":["games","geojson","library","love-game-engine","love2d","lua","openstreetmap","openstreetmaps","osm"],"created_at":"2024-10-11T16:51:00.937Z","updated_at":"2025-07-19T21:33:21.207Z","avatar_url":"https://github.com/nekromoff.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OSMLOVE\nOSM map drawing support for LÖVE engine\n\nOSM Love - library for drawing maps in LOVE game engine\n\n## Info\n\nUse this library to draw a map from geoJSON file.\n\nOnly points and lines supported at the moment with set of basic rules (define color only).\n\nFuture plans:\n* optimize parser speed\n* add support for simple and complex polygons\n* add support for complex rules (line width, borders etc.)\n* add support for OSM XML format\n\n## Code examples\n\nSee main.lua for simple example.\n\nInclude osmlove modules in your code:\n```\nlocal osmlove = require 'osmlove'\n```\n\nInitialize map in `love.load`:\n\n```\nosmlove.init(filename, region, width, height, zoom)\n```\n\nDraw a map to screen in `love.draw`:\n\n```\nosmlove.drawMap(rules)\n```\n\n## Get geoJSON files\n\nYou can quickly get some samples here:\n* https://mapzen.com/data/metro-extracts/\n\n## Author, license, dependencies\n(c) 2017+ Daniel Duris, dusoft@staznosti.sk\n\nLicense: GNU GPL v3\n\n### Depends on:\n* json.lua (MIT License)\n* xl.lua (public domain)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekromoff%2Fosmlove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnekromoff%2Fosmlove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekromoff%2Fosmlove/lists"}