Skip to content

Makefile workflow: takes in KML files with flat monochrome GroundOverlay images, extracts clean vector polygons from them

License

Notifications You must be signed in to change notification settings

thadk/polygonize-kml-groundoverlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polygonize-kml-groundoverlay

Makefile workflow: takes in a folder of KML files with flat GroundOverlay images, extracts clean vector polygons from them

Useful for output from radio reach tools like RadioMobile, Nautel, SPLAT or CloudRF which generate this kind of KML.

Input (screenshot of layer from Google Earth) image

output (GeoJSON polgons)

image

Prerequisites

  • Docker
  • Mapshaper (npm install -g mapshaper)

Instructions

Use make to generate the summary geojson file from all kml files in the data\kml\ folder. Add mapshaper rules to merge in other data.

Credits

  • Makes use of geodata/grass and kartoza/qgis-desktop Docker images for GRASS and GDAL libraries.
  • Also makes use of WorldFileTool.jar, more details.
  • Thanks to Farm Radio International support to explore the toolchain.

GRASS is needed to clean the polygons so they can be union'd or intersected.

About

Makefile workflow: takes in KML files with flat monochrome GroundOverlay images, extracts clean vector polygons from them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published