Changes between Version 3 and Version 4 of NERCPortals


Ignore:
Timestamp:
08/02/08 10:56:34 (12 years ago)
Author:
mkochan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NERCPortals

    v3 v4  
    55See 
    66 - CedaDevEnvironment being created on {{{bond}}}. 
     7 
     8= Conversion from CSML to KML ({{{csml2kml}}}) = 
     9 
     10SVN repository currently contains 2 directories which are supposed to serve as root directories of future Python eggs, usable for easy re-distribution across BADC machines. 
     11These are:  
     12 - Located at {{{kml/csml2kml/python/csml2kml}}} - contains convertors from CSML to KML (although CSML is required to be accompanied by context/configuration files or additional GML documents providing context for the conversion)  
     13 - Located at {{{kml/csml2kml/python/pylonsstack}}} - contains code for generating dynamic web content, implemented using the Pylons web framework. This has to be used whenever some code has to be run at view time (from user.s perspective). This is because Google Earth does not allow running of any code on the client side and therefore this must be provided via dynamic web content, served on BADC side 
     14In addition to these, there are two directories: 
     15 - {{{kml/csml2kml/testdata}}} contains all testing data (inputs) 
     16 - {{{kml/csml2kml/outputs}}} contains all outputs from tests 
     17 
     18== KMLDocument == 
     19 
     20Encapsulation of a KML document is achieved via the module {{{KMLDocument.py}}}. The whole KML document 
     21can be contained in an {{{KMLDocument.KMLDocument}}} object; this object in turn contains objects derived 
     22from class {{{KMLDocument.KMLElement}}}. Once a {{{KMLDocument}}} object has been generated, 
     23it can be saved into a file using the method {{{KMLDocument.save()}}} -- actual KML is generated only 
     24during saving.