liblerc
« Back to VersTracker
Description:
Ersi LERC library (Limited Error Raster Compression)
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @Esri  |  formulae.brew.sh
Category: Developer tools
Tags: compression geospatial raster gis library
Install: brew install liblerc
About:
Liblerc is the official C++ library from Esri implementing the LERC (Limited Error Raster Compression) algorithm. It provides lossy and lossless compression for raster data, specifically designed for floating-point and 16-bit integer grids. Its main value proposition is achieving very high compression ratios with fast encoding/decoding speeds while allowing strict, user-defined error bounds.
Key Features:
  • Extremely fast compression and decompression speeds
  • Configurable error bounds for lossy compression
  • Support for various data types including Byte, Short, and Float
  • Simple C++ API and minimal dependencies
Use Cases:
  • Compressing large elevation and DEM datasets for storage and transfer
  • Streaming raster data in web and mobile GIS applications
  • Reducing storage costs for cloud-based geospatial data archives
Alternatives:
  • GDAL – GDAL is a comprehensive translator library that supports LERC and many other formats, whereas Liblerc is the focused, lightweight core implementation of the algorithm itself.
Version History
Detected Version Rev Change Commit
Sep 10, 2025 8:13am 0 VERSION_BUMP bb8bf216