[GRASS5] NVIZ memory limits ?
Bob Covill
bcovill at tekmap.ns.ca
Wed Mar 2 19:58:23 EST 2005
Hi Peter,
The maximum number of vectors is defined in gsurf.h in the ogsf library.
It is currently limited to 12 (#define MAX_VECTS 12).
Try setting it to the number of vectors you need to draw, and let us
know how well it works (memory consumption, etc). If there are no
side-effects it should probably be permanently set higher (along with
the sites (vector points) limit).
Hope this helps.
--
Bob
peter.loewe at gmx.de wrote:
> Dear All,
>
> now that Bob and Markus fixed the 3d vector-area problem, I encountered a
> new obstacle.
> While loading a bunch (about 50) "Jachym-trees" I got a error message saying
> "Maximum vectors loaded".
>
> This is the log-file:
> Maximum vectors loaded!
> Maximum vectors loaded!
> while executing
> "Nnew_map_obj $type"
> (procedure "add_map" line 9)
> invoked from within
> "add_map vect"
> invoked from within
> ".top2.panelarea.panels.vect.top.new invoke"
> ("uplevel" body line 1)
> invoked from within
> "uplevel #0 [list $w invoke]"
> (procedure "tk::ButtonUp" line 22)
> invoked from within
> "tk::ButtonUp .top2.panelarea.panels.vect.top.new"
> (command bound to event)
>
> Where is the number of possible vectors defined ? Can it be manipulated ?
>
> Peter
>
More information about the grass-dev
mailing list