{"id":25977627,"url":"https://github.com/nylander/reformatkml","last_synced_at":"2025-10-13T13:08:59.138Z","repository":{"id":11344749,"uuid":"13773727","full_name":"nylander/reformatKML","owner":"nylander","description":"Reformat KML files. Script used in Stephan Nylinder et al. \"On the Biogeography of Centipeda: A Species Tree Diffusion Approach\". Syst. Biol. ","archived":false,"fork":false,"pushed_at":"2023-04-21T11:43:42.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T13:08:57.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","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/nylander.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-10-22T13:16:42.000Z","updated_at":"2020-03-24T14:40:10.000Z","dependencies_parsed_at":"2025-10-13T13:08:58.728Z","dependency_job_id":null,"html_url":"https://github.com/nylander/reformatKML","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nylander/reformatKML","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylander%2FreformatKML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylander%2FreformatKML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylander%2FreformatKML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylander%2FreformatKML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nylander","download_url":"https://codeload.github.com/nylander/reformatKML/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylander%2FreformatKML/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015284,"owners_count":26085683,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-03-05T04:38:45.345Z","updated_at":"2025-10-13T13:08:59.126Z","avatar_url":"https://github.com/nylander.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"reformatKML\n===========\n\nFILE:\n\n    reformatKML.pl\n\nUSAGE:\n\n    ./reformatKML.pl input.kml\n    ./reformatKML.pl -f=0.5 infile(s)\n    ./reformatKML.pl -noverbose infile(s)\n    ./reformatKML.pl -h\n\nDESCRIPTION:\n\n    Reformat kml files to Stephan's output format (see publication reference in NOTES below).\n    \n    Reads file name(s) from standard in, prints to new file(s) with file ending \".new.kml\".\n\n    Example output:\n\n        \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n        \u003ckml\u003e\n            \u003cPolygon id=\"1\" fillValue=\"0.5\"\u003e\n                \u003ccoordinates\u003e\n                    59.67092993700869,14.21821649950053,0\n                    59.3154938504766,12.94636436386756,0\n                    58.49650823112883,12.54670859382397,0\n                    57.61287555467409,12.92791857638056,0\n                    57.315714136905,14.40085755874797,0\n                    57.75939797989069,16.23159215054945,0\n                    58.88174459958986,16.59405807830233,0\n                    59.47730156931067,15.63992197616331,0\n                    59.67092993700869,14.21821649950053,0\n                \u003c/coordinates\u003e\n            \u003c/Polygon\u003e\n        \u003c/kml\u003e\n\nOPTIONS:\n\n    -f=*nr* for specifying fill value (*nr*). Default is 0.5.\n\n    -h,--help\n            display help\n\n    -v,--verbose\n            display some output to standard error.\n\n    -nv,--noverbose\n            no output to stderr\n\nNOTES:\n\n    Parser and output are specific to given input format. Check output for\n    consistency.\n\n    Code for using XMP::Parser taken from Ray \u0026 McIntosh. 2002. Perl \u0026 XML.\n    O'Reilly.\n    \n    See publication by Stephan Nylinder et al. \"On the Biogeography of Centipeda: A Species\n    Tree Diffusion Approach\". Syst. Biol. 2014, 63:178-191.\n\nAUTHOR:\n\n    Johan Nylander, nbis.se\n\nVERSION:\n\n    1.0\n\nCREATED:\n\n    10/10/2013 09:42:21 AM\n\nREVISION:\n\n    11/20/2013 10:00 AM\n\nDOWNLOAD:\n\n    https://github.com/nylander/reformatKML\n\nLICENSE:\n\n    Copyright (c) 2013-2020 Johan Nylander\n               \n    Permission is hereby granted, free of charge, to any person\n    obtaining a copy of this software and associated documentation\n    files (the \"Software\"), to deal in the Software without\n    restriction, including without limitation the rights to use,\n    copy, modify, merge, publish, distribute, sublicense, and/or\n    sell copies of the Software, and to permit persons to whom the\n    Software is furnished to do so, subject to the following\n    conditions:\n    \n    The above copyright notice and this permission notice shall be\n    included in all copies or substantial portions of the Software.\n    \n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n    OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnylander%2Freformatkml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnylander%2Freformatkml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnylander%2Freformatkml/lists"}