This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import pyproj | |
import simplekml | |
''' | |
Generates a KML file with equally spaced points at vertices of a triangular grid. The epsg argument is the code for the UTM | |
projection which converts lat/lon to meters. The epsg default value, EPSG:32655 is for Guam (zone 55n). | |
Example: This command line places points equally spaced at 10 m on the lawn in front of the Canadian Parliament Building: | |
$ python -c 'from triangular_grid import *; \ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.