[GRASS5] r.patch...yeoww...

Michel Wurtz mw at teledetection.fr
Fri Apr 20 03:40:04 EDT 2001


mberglund wrote:
[...]
> I have figured out where the time delay is, categories. It takes
> a substantial amount of time to write (sort) the categories and no
> time (relatively speaking) to write out the colors.

Well, I noticed that m.in.e00 take also a very long time when it
load categories.  I think there is some verification in the grass5
lib (this did not occur with grass4.x), that add an overlay in function
of the number of categories in the table (something like "for each new
category, scan the complete categories' table").

Try to import a big vector file with 20000+ vectors with many attributes
to put in dig_cat, set the verbose option to see what's happening, and
you will see that importing the geometry take a few seconds, but things
slow down during the categories creation (the percentage done increases
more and more slowly, and the whole process can take hours)

Maybe there is something to do with the categories management...

--
Michel WURTZ - DIG - Maison de la télédétection
               500, rue J.F. Breton
               34093 MONTPELLIER Cedex 5

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list