On Fri, Oct 4, 2013 at 7:20 PM, Jody Garnett <jody.garn...@gmail.com> wrote:

> wow andrea - can we just pick this up whole hog and use as a geotools blog
> post?
>

Sure. It will be even more exciting when we have a CSS syntax for the thing
;-)
Something like:

* {
  fill: symbol('circle');
  -gt-random: true;
  -gt-random-tile-size: true;
  label: [STATE_NAME];
  ... // other label properties
}

:fill {
  fill: lightgray;
  size: 2;
}

[PERSONS <= 2000000] {
  -gt-random-symbol-count=50;
}

[PERSONS > 2000000] [PERSONS <= 4000000] {
  -gt-random-symbol-count=200;
}

[PERSONS > 4000000] {
  -gt-random-symbol-count=700;
}

for the states fills.

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to