[Mapguide-trac] [mapguide-trac] #2072: mg-desktop: Legend should cache layer icons and scale ranges

MapGuide Open Source trac_mapguide at osgeo.org
Tue Jul 10 20:55:16 PDT 2012


#2072: mg-desktop: Legend should cache layer icons and scale ranges
---------------------------+------------------------------------------------
   Reporter:  jng          |       Owner:  jng
       Type:  task         |      Status:  new
   Priority:  low          |   Milestone:     
  Component:  Desktop API  |     Version:     
   Severity:  trivial      |    Keywords:     
External_id:               |  
---------------------------+------------------------------------------------
 True to the theme of "premature optimization is evil", the legend
 component currently re-reads all associated Layer Definitions on disk to
 re-read all the matching icons and scale ranges every time it is
 refreshed.

 This is obviously an excessive amount of unnecessary I/O (as each
 GetResource call hits the disk for the content) and such information
 should be cached locally.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2072>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list