Customizable ShapeMarkFactory for arbitrary shapes + rectangle mark + hatch 
mark with arbitrary angles
------------------------------------------------------------------------------------------------------

                 Key: GEOT-2910
                 URL: http://jira.codehaus.org/browse/GEOT-2910
             Project: GeoTools
          Issue Type: New Feature
          Components: core styling
    Affects Versions: 2.6.1
            Reporter: Milton Jonathan
            Priority: Minor
         Attachments: customshape.zip

The attached file contains a stand-alone plugin module for a 
"CustomShapeMarkFactory", which allows for creating customizable marks by 
registering arbitrary shapes. This factory may be used to replace the current 
ShapeMarkFactory, whose functionality is (hopefully) entirely replicated (i.e., 
all marks in ShapeMarkFactory have their equivalents in 
CustomShapeMarkFactory). It could also probably be used for user extensions in 
the way suggested by Andrea Aime in 
http://old.nabble.com/list-of-well-known-marks-and-%22shapes:--%22-in-SLD-td26064137.html.

At the moment, usage is by using a well known string of the type 
"customshape://<markname>[?parameter1=value1&parameter2=value2&..]".

Aside from the previously existing marks, two additional marks are provided:
- A "rectangle" mark, where the user can specify something like 
"customshape://rectangle?aspect=2.0"
- A "hatch" mark, where the user can specify something like 
"customshape://hatch?angle=30"

Both additional marks require support for non-square marks in the GeoTools 
renderers (provided in patch for issue GEOT-2906)

-- 
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 the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to