[GRASS-dev] v.generalize smoothing loop support

Miroslav Talasek miroslav.talasek at seznam.cz
Wed Apr 17 01:54:02 PDT 2013


hi all
i try make contours from DEM ASTER and i was successfull but contorus is 
ugly i try use v.generalze but this function cant change firt and las 
point , but some contrours is like loop (first and last point is the 
same) so after smoothing with sliging_averaging algo part around start 
point look_ahead wide was unchanged iwas so ugly , so i write patch 
which implementing loop line support , check if line is loop (start and 
endpoint is same ) and smooting correctly, is it usabel for others ?

attachment:
black is war contours, blue is orig algo and red is with my patch

-- 
MSc. Miroslav Talasek
Developer, Team leader
Seznam.cz, a.s.
Prague
Czech Republic

tel.:+420 234 694 722
fax: +420 234 694 115
gsm: +420 608 934 724
jabber: mirecta at jabber.cz
work-email: miroslav.talasek at firma.seznam.cz
email: miroslav.talasek at seznam.cz
web:http://photo.talasek.sk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: old.jpg
Type: image/jpeg
Size: 55365 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130417/56708cee/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with_loop_support.jpg
Type: image/jpeg
Size: 53858 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130417/56708cee/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orig.jpg
Type: image/jpeg
Size: 54215 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130417/56708cee/attachment-0005.jpg>


More information about the grass-dev mailing list