geodeticca/spatial

Simple package for working with GDAL library.

dev-master 2024-02-15 15:49 UTC

This package is auto-updated.

Last update: 2024-06-15 16:56:26 UTC


README

Simple wrapper for handling GDAL

This package provides simple way to interact with GDAL library.

Instalation

Run following composer command.

composer require geodeticca/spatial

Example

$warp = new Warp($inputPath, $outputPath);
$warp
    ->addParam('-overwrite')
    ->addParam('-of GTiff')
    ->addParam('-s_srs EPSG:3857')
    ->addParam('-t_srs EPSG:4326');
$warp->execute();