[GRASS-dev] [GRASS GIS] #3361: v.select: very slow using GEOS operators (was: v.select: very slow using within (GEOS) operator)

GRASS GIS trac at osgeo.org
Mon Mar 19 13:36:39 PDT 2018


#3361: v.select: very slow using GEOS operators
--------------------------+---------------------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.4.1
 Component:  Vector       |    Version:  svn-trunk
Resolution:               |   Keywords:  v.select GEOS within slow
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------------

Comment (by mlennert):

 Actually, it is not only within. Comparing the native 'overlap' operator
 with its GEOS equivalent, the 'intersects' operator, I get significant
 time difference:


 {{{
 time v.select -c ain=boundary_municp bin=rail5000 op=overlap
 out=select_overlap
 real    0m27.363s
 user    0m12.836s
 sys     0m14.696s
 }}}


 {{{
 time v.select -c ain=boundary_municp bin=rail5000 op=intersects
 out=select_intersects
 real    1m12.190s
 user    0m56.844s
 sys     0m15.511s
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3361#comment:3>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list