{"id":17269498,"url":"https://github.com/systemed/mappdf","last_synced_at":"2025-02-24T23:31:44.910Z","repository":{"id":145599820,"uuid":"2550460","full_name":"systemed/MapPDF","owner":"systemed","description":"PDF MapCSS renderer in Ruby","archived":true,"fork":false,"pushed_at":"2012-04-02T14:23:58.000Z","size":363,"stargazers_count":26,"open_issues_count":1,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-12T14:53:15.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/systemed.png","metadata":{"files":{"readme":"README.txt","changelog":null,"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":"2011-10-10T19:37:51.000Z","updated_at":"2023-08-27T12:45:58.000Z","dependencies_parsed_at":"2023-03-23T00:05:40.712Z","dependency_job_id":null,"html_url":"https://github.com/systemed/MapPDF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2FMapPDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2FMapPDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2FMapPDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2FMapPDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemed","download_url":"https://codeload.github.com/systemed/MapPDF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240576027,"owners_count":19823280,"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-10-15T08:16:26.823Z","updated_at":"2025-02-24T23:31:44.475Z","avatar_url":"https://github.com/systemed.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"MapPDF - Ruby map PDF renderer\n==============================\n\nThis is an experimental PDF renderer from MapCSS stylesheets.\n\n== Dependencies ==\n\n* Jochen Topf's OSMlib (http://osmlib.rubyforge.org/)\n* Prawn (http://prawn.majesticseacreature.com/)\n* Ruby MapCSS parser (https://github.com/systemed/mapcss_ruby)\n* RQuad (https://github.com/iterationlabs/rquad)\n\nNOTE: current Prawn will not work perfectly. You need a slight patch to lib/prawn/images.rb - \nsee comments in lib/pdf_renderer/point_item.rb. You'll still get a map without this patch, \nbut the icons will be offset.\n\n== How to use ==\n\nSee pdf_test.rb. In short:\n\n1. (OSMlib)      Read your OSM data into a database\n2. (mapcss_ruby) Create a 'parent objects' dictionary\n3. (mapcss_ruby) Read the MapCSS file into a RuleSet\n4. (mappdf_ruby) Create a MapSpec with the bounding box and map area parameters\n5. (Prawn)       Create a PDF\n6. (mappdf_ruby) Tell the MapSpec to draw onto it\n\n== To do ==\n\n* Better text offset\n\n== Not currently supported ==\n\n* Dash decoration (arrows etc.)\n* Underline\n\n== Licence and author ==\n\nWTFPL. You can do whatever the fuck you want with this code. Code by Richard Fairhurst, autumn 2011.\n\nOpenStreetMap data by OpenStreetMap contributors (CC-BY-SA).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemed%2Fmappdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemed%2Fmappdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemed%2Fmappdf/lists"}