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

This is what I got:

GRASS:~ > g.region -p; date ; r.patch in=4117se1,marion out=patch; date
projection: 99 (State Plane)
zone: 0
datum: ** unknown (default: WGS84) **
ellipsoid: ** unknown (default: WGS84) **
north: 1717919
south: 1715772
west: 635413
east: 637912
nsres: 1
ewres: 1
rows: 2147
cols: 2499
Thu Apr 19 14:24:21 EDT 2001
r.patch: percent complete: 100%
CREATING SUPPORT FILES FOR patch
<my debug statements here>
Thu Apr 19 16:17:02 EDT 2001A

Almost two hours??? Can there be _that_ much difference between
machines?
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.

I now assume that there is something wrong with my data.
Why would my raster images have so many more categories than Markus'?

Any thoughts would be helpful.

This weekend I will build the linux binarys. Everything seems to work.

Thanks,
Matt

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

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@geog.uni-hannover.de with
subject 'unsubscribe grass5'