Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WiGLE Cellular .csv to .kml converter
Description: This Python script converts CSV files to KML (Keyhole Markup Language) files, which are commonly used for geographic visualization, particularly with mapping applications like Google Maps. It extracts specific columns from the CSV file (trilat, trilong, and id) and creates Placemarks in the KML file based on this information. The resulting KML file can be imported into mapping software for visualization and analysis. Libraries used: - `os`: Provides functions for interacting with the operating system, used here to list files in a directory. - `csv`: Allows reading and writing CSV files, utilized to parse the input CSV file. How to use: 1. Specify the directory containing your CSV files in the `input_directory` variable. 2. Run the script, which will iterate through all CSV files in the specified directory. 3. For each CSV file, it will create a corresponding KML file with Placemarks based on the specified columns. Note: - Make sure to adjust the `input_directory` variable to point to the correct directory containing your CSV files before running the script.
- Loading branch information