Hi,
In startup.py, add the following to register your custom Custom preset
format page for print layouts.
from qgis.core import QgsApplication, QgsPageSize, QgsLayoutSize,
QgsUnitTypes
pageSizeRegistry = QgsApplication.pageSizeRegistry()
# For demo purpose in PyQGIS, so commented
# print(len(p
Hi Thomas,
Thanks a bunch for your answer and your code. It works like a charm!
However, I'm really bad at coding and I'm not sure why some lines are
commented; since your code works without uncommenting these lines, can you tell
me what's their purpose?
Cheers,
Golok
> On 2 Jan 2022, at 18:
Hi,
Hope the following will be more understandable from a non-coder
# Below tell you how many entries (QgsPageSize) are already present (A4,
A3, ...) before
print(len(pageSizeRegistry.entries()))
# To inspect content of first entry (was useful to understand was is
present in each QgsPageSize)
pri
Dear Qgis-user,
I have a lot of gpx-files, which contain several tracks each.
Is it possible to disassemble this files in several files in a batch,
which contain only one track each?
The file name should be the tag of the track.
I use a Linux system with a self compiled Qgis 3.20.
But m
Sebastian,
thank you very much for your precise answer and materials sent - I have read
them carefully.
So, as far as I can understand, QGIS has moved in version 3.20 to a new way of
counting areas (other libraries? GRASS algorithm instead of Geographic lib? I
have actually noticed a different