GdalInfo
    
            
            in package
            
        
    
    
    
Read onlyYes
extrait des infos d'un fichier JSON généré par gdalinfo
La méthode __construct() lit le fichier JSON, en extrait les infos intéressantes et les stocke dans l'objet ainsi créé Les autres méthodes extraient des infos de l'objet.
Table of Contents
Constants
- ErrorFileNotFound = 'GdalInfo::ErrorFileNotFound'
- ErrorNoMatch = 'GdalInfo::ErrorNoMatch'
Properties
Methods
- __construct() : mixed
- asArray() : array<string, mixed>
- ebox() : EBox|null
- filepath() : string
- retourne le chemin du fichier info.json correspondant à un gtname, temp indique si la carte est dans temp ou dans maps
- size() : array{width: int, height: int}
Constants
ErrorFileNotFound
    public
        mixed
    ErrorFileNotFound
    = 'GdalInfo::ErrorFileNotFound'
    
    
    
ErrorNoMatch
    public
        mixed
    ErrorNoMatch
    = 'GdalInfo::ErrorNoMatch'
    
    
    
Properties
$ebox
    public
        EBox|null
    $ebox
    
    
    
    
$gbox
    public
        GBox|null
    $gbox
    
    
    
    
$size
    public
        array<string, int>
    $size
    
    
    
    
Methods
__construct()
    public
                    __construct(string $filename) : mixed
    Parameters
- $filename : string
asArray()
    public
                    asArray() : array<string, mixed>
    Return values
array<string, mixed>ebox()
    public
                    ebox() : EBox|null
    Return values
EBox|nullfilepath()
retourne le chemin du fichier info.json correspondant à un gtname, temp indique si la carte est dans temp ou dans maps
    public
            static        filepath(string $gtname, bool $temp) : string
    Parameters
- $gtname : string
- $temp : bool
- 
                    vrai si dans temp, false sinon 
Return values
stringsize()
    public
                    size() : array{width: int, height: int}