[Geoserver-devel] [jira] Created: (GEOS-2548) Better support for hatched fills

Better support for hatched fills
--------------------------------

                 Key: GEOS-2548
                 URL: http://jira.codehaus.org/browse/GEOS-2548
             Project: GeoServer
          Issue Type: Improvement
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 1.7.3

In many european states the law mandates the usage of hatching (http://en.wikipedia.org/wiki/Hatching) for filling up polygons, using various styles of lines, usually diagonal, sometimes hor/ver, sometimes crossed. The color and line width may vary as well.
The only way to support this atm is to create a png/gif image that properly tiles up, but it's cumbersome to follow as the number of options considered grows.
Using markers (dyn symbolizers to the rescue) instead we can control color and line thickness, and provide a set of markers covering the most commonly used line orientations and arrangements (hor/vert/slash/backslash/cross/x). Markers also allow to control how close lines are, just a matter of changing the marker size.
What we cannot control fully is dasharrays, if one is used, it has to complete a fully cycle within the tile to look good overall, something which is not easy for diagonal fills (and does not allow for dasharray patterns longer than the chosen tile size).

--
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

     [ http://jira.codehaus.org/browse/GEOS-2548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Deoliveira reopened GEOS-2548:
-------------------------------------

re-opening to update priority for inclusion on road map.

Better support for hatched fills
--------------------------------

                Key: GEOS-2548
                URL: http://jira.codehaus.org/browse/GEOS-2548
            Project: GeoServer
         Issue Type: Improvement
           Reporter: Andrea Aime
           Assignee: Andrea Aime
            Fix For: 1.7.2

In many european states the law mandates the usage of hatching (http://en.wikipedia.org/wiki/Hatching) for filling up polygons, using various styles of lines, usually diagonal, sometimes hor/ver, sometimes crossed. The color and line width may vary as well.
The only way to support this atm is to create a png/gif image that properly tiles up, but it's cumbersome to follow as the number of options considered grows.
Using markers (dyn symbolizers to the rescue) instead we can control color and line thickness, and provide a set of markers covering the most commonly used line orientations and arrangements (hor/vert/slash/backslash/cross/x). Markers also allow to control how close lines are, just a matter of changing the marker size.
What we cannot control fully is dasharrays, if one is used, it has to complete a fully cycle within the tile to look good overall, something which is not easy for diagonal fills (and does not allow for dasharray patterns longer than the chosen tile size).

--
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