{"id":17879850,"url":"https://github.com/jancaha/qgis-qmapshaper","last_synced_at":"2025-03-22T06:31:31.836Z","repository":{"id":40426635,"uuid":"453242172","full_name":"JanCaha/qgis-qmapshaper","owner":"JanCaha","description":"QGIS plugin for running mapshaper directly from QGIS.","archived":false,"fork":false,"pushed_at":"2023-12-17T21:29:32.000Z","size":4527,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-12-17T22:22:36.814Z","etag":null,"topics":["python3","qgis","qgis-plugin","qgis-processing"],"latest_commit_sha":null,"homepage":"https://jancaha.github.io/qgis-qmapshaper/","language":"Python","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/JanCaha.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-01-28T23:04:04.000Z","updated_at":"2023-12-20T16:12:26.424Z","dependencies_parsed_at":"2023-12-20T16:26:09.422Z","dependency_job_id":null,"html_url":"https://github.com/JanCaha/qgis-qmapshaper","commit_stats":{"total_commits":258,"total_committers":2,"mean_commits":129.0,"dds":0.003875968992248069,"last_synced_commit":"847ab085740d36c25284f9c39ed782a4bb4ea63c"},"previous_names":[],"tags_count":11,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanCaha%2Fqgis-qmapshaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanCaha%2Fqgis-qmapshaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanCaha%2Fqgis-qmapshaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanCaha%2Fqgis-qmapshaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JanCaha","download_url":"https://codeload.github.com/JanCaha/qgis-qmapshaper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918500,"owners_count":20531682,"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":["python3","qgis","qgis-plugin","qgis-processing"],"created_at":"2024-10-28T12:08:03.710Z","updated_at":"2025-03-22T06:31:30.230Z","avatar_url":"https://github.com/JanCaha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QMapshaper\n\n[![Tests for Plugin QMapshaper](https://github.com/JanCaha/qgis-qmapshaper/actions/workflows/test_plugin.yaml/badge.svg)](https://github.com/JanCaha/qgis-qmapshaper/actions/workflows/test_plugin.yaml)\n\nQGIS plugin to turn [mapshaper](https://github.com/mbloch/mapshaper) into QGIS tool.\n\n## Installation\n\nRequires installation of NodeJS, npm and mapshaper.\n\n### Linux\n\nOn most Linux distributions this should do:\n\n```\nsudo apt install nodejs\nsudo apt install npm\nnpm install mapshaper\n```\n\nYou can also install mapshaper globally for the system.\n\n```\nnpm install -g mapshaper\n```\n\n### Windows\n\nOn Windows the setup may vary. You then need the path to `mapshaper` folder in `node_modules`. See details below.\n\n## Setting up\n\nIn **QGIS settings** under **Processing** under **QMapshaper** the **_mapshaper_** folder needs to be set up.\n\nOn Linux this tends to be: `/home/user_name/node_modules/mapshaper`, where you just replace `user_name` with your user name. If this is not the case you have to investigate, where the folder is. Best way might be to search for file **mapshaper-gui** which is located in the `mapshaper/bin` directory.\n\n## Tools\n\nSo far there is processing tool **Simplify vector** usable in complex workflows. There is also **Interactive Simplifier** which is GUI tool that allows playing around interactively with the simplification parameters.\n\n## Examples\n\n### Plugin Settings\n\nThe settings requires `Mapshaper folder` and `Mapshaper tool name`. The tool name for Linux and Windows wary, but the plugin does it's best to set it up correctly. For Linux and MacOS it should be `mapshaper-xl` while on Windows `mapshaper-xl.cmd` should be the correct programme.\n\n![](website/pages/images/plugin_settings.png)\n\n### Interactive Tool\n\n![](website/pages/images/interactive_tool.gif)\n\n### Use Case\n\n![](website/pages/images/use_case.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjancaha%2Fqgis-qmapshaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjancaha%2Fqgis-qmapshaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjancaha%2Fqgis-qmapshaper/lists"}