RasterLayer
extends BaseQgisObject
in package
QGIS Raster layer.
Table of Contents
Properties
- $abstract : null|string
- $datasource : string
- $embedded : bool
- $id : string
- $keywordList : null|array<string|int, string>
- $layername : string
- $pipe : RasterLayerPipe
- $provider : string
- $shortname : null|string
- $srs : SpatialRefSys
- $styleManager : MapLayerStyleManager
- $styleManager : MapLayerStyleManager
- $title : null|string
- $type : string
- $defaultValues : array<string|int, mixed>
- $mandatoryProperties : array<string|int, string>
- $properties : array<string|int, string>
- $data : array<string|int, mixed>
Methods
- __construct() : mixed
- Base QGIS object constructor.
- __get() : mixed
- __isset() : bool
- __set() : void
- __unset() : void
- getData() : array<string|int, mixed>
- getLayerOpacity() : float
- Get layer opacity.
- jsonSerialize() : mixed
- toKeyArray() : array<string|int, mixed>
- Get map layer as key array.
- arrayToData() : array<string|int, mixed>
- set() : void
Properties
$abstract
public
null|string
$abstract
$datasource
public
string
$datasource
$embedded
public
bool
$embedded
$id
public
string
$id
$keywordList
public
null|array<string|int, string>
$keywordList
$layername
public
string
$layername
$pipe
public
RasterLayerPipe
$pipe
$provider
public
string
$provider
$shortname
public
null|string
$shortname
$srs
public
SpatialRefSys
$srs
$styleManager
public
MapLayerStyleManager
$styleManager
$styleManager
public
MapLayerStyleManager
$styleManager
$title
public
null|string
$title
$type
public
string
$type
$defaultValues
protected
array<string|int, mixed>
$defaultValues
= array()
The default values for properties
$mandatoryProperties
protected
array<string|int, string>
$mandatoryProperties
= array('id', 'embedded', 'type', 'layername', 'srs', 'datasource', 'provider', 'styleManager', 'pipe')
The not null properties
$properties
protected
array<string|int, string>
$properties
= array('id', 'embedded', 'type', 'layername', 'srs', 'datasource', 'provider', 'styleManager', 'shortname', 'title', 'abstract', 'keywordList', 'pipe')
The instance properties
$data
private
array<string|int, mixed>
$data
= array()
The instance data for properties
Methods
__construct()
Base QGIS object constructor.
public
__construct(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
-
the instance data
__get()
public
__get(mixed $property) : mixed
Parameters
- $property : mixed
__isset()
public
__isset(mixed $property) : bool
Parameters
- $property : mixed
Return values
bool__set()
public
final __set(string $key, mixed $val) : void
Parameters
- $key : string
- $val : mixed
__unset()
public
final __unset(string $key) : void
Parameters
- $key : string
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>getLayerOpacity()
Get layer opacity.
public
getLayerOpacity() : float
Return values
floatjsonSerialize()
public
jsonSerialize() : mixed
toKeyArray()
Get map layer as key array.
public
toKeyArray() : array<string|int, mixed>
Return values
array<string|int, mixed>arrayToData()
protected
arrayToData(mixed $vArray) : array<string|int, mixed>
Parameters
- $vArray : mixed
Return values
array<string|int, mixed>set()
protected
set(array<string|int, mixed> $data) : void
Parameters
- $data : array<string|int, mixed>