wmtsCtrl
extends jControllerCmdLine
in package
Table of Contents
Properties
- $help : mixed
- Help.
- $allowed_options : mixed
- Options to the command line 'method_name' => array('-option_name' => true/false) true means that a value should be provided for the option on the command line.
- $allowed_parameters : mixed
- Parameters for the command line 'method_name' => array('parameter_name' => true/false) false means that the parameter is optional. All parameters which follow an optional parameter is optional.
Methods
- capabilities() : mixed
- cleaning() : mixed
- seeding() : mixed
Properties
$help
Help.
public
mixed
$help
= array('capabilities' => 'Get seeding capabilities
options:
-v verbose, provide tiles count for each TileMatrix
parameters:
repository the repository id
project the project name
optional prameters:
layer the layer name for which you want to know capabilities
TileMatrixSet the TileMatrixSet for which you want to know capabilites
Use:
php lizmap/scripts/script.php lizmap~wmts:capabilities [-v] repository project [layer] [TileMatrixSet]
', 'seeding' => 'Generate cache for a layer
options:
-v verbose
-f forced the cache generation, overwrite already done cache
-bbox bounding box to restrict generation
-dry-run it does not generate the cache, it only gives statistics
parameters:
repository the repository id
project the project name
layers the layer name list for which you want to generate the cache
TileMatrixSet the TileMatrixSet for which you want to generate the cache. The TileMatrixSet is a CRS
TileMatrixMin the min zoom level to generate
TileMatrixMax the max zoom level to generate
Use:
php lizmap/scripts/script.php lizmap~wmts:seeding [-v] [-f] [-dry-run] [-bbox xmin,ymin,xmax,ymax] repository project layer TileMatrixSet TileMatrixMin TileMatrixMax
', 'cleaning' => 'Cleaning cache
options:
-v verbose
parameters:
repository the repository id
project the project name
optional prameters:
layer the layer name for which you want to clean the cache
Use:
php lizmap/scripts/script.php lizmap~wmts:cleaning [-v] repository project [layer]
')
$allowed_options
Options to the command line 'method_name' => array('-option_name' => true/false) true means that a value should be provided for the option on the command line.
protected
mixed
$allowed_options
= array('capabilities' => array('-v' => \false), 'seeding' => array('-v' => \false, '-f' => \false, '-bbox' => \true, '-dry-run' => \false), 'cleaning' => array('-v' => \false))
$allowed_parameters
Parameters for the command line 'method_name' => array('parameter_name' => true/false) false means that the parameter is optional. All parameters which follow an optional parameter is optional.
protected
mixed
$allowed_parameters
= array('capabilities' => array('repository' => \true, 'project' => \true, 'layer' => \false, 'TileMatrixSet' => \false), 'seeding' => array('repository' => \true, 'project' => \true, 'layers' => \true, 'TileMatrixSet' => \true, 'TileMatrixMin' => \true, 'TileMatrixMax' => \true), 'cleaning' => array('repository' => \true, 'project' => \true, 'layer' => \false))
Methods
capabilities()
public
capabilities() : mixed
cleaning()
public
cleaning() : mixed
seeding()
public
seeding() : mixed