[GRASS-dev] Re: [GRASS GIS] #600: d.vect: add new size_column=,
rotation_column= options
GRASS GIS
trac at osgeo.org
Thu Jul 23 04:30:30 EDT 2009
#600: d.vect: add new size_column=, rotation_column= options
--------------------------+-------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: normal | Milestone: 6.5.0
Component: Vector | Version: svn-develbranch6
Resolution: | Keywords: d.vect
Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):
implemented in devbr6/trunk with r38508/r38509.
please test -- I'm a bit concerned about a possible double-free() in
source:grass/trunk/display/d.vect/plot1.c at 38509#L542
The effect of S_stroke() seems to be cumulative, so we need to re-read in
the symbol each time to reset it. Maybe a better way would be to read in a
master copy then memcpy() SYMBOL *Symb to a disposable copy and
S_stroke()+D_symbol()+G_free() the disposable version?
spearfish example:
d.vect -c archsites icon=basic/triangle rot_col=cat size_col=cat
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/600#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list