expecting geometry inputs, then use that feature's geometry
instead of throwing an error
eg
buffer(@atlas_feature,100)
or
buffer(get_feature('my_layer','id=54'))
This commit makes composer automatically georeference outputs
(where output format makes this possible, eg TIF and PDF).
The existing option to create a world file has been separated
from the map selection for georeferencing. The new behaviour
is to always georeference outputs, and only create the
separate world file if that option is checked.
Replace broken/missing $currfield with new @current_field
expression variable. Update other default actions to use
expression variables instead of deprecated special columns.
Before this commit, if the user opened Settings / Options / GDAL / Edit Pyramid options and
validated it, it added pyramid options as creation options of the GTiff driver, which
caused later confusion since they wrongly appeared in Creation Options / profile
combo box, when saving as raster layer.
- The method QgsGdalProvider::validatePyramidsCreationOptions() was a wrong name
and should have been an override of the base validatePyramidsConfigOptions(). This
issue existed since it was introduced in 2fb78db2, so this method couldn't be
called
- Fix in it the list of formats that accept internal overviews. And other clean-up
- In QgsRasterFormatSaveOptionsWidget(), when called from the Save as dialog,
add logic to avoid that selecting the "JPEG compression" profile for overviews
results in PHOTOMETRIC_OVERVIEW=YCBCR to be added in the option string for non-RGB
datasets (will now fail the validation, and previously would have caused overview
generation to fail)
Currently when you build raster pyramids from the Pyramids tab in raster layer
properties, the default method proposed is the first one in the combobox, i.e. nearest
neighbour. This is generally a poor choice for quality.
This changeset uses the settings gdal/driverOptions/_pyramids/resampling already
used by the Options dialog to select the resampling method (and AVERAGE if not yet
defined), and it saves the user choice when generating them.