Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] To many classes?

Hi Mr Deaton:

We limited the initial "wizard" to 12 classes because that is what our origional "palette"s define (they are based on color brewer which you can find on the web and are generally founded in what the human eye can actually notice - a max of 12).

You may wish to consider taking an opposite approach to what we did ... use a function to calculate color rather then a set of rules?. You can even write your own custom function in Java if you need to in order to break out more colors.... even with just SLD you can set up an _expression_ and make use of several attributes to generate a color. In your case you may wish to use "feature id" and map that to an individual color for each of your ploygons.

I would like to split out our table of colors from the initial set of default palettes; but for now cutting and pasting the XML in a text editor may be the easiest way to go?

Jody

On 09/02/2010, at 2:34 AM, Charles E. Deaton wrote:

Hello group,

Ive been using uDig for a few months now and have a question about styles. I have 1817 polygons and would like to fill each with a different color and uDig only allows for 12 classes. This is not something I want to do by hand. I have looked at other apps and cant seem to find anything that will generate the sld in the OGC standard xml format with more than 12 classes. I have edited the dbf for the shapefile Im using by adding another column filled with completely random values and styling on that but still I have adjoining colors. Any thoughts on created the sld I need?

Regards,
Charl
ie Deaton


_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users


Back to the top