Line simplification with DPSimplify for QGIS

Материал из GIS-Lab
Перейти к: навигация, поиск
Эта страница опубликована в основном списке статей сайта
по адресу http://gis-lab.info/qa/dpsimplify-eng.html


Reducing the number of points in a curve/polyline.

Tool for line simplification/generalization with Douglas–Peucker algorithm and customizable simplify tolerance.

Содержание

Installation notes

Plugin is available via official repository.

DPSimplify is designed for QGIS version 1.0.0 and higher. There are no dependencies, all necessary files are included in package.

You can obtain sources from our SVN:

svn co http://svn.gis-lab.info/dpsimplify dpsimplify

How does it work

After plugin installation and startup by clicking button

Dpsimplify.png

main window will appear:

Dpsimplify-02.png

Input layer with features to simplify can be selected from combobox (only polyline layers supported). It is possible to simplify only selected features or whole layer. If checkbox "Save to new file" is checked — new shapefile with simplification results will be created, otherwise existing layer will be changed. It is possible to undo layer modification, but note that this will revert all changes. Simplify tolerance must be in map units (meters or degrees).

When process finished a window with information about number of points in source layer before and after simplification will appear. If the results do not suit you can undo changes without closing plugin, set another tolerance value and run simplification again.

Here is example of DPSimplify usage (green line with red vertex — input layer, blue line — result, tolerance is 500 m)

Dpsimplify-03.gif

Contacts

If you want report a bug or want make suggestion — use bugtracker.

Links

Персональные инструменты
Пространства имён

Варианты
Действия
Статьи
Спецпроекты
Инструменты