org.eclipse.ohf.stem.ui.ge.kml
Interface IKmlDisplay

All Known Implementing Classes:
KmlDisplay, KmlDisplayCustom

public interface IKmlDisplay

IKMLDisplay defines the interface for classes that implement the generation of KML files that will display the STEM disease aspect on the GoogleEarth map. Implementations of IKmlDisplay have a single method "generatePolygons" which is passed all of the information needed to write the desired KML.


Method Summary
 void generatePolygons(java.lang.String controlFileName, java.util.Map<java.lang.String,GEData> geData, Aspect aspect)
          Create the KML control file to display all of the polygon (county) areas
 

Method Detail

generatePolygons

void generatePolygons(java.lang.String controlFileName,
                      java.util.Map<java.lang.String,GEData> geData,
                      Aspect aspect)
Create the KML control file to display all of the polygon (county) areas
 Information passed:
 
 controlFilename:  The filename where the resulting KML is to be written.
    
 geData:  A HashMap containing an entry for each geographical
          area being mapped by this simulation. It contains the 
          geographical borders (latlong) and values for 
          each Aspect. 
          
 aspect:  The Aspect that the user wants displayed. 
 
 
 

Parameters:
controlFileName - File where KML will be written
geData - Map of GEData objects
aspect - which type of map (population,susceptiple...