Skip to main content
3 events
when toggle format what by license comment
Dec 23, 2012 at 14:49 comment added Andrea Aime I agree with Ian that's the best avenue. Just creating a filter function might be another way, but you would have to create something that returns the same color for the same feature every time it's called.. maybe something based on hashing the feature contents and boiling it down to a color, but... there is no guarantee you'll get anything aesthetically pleasing, or that the colors you'll get are unique (the hash might collide) or humanly discernible (distinct colors, but too close for a human to tell apart)
Dec 20, 2012 at 6:23 comment added Caligari Thanks. Yeah, I thought about using a column with colours in it, but I don't want to tie styling information to my data if I can help it. I'll have a bit of a poke around functions in SLD - looks like it might be the go, even if I have to write my own. I'll update this post with whatever solution I eventually go for. Thanks for your help.
Dec 19, 2012 at 8:44 history answered Ian Turton CC BY-SA 3.0