Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.5-RC0
-
Fix Version/s: 2.5.1
-
Component/s: shapefile-render extension
-
Labels:None
Description
Shapefile renderer builds feaetures using the static methods of SimpleFeatureBuidler, meaning there is an unecessary allocation of a attribute array and a SimpleFeatureBuilder object, plus a SPI scan for the default feature factory, at each feature built. This is less than ideal, should be fixed by creating a single, reused SimpleFeatureBuilder out of the feature "loadi and render" loop.