Avoid LiteShape2 geometry cloning when the datastore declares the feature can 
be altered at leisure
---------------------------------------------------------------------------------------------------

                 Key: GEOT-1467
                 URL: http://jira.codehaus.org/browse/GEOT-1467
             Project: GeoTools
          Issue Type: Bug
          Components: core main, core render
    Affects Versions: 2.4-RC0
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.4-RC1, 2.5-M0


LiteShape2 has geometry cloning to protect the datastore from being altered 
when the geometry gets decimated and transformed (this operation occurs in 
place). This is not necessary most of the time, and is a significant overhead 
when the geometry is big. Of course, if the geometry is not based on 
LiteCoordinateSequence objects, cloning will occurr anyways because we need 
that kind of coordinate sequence, but that's another matter.
To support this, a new hint, FEATURE_DETACHED, has been added, and I'll make 
sure all JDCB datastores as well as the shapefile datastore
declare to implement it.

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