Our organization needs to have "hatching" as a symbolization possiblitiy. It takes the form of many little vertical lines filling a polygon, or (with rotation) many little horizontal lines.
You can also overlay lines rotated at 90 degrees to each other to create a "grid" or "lattice" of little squares/diamonds.
Since it's implemented as a well-known-mark, it's just another java2D GeneralPath, and can be styled just like anything else.
The OGC-standard way to do this would be to create different "hatch" tiles for every single color and thickness of hatch one could ever possibly conceive of, and that seems inefficient.
Since my motivation is Geoserver, the patch is against the 2.1.x renderer, but as soon as geoserver moves to 2.2.x I'll forward-port this patch to the 2.2.x renderer.
CodeHaus Comment From: firstname.lastname@example.org - Time: Fri, 7 Apr 2006 20:22:03 -0500
I've added it to 2.2.x, Will do 2.1.x now.
CodeHaus Comment From: email@example.com - Time: Sat, 8 Apr 2006 10:23:01 -0500
Thaks for the patch