Documentation for convert_geojson_to_csv
Path: utils/convert_geojson_to_csv.py
Module Description
Convert GeoJSON files in output/point_sites_qf487 to CSV format. Extracts aerscape_id from filename and geometry as WKT from GeoJSON content.
Functions
extract_aerscape_id
Extract aerscape_id from filename pattern: point_sites_qf487_<uuid>_esri.geojson
geojson_to_wkt
Convert GeoJSON geometry to WKT string
convert_geojson_files_to_csv
Convert all GeoJSON files in the directory to a single CSV file