Writing KML using a python Genshi template
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.
| What | Meeting SLUG |
|---|---|
| When |
2008-05-12 19:00
2008-05-12 21:00
2008-05-12 from 19:00 to 21:00 |
| Where | UNH Morse Hall Conference Room 301 |
| Contact Email | rea@sr.unh.edu |
| Add event to calendar |
|
We will go over the three common ways to output XML from Python:
- Direct printing of the output text
- Using an XML library like ElementTree
- 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.