GDAL - Geospatial Data Abstraction Library
GDAL/OGR is a translator library for raster and vector geospatial data
formats that is released under an Open Source license. As a library, it
presents a single abstract data model to the calling application for all
supported formats.
Current translators provide read (and sometimes write) access to a variety
of formats including ESRI Shapefiles, S-57, SDTS, PostGIS, Oracle Spatial,
Mapinfo mid/mif and TAB, GeoTIFF, Erdas Imagine, ESRI .BIL, .aux labelled
raw, DTED, SDTS DEM, JPEG, PNG and Arc/Info Binary/ASCII Grid.
A full list of supported data formats is available on the official website.
===> The following configuration options are available for gdal-3.13.3_1:
AEC=on: Adaptive entropy coding library
ARMADILLO=off: TPS transform computation via Armadillo
BLOSC=off: Blosc support in Zarr driver
BRUNSLI=off: Brunsli support via libbrunsli library
CFITSIO=off: FITS support via CFITSIO
CRYPTOPP=off: Cryptopp support
CURL=on: Data transfer support via cURL
DEFLATE=on: Faster deflate support via libdeflate library
ECW=off: ECW image format support
EXPAT=on: XML parser support via Expat
FREEXL=on: Excel file (.xls) support via FreeXL
GEOS=on: GEOS Geometry Engine support
GTA=off: Generic Tagged Array (GTA) support
HDF5=on: HDF-5 data format support
HEIF=off: ISO/IEC 23008-12:2017 HEIF file format support
JXL=off: JPEG XL image format via libjxl
KEA=off: KEA format support
KML=on: Keyhole Markup Language (KML) support
LERC=on: LERC (Limited Error Raster Compression) support
LIBXML2=on: XML parser support via libxml2
LZ4=on: LZ4 compression support
MYSQL=off: MySQL database support
NETCDF=on: NetCDF data format support
ODBC=off: ODBC database backend
OPENDRIVE=off: OpenDRIVE format support
OPENEXR=off: HDR image format support via OpenEXR
OPENJPEG=on: JPEG 2000 support via OpenJPEG
PCRE2=on: Regular expression support for SQLite
PGSQL=on: PostgreSQL database support
QB3=off: QB3 compression in MRF driver
RASTERLITE2=off: RasterLite2 support
SFCGAL=on: 3D operations support via SFCGAL
SPATIALITE=on: SpatiaLite support
SQLITE=on: SQLite database support
TILEDB=off: TileDB support
WEBP=on: WebP image format support
XERCES=on: XML parser support via Xerces
ZSTD=on: Zstandard compression support
====> PDF document support: you can only select none or one of them
PODOFO=off: PDF file support via PoDoFo
POPPLER=on: PDF and PS file support via poppler
===> Use 'make config' to modify these settings
graphics/gdal: disable LTO (IPO) on armv7
The linker runs out of address space when LTO is enabled for this port.
Approved by: portmgr (build fix blanket)
graphics/gdal: revert build accelerator for test build
This wasn't meant to be committed, but escaped. Sorry for that.
Fixes: a89864a3eeba graphics/gdal: fix OPENDRIVE-enabled build
graphics/gdal: fix OPENDRIVE-enabled build
Approved by: portmgr (just-fix-it blanket approval)
-----
Drive-by change to rename the default-off EXR option to OPENEXR,
which is the standard knob for the ports tree for OpenEXR support.
graphics/gdal: fix build on armv7
This port uses NEON through the sse2neon.h header. Unfortunately the
header is written such that there is no difference between __m128 and
__m128d, while real SSE intrinsics have such a difference. This causes
problems with some template functions down the road.
Disable NEON on armv7 to avoid this problem.
Approved by: portmgr (build fix blanket)
MFH: 2025Q3
graphics/gdal: Document CMAKE_CXX_SCAN_FOR_MODULES in
d8feecdf7fdb6514ad4b714e69b2045d8c297d52
C++ 20 introduced the concept of "modules" to the language. The design requires
build systems to order compilations among each other to satisfy import
statements reliably. CMake's implementation asks the compiler to scan source
files for module dependencies during the build, collates scanning results to
infer ordering constraints, and tells the build tool how to dynamically update
the build graph.
cmake-cxxmodules(7) was added in cmake 3.28. It will scan for c++ modules for
c++20 by default.
Since poppler uses c++20, it triggers cmake to scan modules by default and it
requires clang-scan-deps from llvm.
Therefore, we need to turn off CMAKE_CXX_SCAN_FOR_MODULES to fix the build and
avoid adding extra dependency on llvm.
Reference: https://cmake.org/cmake/help/latest/manual/cmake-cxxmodules.7.html
graphics/libjxl: force rebuild consumers after 4c1f4b3f46bc
$ ffmpeg
ld-elf.so.1: Shared object "libjxl.so.0.9" not found, required by
"libavcodec.so.60"
Reported by: vvd
graphics/gdal: Update KML option
gdal links against minizip and uriparser if KML option is enabled.
Do not bump PORTREVISION because the package depends list is unchanged.
graphics/gdal: Simplify 18e5fa858bb60e1c70006acf2e6b966d411dd8de
Use CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX instead of mixed method of Makefile and
CMake
graphics/gdal: Enable DEFLATE and LERC options by default
- Bump PORTREVISION for dependency change
DEFLATE (libdeflate) is already part of the dependencies via tiff.
LERC is recommended by upstream.
graphics/proj: Update to 9.1.0
Release notes:
https://proj.org/news.html#id37
Also remove proj-data dependency.
You can use proj to retrieve data or install graphics/proj-data
manually.