[QGIS-Developer] Compositions/Layouts - Subsitution map in QGIS 3
Alessandro Pasotti
apasotti at gmail.com
Wed May 16 13:02:02 PDT 2018
In qgis3 you must use string search and replace, that is what the qgis2
implementation was doing.
On Wed, May 16, 2018, 17:30 Adam Borczyk <adam.borczyk at gis-support.pl>
wrote:
> Hi everyone,
>
> In QGIS 2 there was this handy function to load a Python dict with string
> mapping into a QgsComposition object, so each string (not only label, also
> eg. HTML) inside a given .qpt project was substituted accordingly ->
> https://qgis.org/api/2.18/classQgsComposition.html#ac147dd9e3ee689a7fdfdca58743e7be8
>
> I know Composition stuff was moved to QgsLayout in Q 3. In the
> documentation I found only this one:
> https://qgis.org/api/classQgsLayout.html#ad84ff95e98598ed3c29eef973d7b4bff
> but it doesn't seem to support the substitution map. What is the way to
> substitute string in Q 3?
>
> Best regards
>
> * Adam Borczyk*
>
> *---------------------------------GIS Support Sp. z o.o.DobrzaĆskiego 3,
> Lublin 20-262
> <https://maps.google.com/?q=Dobrza%C5%84skiego+3,+Lublin+20-262&entry=gmail&source=g>tel.
> +48 81 451 14 90, NIP: 9462641761*
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180516/a0a2d120/attachment.html>
More information about the QGIS-Developer
mailing list