Shapefile datastore should batch event notification.
------------------------------------------------------
Key: GEOT-1113
URL: http://jira.codehaus.org/browse/GEOT-1113
Project: GeoTools
Issue Type: Bug
Components: data shapefile
Affects Versions: 2.2.2
Reporter: Jesse Eichar
Assigned To: Jesse Eichar
magine there is a filter based on BBOX in the layer from shapefile. When
I call FeatureStore.modifyFeatures(..., Filter) where I put new values for
the set of features filtered by Filter it causes rendering problems later
on. The reason: ShapefileDataStore (actually TransactionStateDiff) sends a
notification for every changed feature and this notification comes to the
Layer class through FeatureListener and causes re-rendering of the layer.
Shouldn't it be a batch notification from GeoTools stuff? Or should events
be collected at the Layer's class level?
The first way constraints low level events making them batched that is not
appropriated for all cases where GeoTools is used. The second approach needs
a special event from low level GeoTools stuff that all modifications are
done and the Layer is able to send batched event to notify listeners
including re-rendering of the layer.
See boxselection_after.jpg where described effect of not batched
re-rendering is displayed as a result of current behavior.
--
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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel