A simple GeoJSON serializer
Use it as an explanation of how to convert a .csv file of long/lat cooridnates to a GeoJSON Feature Collection
go mod init geojson
go build
./geojson
When used from the command line, it attempts to read the input file, write out a file points.geojson
- It is not designed to validate input. The program assumes that the input is valid .csv Behavior for invalid coordinbates are undefined and could panic.