Re: [GRASS-user] v.generalize crash

2016-02-23 Thread Paolo Cavallini
Il 22/02/2016 21:33, Markus Neteler ha scritto:

> Sure - here is our release schedule:
> https://trac.osgeo.org/grass/milestone/7.0.4
> 
> In some weeks we'll have the first RC. Some more known bugs to be
> eliminated since then!

ok, thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] v.generalize crash

2016-02-22 Thread Markus Neteler
On Mon, Feb 22, 2016 at 8:23 AM, Paolo Cavallini  wrote:
> Il 21/02/2016 21:10, Markus Neteler ha scritto:
>> On Sat, Feb 20, 2016 at 8:50 AM, Paolo Cavallini  
>> wrote:
>> ...
 I have opened a ticket:
 https://trac.osgeo.org/grass/ticket/2929
>>
>> It got fixed in 7.0.svn - please try (will go into 7.0.4).
>
> Hi Markus,
> that was fast, thanks. When is 7.0.4 scheduled? Given the crash, I
> believe having fixed packages soon is highly desirable.

Sure - here is our release schedule:
https://trac.osgeo.org/grass/milestone/7.0.4

In some weeks we'll have the first RC. Some more known bugs to be
eliminated since then!

best,
Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] v.generalize crash

2016-02-21 Thread Paolo Cavallini
Il 21/02/2016 21:10, Markus Neteler ha scritto:
> On Sat, Feb 20, 2016 at 8:50 AM, Paolo Cavallini  
> wrote:
> ...
>>> I have opened a ticket:
>>> https://trac.osgeo.org/grass/ticket/2929
> 
> It got fixed in 7.0.svn - please try (will go into 7.0.4).

Hi Markus,
that was fast, thanks. When is 7.0.4 scheduled? Given the crash, I
believe having fixed packages soon is highly desirable.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] v.generalize crash

2016-02-21 Thread Markus Neteler
On Sat, Feb 20, 2016 at 8:50 AM, Paolo Cavallini  wrote:
...
>> I have opened a ticket:
>> https://trac.osgeo.org/grass/ticket/2929

It got fixed in 7.0.svn - please try (will go into 7.0.4).

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] v.generalize crash

2016-02-19 Thread Paolo Cavallini
Thanks Markus.
All the best.

Il 20 febbraio 2016 08:19:14 CET, Markus Neteler  ha scritto:
>Hi Paolo,
>
>On Mon, Feb 15, 2016 at 4:38 PM, Paolo Cavallini
> wrote:
>> Hi all,
>> I get consistent crashes of v.generalize on Debian sid, official deb,
>e.g.:
>>
>> GRASS 7.0.3 (world):~ > v.generalize input=corine@PERMANENT layer=1
>> type=area type=line,boundary,area method=douglas threshold=5.0
>> look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0
>> closeness_thresh=0 betweeness_thresh=0 alpha=1.0 beta=1.0
>iterations=1
>> output=corine_simpl
>
>Same issue here:
>
>GRASS 7.0.3svn (nc_spm_08_grass7):~ > v.generalize input=soils_general
>layer=1 type=area type=line,boundary,area method=douglas threshold=5.0
>look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0
>closeness_thresh=0 betweeness_thresh=0 alpha=1.0 beta=1.0 iterations=1
>output=soils_general_simpl
>...
>Number of areas: 1428
>Number of isles: 244
>-
>Generalization (douglas)...
>Using threshold: 5 meters
>Segmentation fault (core dumped)
>
>with "gdb"
>Program received signal SIGSEGV, Segmentation fault.
>0x77bb2146 in Vect_line_intersection2 ()
>from
>/home/neteler/software/grass70/dist.x86_64-pc-linux-gnu/lib/libgrass_vector.7.0.3svn.so
>
>I have opened a ticket:
>https://trac.osgeo.org/grass/ticket/2929
>
>Markus

-- 
Sent from mobile. Sorry for being short
http://faunalia.eu___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] v.generalize crash

2016-02-19 Thread Markus Neteler
Hi Paolo,

On Mon, Feb 15, 2016 at 4:38 PM, Paolo Cavallini  wrote:
> Hi all,
> I get consistent crashes of v.generalize on Debian sid, official deb, e.g.:
>
> GRASS 7.0.3 (world):~ > v.generalize input=corine@PERMANENT layer=1
> type=area type=line,boundary,area method=douglas threshold=5.0
> look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0
> closeness_thresh=0 betweeness_thresh=0 alpha=1.0 beta=1.0 iterations=1
> output=corine_simpl

Same issue here:

GRASS 7.0.3svn (nc_spm_08_grass7):~ > v.generalize input=soils_general
layer=1 type=area type=line,boundary,area method=douglas threshold=5.0
look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0
closeness_thresh=0 betweeness_thresh=0 alpha=1.0 beta=1.0 iterations=1
output=soils_general_simpl
...
Number of areas: 1428
Number of isles: 244
-
Generalization (douglas)...
Using threshold: 5 meters
Segmentation fault (core dumped)

with "gdb"
Program received signal SIGSEGV, Segmentation fault.
0x77bb2146 in Vect_line_intersection2 ()
   from 
/home/neteler/software/grass70/dist.x86_64-pc-linux-gnu/lib/libgrass_vector.7.0.3svn.so

I have opened a ticket:
https://trac.osgeo.org/grass/ticket/2929

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] v.generalize crash

2016-02-15 Thread Paolo Cavallini
Hi all,
I get consistent crashes of v.generalize on Debian sid, official deb, e.g.:

GRASS 7.0.3 (world):~ > v.generalize input=corine@PERMANENT layer=1
type=area type=line,boundary,area method=douglas threshold=5.0
look_ahead=7 reduction=50 slide=0.5 angle_thresh=3 degree_thresh=0
closeness_thresh=0 betweeness_thresh=0 alpha=1.0 beta=1.0 iterations=1
output=corine_simpl

Same with different options and data.
Does anyone confirm?
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] v.generalize crash

2010-05-05 Thread Markus Metz
On Tue, May 4, 2010 at 6:52 PM, Paolo Cavallini cavall...@faunalia.it wrote:
 Nikos Alexandris ha scritto:

 Does it crash immediately or after a long time? It works for me in a small
 file (boundaries though, not lines) and takes forever (still running after
 15min in a big file containing contours) but no crash.

 It is a memory error: when filled up it crashes. Obviously this does not 
 happen with
 simpler layers.

From the manual: Snakes Algorithm is (asymptotically) the slowest
among the algorithms presented above. Also, it requires quite a lot of
memory. This means that it is not very efficient for maps with the
lines consisting of many segments.

Try another smoothing algorithm, e.g. chaiken.

HTH,

Markus M
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.generalize crash

2010-05-05 Thread Paolo Cavallini
Markus Metz ha scritto:

 Try another smoothing algorithm, e.g. chaiken.

Thanks. Yes, Chaiken and Hermite work. However, IMHO it should not crash, just 
stop.
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.generalize crash

2010-05-05 Thread Markus Metz
On Wed, May 5, 2010 at 10:49 AM, Paolo Cavallini cavall...@faunalia.it wrote:
 Markus Metz ha scritto:

 Try another smoothing algorithm, e.g. chaiken.

 Thanks. Yes, Chaiken and Hermite work. However, IMHO it should not crash, 
 just stop.

Right. I'll fix it, it should abort with fatal error: Out of memory.

Markus M
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.generalize crash

2010-05-05 Thread Paolo Cavallini
Markus Metz ha scritto:
 Right. I'll fix it, it should abort with fatal error: Out of memory.

Thanks a lot for this.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] v.generalize crash

2010-05-03 Thread Paolo Cavallini
The snake algorithm crashes:

~$ v.generalize input=cont...@paolo type=line layer=1 -c type=line method=snakes
alpha=1.0 beta=1.0 output=cont_snake

GRASS_INFO_MESSAGE(22465,1): Generalization (snakes)...
GRASS_INFO_END(22465,1)

GRASS_INFO_PERCENT: 1
GRASS_INFO_PERCENT: 3
GRASS_INFO_PERCENT: 5
GRASS_INFO_PERCENT: 7
Killed

Any explanation?
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user