[GRASS-dev] v.generalize smoothing loop support

Markus Metz markus.metz.giswork at gmail.com
Tue May 14 07:46:58 PDT 2013


On Mon, Apr 22, 2013 at 10:40 AM, Miroslav Talasek
<miroslav.talasek at seznam.cz> wrote:
> it this path ok ?
> do you use it ?

I have added your loop support in r56252, with slight modifications:
loop support is activated with the -l flag.

Thanks for the contribution!

Markus M

>
> On 04/17/2013 02:47 PM, Miroslav Talasek wrote:
>
> 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
>
>
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
>


More information about the grass-dev mailing list