phpDocumentor

WmsvShomGt extends WmsServer
in package

classe implémentant le serveur WMS-Vecteur de ShomGt.

La classe WmsvShomGt hérite de la classe WmsServer qui gère le protocole WMS. Le script appelle WmsServer::process() qui appelle les méthodes WmsvShomGt::getCapabilities() ou WmsvShomGt::getMap()

Table of Contents

Properties

$debug  : int
$logfilename  : string

Methods

exception()  : never
Envoi d'une exception WMS
getCapabilities()  : never
méthode GetCapabilities du serveur Shomgt
getFeatureInfo()  : never
La classe concrète peut fournir une méthode getFeatureInfo()
getMap()  : never
méthode GetMap du serveur WMS Shomgt
init()  : void
possibilité de modifier le nom du fichier de log
log()  : void
écrit un message dans le fichier des logs
process()  : never
traite une requête WMS
toGeo()  : TPos
wombox()  : EBox
calcul EBox en WorldMercator en fonction de crs

Properties

$logfilename

public static string $logfilename = __DIR__ . '/wmsserver_logfile.txt'

Methods

exception()

Envoi d'une exception WMS

public static exception(int $httpErrorCode, string $mesUti[, string $wmsErrorCode = '' ][, string $mesSys = '' ]) : never
Parameters
$httpErrorCode : int

code d'erreur HTTP

$mesUti : string

message destiné à l'utilisateur

$wmsErrorCode : string = ''
$mesSys : string = ''
Return values
never

getCapabilities()

méthode GetCapabilities du serveur Shomgt

public getCapabilities([string $version = '' ]) : never
Parameters
$version : string = ''
Return values
never

getFeatureInfo()

La classe concrète peut fournir une méthode getFeatureInfo()

public getFeatureInfo(array<int, string> $lyrnames, string $crs, TPos $pos, int $featureCount, array<int, float> $pixelSize, string $format) : never
Parameters
$lyrnames : array<int, string>
$crs : string
$pos : TPos
$featureCount : int
$pixelSize : array<int, float>
$format : string
Return values
never

getMap()

méthode GetMap du serveur WMS Shomgt

public getMap(string $version, array<int, string> $lyrnames, array<int, string> $styles, array<int, string> $bbox, string $crs, int $width, int $height, string $format, string $transparent, string $bgcolor) : never
Parameters
$version : string
$lyrnames : array<int, string>
$styles : array<int, string>
$bbox : array<int, string>
$crs : string
$width : int
$height : int
$format : string
$transparent : string
$bgcolor : string
Return values
never

init()

possibilité de modifier le nom du fichier de log

public static init(array<string, string> $params) : void
Parameters
$params : array<string, string>

log()

écrit un message dans le fichier des logs

public static log(string $message) : void
Parameters
$message : string

process()

traite une requête WMS

public process(array<string, string> $params) : never
Parameters
$params : array<string, string>

copie de _GET

Return values
never

toGeo()

private toGeo(string $crs, TPos $geo) : TPos
Parameters
$crs : string
$geo : TPos
Return values
TPos

wombox()

calcul EBox en WorldMercator en fonction de crs

private wombox(string $crs, array<int, string> $bbox) : EBox
Parameters
$crs : string
$bbox : array<int, string>
Return values
EBox

        
On this page

Search results