codeforamerica/survey-api — pull request #9 by hampelm (2012-07-10 03:08:44+00:00)
Title: Working simple KML export

Generalizes the exportSurveyAs function a more to allow for arbitrary exports. Export type is now specified by passing in a Writer function like KMLWriter or CSVWriter. Adds a simple KMLWriter that uses the centroid stored with each parcel to mark the point on the map; stores the data in KML using the ExtendedData spec.

In the future, we should store the polygon and use that in the KML export.