gvSIG bugs #596

Some bugs and performance problems with the GraphicLayer and the MapContextDrawer

Added by Cesar Ordiñana about 12 years ago. Updated over 11 years ago.

Status:Closed% Done:

100%

Priority:UrgentSpent time:-
Assignee:Cesar Ordiñana
Category:Application
Target version:2.0.0-alpha5
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2046 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

I'm developing a demo which creates many random points and draws it in the GraphicLayer, repeating it every some time, and I'm having some performance problems and bugs with how the GraphicLayer and the MapContextDrawer work.

I'm going to solve them and attach to this issue.

Associated revisions

Revision 38201
Added by Cesar Ordiñana about 12 years ago

Remove uneeded System.gc(), which makes a small unneeded pause on each GraphicLayer write.
Refs #596.

Revision 38202
Added by Cesar Ordiñana about 12 years ago

Change list of deleted features collection used for better performance while iterating through a FeatureStore while editing. This makes faster also to write and remove Geometries from the GraphicLayer.
Refs #596.

Revision 38203
Added by Cesar Ordiñana about 12 years ago

This is a 1.4 compatible project.
Refs #596.

Revision 38204
Added by Cesar Ordiñana about 12 years ago

Implement toString for easier debugging and logging.
Refs #596.

Revision 38205
Added by Cesar Ordiñana about 12 years ago

Capture exceptions thrown while the index is indexing and changes are performed in the store, and stop indexing.
Refs #596.

Revision 38206
Added by Cesar Ordiñana about 12 years ago

Feature creation optimization and reimplement the getFullEnvelope() method, not creating a new dummy one if the layer is empty as implemented in the FlyrDefault.
Refs #596.

Revision 38207
Added by Cesar Ordiñana about 12 years ago

If while drawing a ConcurrentModificationException is thrown, retry for 3 times.
Refs #596.

Revision 38208
Added by Cesar Ordiñana about 12 years ago

Remove default creation of spatial index if not already created when entering edition mode.
Refs #596.

Revision 38209
Added by Cesar Ordiñana about 12 years ago

Remove setting attributes when setting the FeatureType. Causes uneeded creation of a sub FeatureType.
Refs #596.

Revision 38210
Added by Cesar Ordiñana about 12 years ago

Change drawing cache and drawing version management so all changes affect the mapcontext version. Also the GraphicLayer is included into the MapContextDrawer so it is included in the drawing cache management logic.
Fixes #596.

Revision 38221
Added by Cesar Ordiñana about 12 years ago

Capture more exceptions related to the concurrent modification of a store.
Refs #596.

Revision 38222
Added by Cesar Ordiñana about 12 years ago

Capture more exceptions related to the concurrent modification of a store.
Refs #596.

History

#1 Updated by Cesar Ordiñana about 12 years ago

  • Status changed from In progress to Fixed
  • % Done changed from 0 to 100

Applied in changeset r38210.

#2 Updated by María Maluenda almost 12 years ago

  • Status changed from Fixed to Awaiting response
  • Target version changed from 2.0.0-alpha5 to 2.0.0-devel-2050

#3 Updated by Joaquín del Cerro Murciano almost 12 years ago

  • Status changed from Awaiting response to Fixed
  • Target version changed from 2.0.0-devel-2050 to 2.0.0-alpha6

#4 Updated by Joaquín del Cerro Murciano almost 12 years ago

  • Target version changed from 2.0.0-alpha6 to 2.0.0-alpha5

#5 Updated by María Maluenda almost 12 years ago

  • Target version deleted (2.0.0-alpha5)

Need instructions in order to check the bugfix

#6 Updated by Joaquín del Cerro Murciano almost 12 years ago

  • Target version set to 2.0.0-alpha5

#7 Updated by María Maluenda almost 12 years ago

Comentario de prueba 1

#8 Updated by María Maluenda almost 12 years ago

  • Status changed from Fixed to Awaiting response

Comentario de prueba 2

#9 Updated by Joaquín del Cerro Murciano almost 12 years ago

  • Status changed from Awaiting response to Fixed

#10 Updated by María Maluenda almost 12 years ago

  • Status changed from Fixed to Awaiting response

#11 Updated by Joaquín del Cerro Murciano almost 12 years ago

  • Status changed from Awaiting response to Fixed

#12 Updated by María Maluenda almost 12 years ago

  • Status changed from Fixed to Awaiting response

#13 Updated by María Maluenda almost 12 years ago

Need instructions in order to check the bugfix

#14 Updated by Joaquín del Cerro Murciano almost 12 years ago

  • Status changed from Awaiting response to Under review

#15 Updated by Cesar Ordiñana almost 12 years ago

Sorry, currently there is not any gvSIG funcionality at user level for you to be able to validate the correction.

#16 Updated by Joaquín del Cerro Murciano over 11 years ago

  • Status changed from Under review to Closed

Also available in: Atom PDF