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-12-15 18:03:19 UTC


README

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();