Skip to content

Instantly share code, notes, and snippets.

View betich's full-sized avatar
🎧
chilling

thee betich

🎧
chilling
View GitHub Profile
@betich
betich / ExportToKML.gs
Last active November 26, 2025 09:47
Hatyai Flood Rescue (POC) Apps Script
/**
* Generate a KML file (rescue_export.kml) from the sheet data.
* Add this inside Google Apps Script.
*/
function generateKML() {
const sheet = SpreadsheetApp.getActive().getSheetByName("Form Responses 1");
const data = sheet.getDataRange().getValues();
let kml = [];