You are here: Home Members rea SLUG Meetings Writing KML using a python Genshi template

Writing KML using a python Genshi template

by Robert Anderson last modified Nov 17, 2008 10:02 AM
A Genshi templating example that outputs GoogleEarth KML from python data, which in this case is coming from active APRS transmissions of GPS postion data.
When May 12, 2008
from 07:00 PM to 09:00 PM
Where UNH Morse Hall Conference Room 301
Contact Name
Add event to calendar vCal
iCal

We will go over the three common ways to output XML from Python:

  1. Direct printing of the output text
  2. Using an XML library like ElementTree
  3. Using a templating system like Genshi

Some pros and cons of each will be explored.

The main focus will be on the Genshi based Python script used to create KML from the APRS system.

Document Actions
Filed under: