Line simplification with DPSimplify for QGIS

Материал из GIS-Lab
Версия от 09:45, 21 июля 2012; Voltron (обсуждение | вклад) (Новая страница: «{{Статья|Опубликована|dpsimplify-eng}} {{Аннотация|Reducing the number of points in a curve/polyline.}} Tool for line simplification/g…»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску
Эта страница опубликована в основном списке статей сайта
по адресу 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, make suggestion or have a question about the plugin, contact the developer (more contacts). Also you can file ticket in bugtracker.