Le 07/03/2013 10:05, Rahkonen Jukka a écrit : > Hi, > > I did not know about the general R_G_B field support. I can see that if hand > coloured layer is saved into OpenJUMP project it is considered to be > classified by unique values of R_G_B field. This has some consequences. > After opening such a project OJ shows layer styles as if theme colouring is > active. I cannot reproduce that. I created a layer, added R_G_B attribute, saved the file and the project, re-opened it The ColorTheming is not activated. But if I choose ColorTheming tab, I can select R_G_B attribute, which is not compatible with how R_G_B attribute works.
I fill a bug report : de-activate R_G_B attribute in ColorTheming > However, it is not possible to adjust colours from the theme colouring tab. > Only editing R_G_B field value has on effect on colours. Perhaps use of R_G_B > field for theme colouring should be deactivated from the user interface. Agree > Perhaps theme colouring could be used in opposite way so that there would be > on option to write the colour values from the classification into the R_G_B > attribute. That way it would be fast to make an initial colouring for the > whole map and fix it by hand to look perfect. Would be a good idea. Will fill a Feature Request (with a low priority) > By the way, OJ has just a small fixed predefined colour palette set for theme > colouring. Kosmo developers have added a feature rich palette editor which is > worth having a look. Have to see that, Michaël > > -Jukka- > > Michaël Michaud wrote: >> 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.or >>> g/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.s >>> ourceforge.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 > ------------------------------------------------------------------------------ > 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