Hi,

I thought R_G_B system worked only with the plugin, but the plugin is 
only needed to pick-up colors from the UI.
The code to render colors from R_G_B attribute has been added by Pepe in 
the BasicStyle code (which, IMHO, is fine).

The idea of a style able to render a polygon layer with four colors is a 
nice idea.
The four color theorem has been so hard to prove that I doubt that the 
implementation of such a plugin is an easy task,
but it would be an interesting theme for a student or any person with a 
good mathematical (graph) knowledge.

Michaël
> Hi,
>
> R_G_B system works only with Color chooser plugin which comes with OpenJUMP 
> Plus. Perhaps that plugin could be modified to give random fills for the 
> selected polygons.
>
> Here comes another idea. Sometimes it would be nice to have polygon maps 
> where adjacent polygons have different colors according to the four color 
> theorem. Or seven colors it that would be easier to compute. That feature 
> would also suit well as an option for Color chooser plugin.
> http://en.wikipedia.org/wiki/Four_color_theorem<http://en.wikipedia.org/wiki/Four_color_theorem.>
> http://people.math.gatech.edu/~thomas/FC/fourcolor.html
> http://146.163.152.131/teaching/projects/poettker_final.pdf
>
> -Jukka Rahkonen-
>
>
> ________________________________
> Michaël Michaud wrote:
>
> Hi,
> I need to change the color of the selected data.
> Can anyone help me to find in which class or which method that changes colors 
> and give the selected data a specefic or random color different from the old 
> one.
> thanks in advance.
>> Do you want to "show" selected features, and give them back the original 
>> color if
>> the selection change or do you want to apply the new color permanently ?
>> In the first case, you just have to "select" features so that they appear 
>> with the
>> thick yellow* border line. Use the SelectionManager and FeatureSelection 
>> classes
>> *Can be change from the options
>> In the second case, you'll have to use an attribute to store the
>> color information (which means you have to modify or prepare the
>> schema for that)
>> You can either put semantic information in the attribute then apply
>> a ColorThemingStyle (which may be a bit tricky)
>> or, more simple, add a "R_G_B" attribute and store colors as
>> RRVVBB hexadecimal values.
>> Michaël
>
>
> --
> *Asma OUQALLI*
>
> Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
> Chef de commission développement professionnel  - Rotaract EHTP.
> Chef de cellule Media - Olympiades EHTP 2012.
>    Ecole Hassania des Travaux Publics.
>     Mobile : +212 672 48 23 15.
>     Email : asma.ouqa...@gmail.com<mailto:asma.ouqa...@gmail.com>
>
>
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
>
>
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to