libkml
« Back to VersTracker
Description:
Library to parse, generate and operate on KML
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: kml geospatial gis c++ parsing
Install: brew install libkml
About:
Libkml is a C++ library that provides a robust implementation for parsing, generating, and manipulating KML (Keyhole Markup Language) documents. It enables developers to seamlessly integrate geospatial data handling into applications, adhering to OGC standards. The library offers a full-featured API for managing features, geometries, and styles within KML files.
Key Features:
  • Full KML 2.2 specification support
  • C++ API for reading, writing, and editing
  • Includes the 'kmlbase', 'kmlengine', and 'kmlconvenience' modules
  • Google Earth compatible output
Use Cases:
  • Building GIS applications that process map data
  • Converting between KML and other geospatial formats
  • Programmatically generating map overlays for web applications
Alternatives:
  • GDAL – GDAL is a heavier, broader geospatial data library, whereas Libkml is specialized specifically for KML file structure.
Version History
Detected Version Rev Change Commit
Sep 10, 2025 10:50pm 1 VERSION_BUMP 4d5e9739