[GRASS5] Re: [PATCH] introduce where clause in d.vect.thematic
(and v.univar.sh)
Moritz Lennert
mlennert at club.worldonline.be
Fri Sep 9 04:25:57 EDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hamish wrote:
>>Ok, I've committed the changes to introduce a where option. As soon
>>as (if) Hamish manages to find some time to allow rgb colors for
>>rectangles in ps.map, I will also activate the dormant code
>>concerning a ps legend.
>
Sorry, when I wrote rectangles, I meant symbols.
>
>
> I had been thinking about that yesterday WRT adding RGB color selection
> for symbols via the ps.map point and vpoints instructions.
>
> There was the question about changing the internal paint command file. I
> think this is only used in ps.map so it won't be a problem, but if
> anyone knows otherwise please speak up. Second warning, etc. etc.
>
> The other thing I thought about was how best to add in GRASSRGB column
> support for ps.map vector features. Conceivably someone might want to
> use that column for both fill color and the line color. Also for
> the busier commands adding more options isn't something I want to do.
I agree.
>
> Possible solution: extend the color name parsing code to accept an
> attribute column name which would hold the RRR:GGG:BBB triplets. That it
> is a column name would have to be denoted somehow, perhaps by putting
> the name in <BRACKETS> and caps.
>
> e.g.
> color red
> color 255:0:0
> color <GRASSRGB>
>
> would all work. Also this means you could do
>
> color <FG_COLOR>
> fcolor <FILL_COLOR>
>
> or any other legal column name.
This would be cool. But I would put the priority on implementing RGB
support, if you're time is limited.
>
>
> Devil is in the details of course, I don't know how easy it would be to
> implement. But if it works and is liked, it might be a nice thing to
> have in the display modules too.
Yes.
> Consider also that beyond adding RGB
> support to plotting commands and symbols in ps.map, and maybe GRASSRGB
> column support to vareas, I can't spend very much time on this & someone
> else would have to do the work.
These additions would already be a great advancement. If the code is
well documented, than maybe others will be able to extend RGB
support to other ps.map elements.
Moritz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDIUcVrIrMbm76jD8RAg3GAJ9zLW9uigYPvPiq9MDDBcd2okOuYwCfY6nf
VM2tTriimYND75EVRFGXKrU=
=hvAm
-----END PGP SIGNATURE-----
More information about the grass-dev
mailing list