DGM-KML Convertor
This is the DGM-KML convertor that converts AWIPS graphic output file with DGM into
KML, then it can be display in Google Earth and other platforms. It's generic convertor
which can be used in any project using AWIPS dgm output.
Current implementation is the basic, more important or advanced features
will comming soon.
Author: Xiangbao Jing
NOAA/GSD,
Xiangbao.Jing@noaa.gov
303-497-6112
http://www-sdd.fsl.noaa.gov/~jing/

Main Class :DGMConvertor
This class decodes and converts a AWIPS DGM graphics file to a KML2.1 format file
which can be displayed in the Google Earth.
Implementation:
The JAXB2.1 is as the development key tool for this converter, which compiles the
KML2.1(XML) schema to generate KML2.1 JAVA classes package(one time compiling) to
create XML data tree of KML in memory by filling data in during converting. Final
KML output file is created with JAXB Marshaller class.
I used the JAXB2.1 extension in the Eclipse. For passing the JAXB compiling, I
modified the offical KML2.1 Schema into XML schema and KML2.1 name spaces,otherwise
the schema will not work.
Some classes in the fsl.util of the FXC are used for decoding and doing projection.
Google Earth Display
googl
 
 Notes
 Developping Environment And Resources
   --Java 1.5
   --Jaxb 2.1, XJC eclipse plugin 1.1:
     XJC plugin for Eclipse 3.1.0+ based on JAXB 2.1 Final Release
        https://jaxb-workshop.dev.java.net/servlets/ProjectDocumentList?folderID=4962&expandFolder=4962&folderID=0
     Instruction
        https://jaxb-workshop.dev.java.net/plugins/eclipse/xjc-plugin.html
   --Eclipse 3.2
   --KML2.1
     http://code.google.com/apis/kml/documentation/index.html
   --Google Earth
   --FXC, localization and projactions
 Tree Structure  
 --data/
   DGM imput and kml output data.
 --gov.noaa.dgmconvertor/
   The DGM to KML converting code with FXC projection and localization.
 --gov.noaa.kml21/
   The KML 2.1 java classes generated from the jabx.
 --schema/
   The KML XML schemas.