OptionalattributesOther <maplayer> attributes, such as autoRefreshMode, styleCategories, or simplifyDrawingTol.
OptionalattributeRaster attribute tables stored in files, by band and path.
OptionalblendQPainter composition mode used to draw the layer, as a QGIS blend mode number.
OptionalbrightnessBrightness, contrast, and gamma (<brightnesscontrast>).
OptionalcrsLayer CRS. Assigning it does not transform geographic data.
OptionalcustomPlugin and application properties stored with the layer.
OptionalelevationElevation and profile settings (<elevation>).
OptionalextentLayer extent in its CRS coordinate units.
OptionalflagsLayer flags (<flags>): Identifiable, Removable, Searchable, and Private, as 1 or 0.
OptionalhueSaturation, grayscale, colorize, and inversion (<huesaturation>).
ReadonlyidUnique ID with at least 11 UTF-16 code units, fixed for the layer's life: tree, drawing-order, and other references use it. A layer with another ID is another layer. Shorter IDs are rejected on serialization, including when read from XML.
OptionallabelingPixel value labels (QGIS 4+).
OptionallabelsWhether labels are drawn (QGIS 4+).
OptionallegendLegend settings (<legend>), such as type and showLabelLegend.
OptionallegendText drawn on legend symbols (<legend><text-on-symbol>), vector layers only.
OptionalmapMap tip HTML template.
OptionalmapWhether the map tip is enabled.
OptionalmaxQGIS maxScale denominator. Applied when scaleBasedVisibility is enabled.
OptionalmetadataDescriptive layer metadata.
OptionalminQGIS minScale denominator. Applied when scaleBasedVisibility is enabled.
Layer name, also written to its tree references.
OptionalnoUser no-data values per band.
OptionalnotesUser notes (<userNotes value>), often HTML.
OptionalopacityLayer opacity: 0 is transparent and 1 is opaque in QGIS.
OptionalpipeData-defined properties of the raster pipe.
QGIS provider identifier, such as ogr, gdal, memory, or wms.
OptionalproviderProvider character encoding.
OptionalproviderProvider resampling settings (<provider><resampling>).
OptionalrendererRenderer and its type-specific settings.
Optionalrenderer3d3D renderer type and settings; nested 3D symbols stay in extension data.
OptionalresamplerResampling filter settings (<rasterresampler>), such as zoomedInResampler.
OptionalresamplingPipe stage that resamples: resamplingFilter or provider.
OptionalscaleWhether scale-based visibility limits are enabled.
OptionalserverPublishing settings used by QGIS Server and legends.
Provider connection string or URI. Source availability is not checked and paths are not rewritten.
OptionalstylesNamed style variants holding this layer type's settings.
OptionaltemporalTime settings (<temporal>).
OptionaltimestampData timestamp (<timestamp>) in ISO 8601, written by some providers.
Discriminant for a raster layer.
OptionalunmodeledXML of this <maplayer> that the model does not cover; see QgsUnmodeled.
Optionalwgs84Layer extent in WGS 84, as stored by QGIS.
Raster layer and band display settings.