Opened 17 years ago
Closed 17 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 |
Description
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.
Note:
See TracTickets
for help on using tickets.
Adding null check provides significant performance improvement, without much impact for the normal case when there are not any nulls. http://trac.osgeo.org/mapguide/changeset/3142