StreamingRenderer may project PointSymbolized geometries more than once
-----------------------------------------------------------------------

                 Key: GEOT-1834
                 URL: http://jira.codehaus.org/browse/GEOT-1834
             Project: GeoTools
          Issue Type: Bug
    Affects Versions: 2.5-M2
            Reporter: Aleksander Bandelj


When SLD has PointSymbolizer after some other symbolizer inside single rule, 
the following happens:

LineSymbolizer calls #findGeometry, causing geometry to be projected by 
LiteShape2 in RenderableFeature#getTransformedShape
PointSymbolizer calls #findGeometry, returning centroid of already projected 
geometry which is then is projected second time

So, PointSymbolizer followed by e.g. LineSymbolizer renders OK. If you put 
PointSymbolizer after LineSymbolizer, PointSymbolizer does not render anything 
since geometries are projected out of viewport.

Also see GEOT-1500

-- 
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to