[GRASS-dev] v.generalize smoothing loop support

Miroslav Talasek miroslav.talasek at seznam.cz
Wed Apr 17 05:47:51 PDT 2013


is it ok ?
it add new parameter loop_support which would be 1 or 0 for loop line 
support in

sliging_averaging algo




On 04/17/2013 12:46 PM, Markus Metz wrote:
> On Wed, Apr 17, 2013 at 10:54 AM, Miroslav Talasek
> <miroslav.talasek at seznam.cz>  wrote:
>> 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 ?
> Yes, I think this is usuable for others. Do you mind sending the patch?
>
> Markus M
>
>> 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
>>
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v.genealize.patch
Type: text/x-patch
Size: 6986 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20130417/a74f6614/attachment.bin>


More information about the grass-dev mailing list