Module xylabel2kml
[hide private]
[frames] | no frames]

Module xylabel2kml

source code

Convert xy label ascii files to kml lines


Author: Kurt Schwehr FIX: replace with your name/url

Version: 2453

Copyright: 2006

Since: 2006-Sep-26 FIX: replace with the file creation date

Status: under development

Organization: CCOM

License: CCOM internal use only, unless explicitly authorized

See Also:
Google's kml page, Google's kml 2.1 page

Date: 2006-10-27

Functions [hide private]
 
placemarkLineString(outFile, name, color, points, id=None, indent='\t\t\t')
Write out a time line placemark
source code
 
kmlHeader(outfile)
param outfile: file like object
source code
 
kmlTail(outfile) source code
Function Details [hide private]

placemarkLineString(outFile, name, color, points, id=None, indent='\t\t\t')

source code 
Write out a time line placemark
Parameters:
  • outFile - file or StringIO object to write to
  • name - string to call the placemark
  • color - What color to make the line (e.g. ff00ff00)
  • id - some id string??? XML ID. Need for updates (not yet handled?
  • points - list of triplets of ( decimalLon, decimalLat, timeSecUtc)