Opened 11 years ago

Closed 11 years ago

#540 closed defect (fixed)

Slow performance when rendering layers with null geometries

Reported by: ronnielouie Owned by:
Priority: medium Milestone: 2.1
Component: General Version: 2.0.0
Severity: major Keywords:
Cc: External ID: 815422


When stylizing geometries, null check was purposely ommited because it was believed to incur additional overhead to check for null before retrieving the geometry. Geometry value generally should not be null, but there is no guarantee of this. If a null does occur, it is handled by catching the exception and ignoring it which actually slows down the reading of the data.

Change History (1)

comment:1 Changed 11 years ago by ronnielouie

Resolution: fixed
Status: newclosed

Adding null check provides significant performance improvement, without much impact for the normal case when there are not any nulls.

Note: See TracTickets for help on using tickets.