kannes / qgis-qmapshaper

QGIS plugin for running mapshaper directly from QGIS.

Home Page:https://jancaha.github.io/qgis-qmapshaper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QMapshaper

Tests for Plugin QMapshaper

QGIS plugin to turn mapshaper into QGIS tool.

Installation

Requires installation of NodeJS, npm and mapshaper.

Linux

On most Linux distributions this should do:

sudo apt install nodejs
sudo apt install npm
npm install mapshaper

You can also install mapshaper globally for the system.

npm install -g mapshaper

Windows

On Windows the setup may vary. You then need the path to mapshaper folder in node_modules. See details below.

Setting up

In QGIS settings under Processing under QMapshaper the mapshaper folder needs to be set up.

On 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.

Tools

So 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.

Examples

Plugin Settings

Interactive Tool

Use Case

About

QGIS plugin for running mapshaper directly from QGIS.

https://jancaha.github.io/qgis-qmapshaper/


Languages

Language:Python 99.6%Language:Makefile 0.1%Language:Shell 0.1%Language:HTML 0.1%