Enable "hatching" with a well-known-mark called 'hatch' -------------------------------------------------------
Key: GEOT-829 URL: http://jira.codehaus.org/browse/GEOT-829 Project: GeoTools Type: Improvement Components: wms, styling, renderer, render Versions: 2.1.1 Environment: All Reporter: Saul Farber Assigned to: Jesse Eichar Priority: Trivial Attachments: crosshatch-wkmark-r18876.patch 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel