Changes between Version 19 and Version 20 of NERCPortals


Ignore:
Timestamp:
18/03/08 16:41:19 (11 years ago)
Author:
mkochan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NERCPortals

    v19 v20  
    1717 
    1818=== Installation === 
     19 
     20''Both'' eggs require the {{{pylab}}} and {{{cElementTree}}} modules. 
    1921 
    2022=== Usage of the {{{csml2kml}}} scripts === 
     
    5557where {{{filename.conf.xml}}} stands for an XML config file. 
    5658 
    57 This script interrogates a WFS to get a list of (meteorological) stations, recorded using an element ''<np:Station>'' defined for the purposes of this project. It generates a KMZ file that contains a number of ''<kml:Placemark>'' elements, each standing for a single station. Each station has has a balloon filled according to a defined template, which refers to a URL of the running {{{csml2kmlpylon}}} Pylon. Thus dynamic content about each station can be presented. 
     59This script interrogates a WFS to get a list of (meteorological) stations, recorded using an element ''<np:Station>'' defined for the purposes of this project. It generates a KMZ file that contains a number of ''<kml:Placemark>'' elements, each standing for a single station. Each station has has a balloon filled according to a defined template, which refers to a URL of the running {{{csml2kmlpylon}}} pylon. Thus dynamic content about each station can be presented. 
    5860 
    5961An example config file looks as follows: 
     
    8284=== Deployment of the {{{csml2kmlpylon}}} server === 
    8385 
     86After being installed, the server can be run by the command: 
     87{{{ 
     88paste serve $PATH_TO_CSML2KMLPYLON/development.ini 
     89}}} 
     90 
    8491== Code notes == 
    8592 
    8693=== Code notes towards {{{csml2kml}}}  === 
    8794 
    88 The egg's {{{csml2kml} directory contains all Python modules, and the following 4 sub-directories: 
     95The egg's {{{csml2kml}}} directory contains all Python modules, and the following 4 sub-directories: 
    8996 - {{{scripts}}} - contains Python stand-alone scripts, runnable from command line, which both use a config file as a means of input 
    9097 - {{{tests}}} - contains tests, which simply print output (rather than fail/pass messages), and are runnable as {{{python test_filename.py}}}, but please look at the contents first to see what the test does