[GRASS-dev] [GRASS GIS] #1975: v.overlay.and gets "stuck"

#1975: v.overlay.and gets "stuck"
-------------------------+--------------------------------------------------
Reporter: kiarasky | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Default | Version: unspecified
Keywords: | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1975&gt;
GRASS GIS <http://grass.osgeo.org>

#1975: v.overlay.and gets "stuck"
-------------------------+--------------------------------------------------
Reporter: kiarasky | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: unspecified
Keywords: v.overlay | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * keywords: => v.overlay
  * component: Default => Vector

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1975#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1975: v.overlay.and gets "stuck"
-------------------------+--------------------------------------------------
Reporter: kiarasky | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: unspecified
Keywords: v.overlay | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Description changed by martinl:

Old description:

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

New description:

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

--

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1975#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1975: v.overlay.and gets "stuck"
-------------------------+--------------------------------------------------
Reporter: kiarasky | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: unspecified
Keywords: v.overlay | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(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...

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1975#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1975: v.overlay.and gets "stuck"
-------------------------+--------------------------------------------------
Reporter: kiarasky | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: unspecified
Keywords: v.overlay | Platform: Linux
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by mmetz):

Replying to [comment:3 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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1975#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1975: v.overlay.and gets "stuck"
-----------------------+----------------------------------------------------
  Reporter: kiarasky | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.4
Component: Vector | Version: svn-releasebranch64
Resolution: fixed | Keywords: v.overlay
  Platform: Linux | Cpu: Unspecified
-----------------------+----------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * version: unspecified => svn-releasebranch64
  * resolution: => fixed
  * milestone: 6.4.3 => 6.4.4

Comment:

Replying to [comment:4 mmetz]:
> Replying to [comment:3 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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1975#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>