ShapefileRenderer delegation to streaming rendering breaks multilayer labelling
-------------------------------------------------------------------------------

                 Key: GEOT-1561
                 URL: http://jira.codehaus.org/browse/GEOT-1561
             Project: GeoTools
          Issue Type: Improvement
          Components: ext shapefilerender
    Affects Versions: 2.4-RC0, 2.5-M0
            Reporter: Andrea Aime
            Assignee: Jesse Eichar
             Fix For: 2.4-RC1, 2.5-M1


Jesse, as usual assigning to you for review

The shapefile renderer delegates single layers to the streaming renderer, 
meaning each will be labelled separately and labels will be covered by the 
geometries of the upper level layers.
A workaround is to pass the streaming renderer a label cache that:
* wraps the shapefile renderer main label cache (so that everything stores 
labels in the same label cache)
* turns end() into a no-op so that only the shapefile renderer can trigger the 
start of labelling operations 
   when all of the layers have been renderer.

This is a temporary solution, the real one is to get rid of the shapefile 
renderer, but to do so we have to migrate the optimized shapefile handlers
onto the shapefile datastore and double check the performance is the same after 
the move.

-- 
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to