Opened 7 years ago

Closed 6 years ago

#1975 closed defect (fixed)

v.overlay.and gets "stuck"

Reported by: kiarasky Owned by: grass-dev@…
Priority: normal Milestone: 6.4.4
Component: Vector Version: svn-releasebranch64
Keywords: v.overlay Cc:
CPU: Unspecified Platform: Linux

Description (last modified by martinl)

Hi all! It's Kiara. I am using a script to overlay two shapefiles, respectively line and polygon type. The overlay operation gets stuck at approximately 74%, and it happens in the script, by command line and also by using the grass toolbox in qgis. maybe the problem is the number of vertices? More info: (ALL_ROUTES_M1SO6 is the line map, prova_conc_grand_grass is a test polygon i'm using)

GRASS 6.4.2 (Europe):~/Desktop/short-term/grass_CODE_NewData > v.overlay ainput=ALL_ROUTES_M1SO6@PERMANENT atype=line alayer=1 binput=prova_conc_grand_grass@PERMANENT btype=area blayer=1 output=routes_overlapped_test2 operator=and 
Copying vector objects from vector map <ALL_ROUTES_M1SO6@PERMANENT>...
 100%
Collecting input attributes...
Copying vector objects from vector map
<prova_conc_grand_grass@PERMANENT>...
 100%
Collecting input attributes...
Building partial topology...
Building topology for vector map <routes_overlapped_test2>...
Registering primitives...
869 primitives registered
20203 vertices registered
Number of nodes: 138
Number of primitives: 869
Number of points: 0
Number of lines: 868
Number of boundaries: 1
Number of centroids: 0
Number of areas: -
Number of isles: -
Breaking lines...
^C74%

* here I stopped the procedure, and after that I cannot open the map that has been created. My maximum wall time has been 20 minutes...is that normal?

thanks a lot Kiara

Change History (5)

comment:1 Changed 7 years ago by martinl

Component: DefaultVector
Keywords: v.overlay added

comment:2 Changed 7 years ago by martinl

Description: modified (diff)

comment:3 Changed 7 years ago by neteler

AFAIK you may use v.split to split the vector boundaries to shorter segments. This will speed up the processing in GRASS 6. Please let us know how it goes.

markusN

PS: Note that the v.overlay version in GRASS 7 is *way* faster...

comment:4 in reply to:  3 ; Changed 7 years ago by mmetz

Replying to neteler:

AFAIK you may use v.split to split the vector boundaries to shorter segments. This will speed up the processing in GRASS 6. Please let us know how it goes.

markusN

PS: Note that the v.overlay version in GRASS 7 is *way* faster...

This getting stuck at breaking lines was fixed recently, please try GRASS 6.4.3svn or newer.

Markus M

comment:5 in reply to:  4 Changed 6 years ago by neteler

Milestone: 6.4.36.4.4
Resolution: fixed
Status: newclosed
Version: unspecifiedsvn-releasebranch64

Replying to mmetz:

Replying to neteler:

AFAIK you may use v.split to split the vector boundaries to shorter segments. This will speed up the processing in GRASS 6. Please let us know how it goes.

markusN

PS: Note that the v.overlay version in GRASS 7 is *way* faster...

This getting stuck at breaking lines was fixed recently, please try GRASS 6.4.3svn or newer.

This will be available in the upcoming GRASS 6.4.4. Closing, feel free to reopen if 6.4.4 does not solve the issue.

Note: See TracTickets for help on using tickets.