FtServer
in package
Code du serveur d'objets géographiques
Table of Contents
Properties
- $collections : array<string, array<string, string|array<string, string>>>
- définition des collections de ce serveur à partir de celles du serveur WFS du Shom
- $sdmax : array<string, float>
- liste des ids de couche avec dénom. d'échelle max associé
Methods
- collection() : never
- collections() : never
- get() : void
- lit dans ShomWfs les Features correspondant à la collection $colName clé dans self::$collections et les copie dans le fichier $colName.json, si erreur envoi Exception
- home() : never
- items() : never
- readFeatureTypes() : void
- run() : void
Properties
$collections
définition des collections de ce serveur à partir de celles du serveur WFS du Shom
public
static array<string, array<string, string|array<string, string>>>
$collections
= ['gt' => ['title' => "Silhouettes des GéoTiffs hors AEM", 'url' => '', 'shomIds' => ['gt800' => 'CARTES_MARINES_GRILLE:grille_geotiff_800', 'gt300-800' => 'CARTES_MARINES_GRILLE:grille_geotiff_300_800', 'gt30-300' => 'CARTES_MARINES_GRILLE:grille_geotiff_30_300', 'gt30' => 'CARTES_MARINES_GRILLE:grille_geotiff_30']], 'aem' => ['title' => "Silhouettes des cartes AEM", 'url' => '', 'shomIds' => ['gtaem' => 'GRILLE_CARTES_SPECIALES_AEM_WFS:emprises_aem_3857_table']], 'delmar' => ['title' => "Délimitations maritimes", 'url' => '', 'shomIds' => ['baseline' => 'DELMAR_BDD_WFS:au_baseline', 'agreedmaritimeboundary' => 'DELMAR_BDD_WFS:au_maritimeboundary_agreedmaritimeboundary', 'contiguouszone' => 'DELMAR_BDD_WFS:au_maritimeboundary_contiguouszone', 'continentalshelf' => 'DELMAR_BDD_WFS:au_maritimeboundary_continentalshelf', 'economicexclusivezone' => 'DELMAR_BDD_WFS:au_maritimeboundary_economicexclusivezone', 'nonagreedmaritimeboundary' => 'DELMAR_BDD_WFS:au_maritimeboundary_nonagreedmaritimeboundary', 'territorialsea' => 'DELMAR_BDD_WFS:au_maritimeboundary_territorialsea']]]
$sdmax
liste des ids de couche avec dénom. d'échelle max associé
public
static array<string, float>
$sdmax
= [
'gt10M' => 14000000.0,
// échelle comprise entre 1/14.000.000 et 1/6.000.000
'gt4M' => 6000000.0,
// échelle comprise entre 1/6.000.000 et 1/3.000.000
'gt2M' => 3000000.0,
// échelle comprise entre 1/3.000.000 et 1/1.400.000
'gt1M' => 1400000.0,
// échelle comprise entre 1/1.400.000 et 1/700.000
'gt500k' => 700000.0,
// échelle comprise entre 1/700.000 et 1/380.000
'gt250k' => 380000.0,
// échelle comprise entre 1/380.000 et 1/180.000
'gt100k' => 180000.0,
// échelle comprise entre 1/180.000 et 1/90.000
'gt50k' => 90000.0,
// échelle comprise entre 1/90.000 et 1/45.000
'gt25k' => 45000.0,
// échelle comprise entre 1/45.000 et 1/22.000
'gt12k' => 22000.0,
// échelle comprise entre 1/22.000 et 1/11.000
'gt5k' => 11000.0,
]
Methods
collection()
public
collection(string $colName) : never
Parameters
- $colName : string
Return values
nevercollections()
public
collections() : never
Return values
neverget()
lit dans ShomWfs les Features correspondant à la collection $colName clé dans self::$collections et les copie dans le fichier $colName.json, si erreur envoi Exception
public
get(string $colName) : void
Parameters
- $colName : string
home()
public
home() : never
Return values
neveritems()
public
items(string $colName) : never
Parameters
- $colName : string
Return values
neverreadFeatureTypes()
public
static readFeatureTypes() : void
run()
public
run(string|null $path_info) : void
Parameters
- $path_info : string|null