[GRASS-dev] vector libs: file based spatial index

Moritz Lennert mlennert at club.worldonline.be
Tue Jul 14 09:36:26 EDT 2009


On 13/07/09 14:44, Markus Metz wrote:
> Now in trunk r38390, time to make distclean again...
> 

Some testing:


1) ssbel: 20025 areas, 74674 primitives

time v.what --q -a map=ssbel at mlennert
east_north=213355.121152,112569.565623 distance=3555.157725


GRASS6.4:
real	0m3.401s
user	0m3.316s
sys	0m0.084s

GRASS7:
real	0m0.436s
user	0m0.400s
sys	0m0.040s

2) nuts5: 124658 areas, 481648 primitives

GRASS6.4:
real	0m23.595s
user	0m22.297s
sys	0m0.192s


GRASS7:
time v.what --q -a map=nuts5 at mlennert
east_north=-151298.509242,-196456.483661 distance=71395.131107

real	0m1.216s
user	0m0.956s
sys	0m0.120s


3) erm_roads: 1883345 lines, 1883345 primitives

time v.build erm_roads

GRASS6.4:
real	1m54.298s
user	1m49.107s
sys	0m2.888s

GRASS7:
real	2m54.266s
user	2m40.606s
sys	0m6.688s

(Note the fact that here GRASS6.4 is significantly faster !)

time v.what --q map=erm_roads east_north=0,0 distance=10000

GRASS6.4:
real	1m23.439s
user	1m21.389s
sys	0m0.968s

real	0m5.330s
user	0m2.884s
sys	0m0.468s



Thanks a lot !!

Moritz




More information about the grass-dev mailing list