Re: [Qgis-user] OpenLayersPlugin

2020-03-20 Per discussione Bernd Vogelgesang

I suppose you got this idea to use OpenLayers plugin from some web
rescources.
As QGIS advances very fast, it's crucial to have a look at the date when
it was created. Tuturials older than lets say 2 years are more or less
unusable already.
... and follow Paolos advice (he was faster to post)

Cheers
Bernd





Am 20.03.20 um 19:21 schrieb Tim Smith:

Hi All


I am using QGIS 2.18.17 on Linux Mint 19.3.  What I need to do is
display a Google or other aerial image such as Bing on my map.  So, I
am trying to install OpenLayers Plugin but keep getting an error saying
'The plugin is broken.  Python said cannot import name QtWebKit'.  I
also get the following:



p, li { white-space: pre-wrap; }

Couldn't load plugin openlayers_plugin due to an error when calling
its classFactory() method


ImportError: cannot import name QtWebKit

Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 333, in
startPlugin
 plugins[packageName] = package.classFactory(iface)
   File
"/home/tim/.qgis2/python/plugins/openlayers_plugin/__init__.py", line
25, in classFactory
 from openlayers_plugin import OpenlayersPlugin
   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
_import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File
"/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.
py", line 30, in
 from openlayers_overview import OLOverview
   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
_import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File
"/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_overvie
w.py", line 23, in
 from openlayers_ovwidget import OpenLayersOverviewWidget
   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
_import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File
"/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_ovwidge
t.py", line 38, in
 from ui_openlayers_ovwidget import Ui_Form
   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
_import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File
"/home/tim/.qgis2/python/plugins/openlayers_plugin/ui_openlayers_ovwi
dget.py", line 80, in
 from PyQt4 import QtWebKit
ImportError: cannot import name QtWebKit


Python version: 2.7.17 (default, Nov  7 2019, 10:07:09) [GCC 7.4.0]
QGIS version: 2.18.17 Las Palmas, exported


Python Path:

/usr/share/qgis/python/plugins/processing
/usr/share/qgis/python
/home/tim/.qgis2/python
/home/tim/.qgis2/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python2.7
/usr/lib/python2.7/plat-x86_64-linux-gnu
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/gtk-2.0
/home/tim/.qgis2//python
/home/tim/.qgis2/python/plugins/go2streetview
/home/tim/.qgis2/python/plugins/go2streetview
/home/tim/.qgis2/python/plugins/go2streetview
/home/tim/.qgis2/python/plugins/go2streetview

I get a similar error when I try to load other plugins such as
gotostreetview.  Please could anybody advise how I can get the plugin
working so I can use an aerial image on my map, thank you?


Kind Regards

Tim


Tim Smith BSc (Hons) MCIEEM
Managing Director and Principal Ecologist




Informing - Reducing Risk - Adding Value
www.fivevalleysecology.co.uk

T: +44 (0)1453 759306 – Choose Option 1
M: +44 (0)7732 397984

5 St Brendans Road
Stroud
Gloucestershire
GL5 1PB

CIEEM Member Subject to Code of Professional Conduct
Registered in England No. 7540564
VAT No. 133 4074 43

***
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this email. Please notify Five Valleys Ecology 
Ltd immediately by email if you have received this email by mistake and delete 
this email from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.

We have checked this email and its attachments for viruses. The recipient 
should also check this email and any attachments for the presence of viruses. 
Five Valleys Ecology Ltd accepts no liability for any damage caused by any 
virus transmitted by this email.
Please consider the environment before 

Re: [Qgis-user] OpenLayersPlugin

2020-03-20 Per discussione Paolo Cavallini
Hi Tim,
please upgrade to the latest LTR version, now 3.10.
Instead of OL plugin, you can use QuickWebServices.
All the best.

Il 20/03/20 19:21, Tim Smith ha scritto:
> Hi All
> 
> I am using QGIS 2.18.17 on Linux Mint 19.3.  What I need to do is
> display a Google or other aerial image such as Bing on my map. So, I am
> trying to install OpenLayers Plugin but keep getting an error saying
> 'The plugin is broken. Python said cannot import name QtWebKit'. I also
> get the following:
> 
>> Couldn't load plugin openlayers_plugin due to an error when calling
>> its classFactory() method 
>>
>> ImportError: cannot import name QtWebKit
>>
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 333, in
>> startPlugin
>>     plugins[packageName] = package.classFactory(iface)
>>   File
>> "/home/tim/.qgis2/python/plugins/openlayers_plugin/__init__.py", line
>> 25, in classFactory
>>     from openlayers_plugin import OpenlayersPlugin
>>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
>> _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File
>> "/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.py",
>> line 30, in 
>>     from openlayers_overview import OLOverview
>>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
>> _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File
>> "/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_overview.py",
>> line 23, in 
>>     from openlayers_ovwidget import OpenLayersOverviewWidget
>>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
>> _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File
>> "/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_ovwidget.py",
>> line 38, in 
>>     from ui_openlayers_ovwidget import Ui_Form
>>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
>> _import
>>     mod = _builtin_import(name, globals, locals, fromlist, level)
>>   File
>> "/home/tim/.qgis2/python/plugins/openlayers_plugin/ui_openlayers_ovwidget.py",
>> line 80, in 
>>     from PyQt4 import QtWebKit
>> ImportError: cannot import name QtWebKit
>>
>> Python version: 2.7.17 (default, Nov  7 2019, 10:07:09) [GCC 7.4.0] 
>> QGIS version: 2.18.17 Las Palmas, exported 
>>
>> Python Path:
>>
>>   * /usr/share/qgis/python/plugins/processing
>>   * /usr/share/qgis/python
>>   * /home/tim/.qgis2/python
>>   * /home/tim/.qgis2/python/plugins
>>   * /usr/share/qgis/python/plugins
>>   * /usr/lib/python2.7
>>   * /usr/lib/python2.7/plat-x86_64-linux-gnu
>>   * /usr/lib/python2.7/lib-tk
>>   * /usr/lib/python2.7/lib-old
>>   * /usr/lib/python2.7/lib-dynload
>>   * /usr/local/lib/python2.7/dist-packages
>>   * /usr/lib/python2.7/dist-packages
>>   * /usr/lib/python2.7/dist-packages/gtk-2.0
>>   * /home/tim/.qgis2//python
>>   * /home/tim/.qgis2/python/plugins/go2streetview
>>   * /home/tim/.qgis2/python/plugins/go2streetview
>>   * /home/tim/.qgis2/python/plugins/go2streetview
>>   * /home/tim/.qgis2/python/plugins/go2streetview
> 
> I get a similar error when I try to load other plugins such as
> gotostreetview. Please could anybody advise how I can get the plugin
> working so I can use an aerial image on my map, thank you?
> 
> Kind Regards
> 
> 
> Tim
> 
> *
> *
> 
> *Tim Smith BSc (Hons) MCIEEM*
> 
> /Managing Director and Principal Ecologist/
> 
> /
> /
> 
>  Five Valleys Ecology Logo SmallCIEEM Registered Practice logo
> 2019-2020_250x384
> 
> 
> *Informing - Reducing Risk - Adding Value*
> 
> www.fivevalleysecology.co.uk 
> 
>  
> 
> T: +44 (0)1453 759306 – Choose Option 1
> M: +44 (0)7732 397984 
> 
>  
> 
> 5 St Brendans Road 
> 
> Stroud 
> 
> Gloucestershire 
> 
> GL5 1PB 
> 
>  
> 
> CIEEM Member Subject to Code of Professional Conduct 
> 
> Registered in England No. 7540564
> 
> VAT No. 133 4074 43 
> 
>  
> 
> ***
> 
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they are
> addressed. If you have received this email in error please notify the
> system manager. This message contains confidential information and is
> intended only for the individual named. If you are not the named
> addressee you should not disseminate, distribute or copy this email.
> Please notify Five Valleys Ecology Ltd immediately by email if you have
> received this email by mistake and delete this email from your system.
> If you are not the intended recipient you are notified that disclosing,
> copying, distributing or taking any action in reliance on the contents
> of this information is strictly 

[Qgis-user] OpenLayersPlugin

2020-03-20 Per discussione Tim Smith
Hi All


I am using QGIS 2.18.17 on Linux Mint 19.3.  What I need to do is
display a Google or other aerial image such as Bing on my map.  So, I
am trying to install OpenLayers Plugin but keep getting an error saying
'The plugin is broken.  Python said cannot import name QtWebKit'.  I
also get the following:


> p, li { white-space: pre-wrap; }
> 
> Couldn't load plugin openlayers_plugin due to an error when calling
> its classFactory() method 
> 
> 
> ImportError: cannot import name QtWebKit 
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 333, in
> startPlugin
> plugins[packageName] = package.classFactory(iface)
>   File
> "/home/tim/.qgis2/python/plugins/openlayers_plugin/__init__.py", line
> 25, in classFactory
> from openlayers_plugin import OpenlayersPlugin
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
> _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_plugin.
> py", line 30, in 
> from openlayers_overview import OLOverview
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
> _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_overvie
> w.py", line 23, in 
> from openlayers_ovwidget import OpenLayersOverviewWidget
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
> _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "/home/tim/.qgis2/python/plugins/openlayers_plugin/openlayers_ovwidge
> t.py", line 38, in 
> from ui_openlayers_ovwidget import Ui_Form
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 607, in
> _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "/home/tim/.qgis2/python/plugins/openlayers_plugin/ui_openlayers_ovwi
> dget.py", line 80, in 
> from PyQt4 import QtWebKit
> ImportError: cannot import name QtWebKit
> 
> 
> Python version: 2.7.17 (default, Nov  7 2019, 10:07:09) [GCC 7.4.0] 
> QGIS version: 2.18.17 Las Palmas, exported 
> 
> 
> Python Path:
> 
> /usr/share/qgis/python/plugins/processing
> /usr/share/qgis/python
> /home/tim/.qgis2/python
> /home/tim/.qgis2/python/plugins
> /usr/share/qgis/python/plugins
> /usr/lib/python2.7
> /usr/lib/python2.7/plat-x86_64-linux-gnu
> /usr/lib/python2.7/lib-tk
> /usr/lib/python2.7/lib-old
> /usr/lib/python2.7/lib-dynload
> /usr/local/lib/python2.7/dist-packages
> /usr/lib/python2.7/dist-packages
> /usr/lib/python2.7/dist-packages/gtk-2.0
> /home/tim/.qgis2//python
> /home/tim/.qgis2/python/plugins/go2streetview
> /home/tim/.qgis2/python/plugins/go2streetview
> /home/tim/.qgis2/python/plugins/go2streetview
> /home/tim/.qgis2/python/plugins/go2streetview

I get a similar error when I try to load other plugins such as
gotostreetview.  Please could anybody advise how I can get the plugin
working so I can use an aerial image on my map, thank you?  


Kind Regards

Tim


Tim Smith BSc (Hons) MCIEEM
Managing Director and Principal Ecologist


 

Informing - Reducing Risk - Adding Value
www.fivevalleysecology.co.uk
 
T: +44 (0)1453 759306 – Choose Option 1
M: +44 (0)7732 397984 
 
5 St Brendans Road 
Stroud 
Gloucestershire 
GL5 1PB 
 
CIEEM Member Subject to Code of Professional Conduct 
Registered in England No. 7540564
VAT No. 133 4074 43 
 
***
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this email. Please notify Five Valleys Ecology 
Ltd immediately by email if you have received this email by mistake and delete 
this email from your system. If you are not the intended recipient you are 
notified that disclosing, copying, distributing or taking any action in 
reliance on the contents of this information is strictly prohibited.
 
We have checked this email and its attachments for viruses. The recipient 
should also check this email and any attachments for the presence of viruses. 
Five Valleys Ecology Ltd accepts no liability for any damage caused by any 
virus transmitted by this email.
Please consider the environment before printing this email

Re: [QGIS-it-user] QGIS 3.10 Windows e Mergin

2020-03-20 Per discussione Luca Puglisi

Ciao,

se non sbaglio, dopo aver caricato il progetto su Input bisogna fare il 
download dal pannello browser di QGis. Una procedura in vero un po' 
bizzarra, pero' poi aprendo quello scaricato poi la sincronizzazione tra 
QGis e Inut funzionava bene.

Spero di aver ricostruito bene i passaggi...
Luca



Il 19/03/2020 17:32, Franco Cazzola ha scritto:


Buongiorno Luca

effettivamente dopo un po' di apri/chiudidi Qgis  è apparso il nuovo 
servizio sulla TOC di Qgis.


Allora ho creato il progetto con Geopackage e postato in Mergin

Poi ho scaricato Input sullo smart, visualizzato il il progetto

Ho aggiunto dei dati, salvato e sincronizzato.

Aperto Qgis ho risincronizzato il progetto ma non vedo i dati aggiornati


Hai fatto anche tu questo percorso ?


Grazie

Franco


--

Message: 2
Date: Mon, 16 Mar 2020 18:09:43 +0100
From: Luca Puglisi 
To: qgis-it-user@lists.osgeo.org
Subject: Re: [QGIS-it-user] QGIS 3.10 Windows e Mergin
Message-ID: <1f67dfcf-53e4-3ddb-4c28-7a4395c62...@tiscali.it>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

Buongiorno,

pochi giorni fa a me ha funzionato tutto. Hai chiuso e riavviato QGis?
Saluti
Luca Puglisi


___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user




--
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] Support for writing vector tiles in QGIS

2020-03-20 Per discussione Saber Razmjooei
Dear QGIS Users,

We have managed to secure our target for reading vector tiles in QGIS. We
had also several requests to support writing vector tiles directly from
within QGIS. Therefore, we have extended the scope and crowdfunding goal to
cover this feature:
https://www.lutraconsulting.co.uk/crowdfunding/vectortile-qgis/

Today is the final day of the campaign, so it is your last chance to
contribute if you'd like to see this feature in QGIS 3.14.

Many thanks
Saber

-- 
Saber Razmjooei
www.lutraconsulting.co.uk
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [QGIS-it-user] Visualizzazione di una user form attributi

2020-03-20 Per discussione Franco Cazzola
Buongiorno Roberto

ho seguito la documentazione ma al § 6.3.7. Follow Along: Associa il modulo con 
il tuo Layer, nella versione Qgis 3.10

allaproprietà del layer->Campi   non ci sono più:

- la combo Attribute editor layout

- la casella Edit UI

dove specifico il nome della form ?


Se non sono chiaro e in questo caso mi scuso, rispondimi pure
Grazie in ogni caso

Franco Cazzola



Da: Roberto Marzocchi 
Inviato: venerdì 20 marzo 2020 14:36
A: Franco Cazzola
Cc: qgis-it-user@lists.osgeo.org
Oggetto: R: [QGIS-it-user] Visualizzazione di una user form attributi


 Attivato Fri, 20 Mar 2020 13:14:52 +0100 Franco Cazzola 
 ha scritto 


Buongiorno a tutti

mi piacerebbe creare una mia form dati

Non so se ho capito bene la domanda, ma credo che sia sufficiente QGIS per 
quanto vuoi fare.
Qua le istruzioni dala documentazione di QGIS: 
https://docs.qgis.org/3.10/it/docs/training_manual/create_vector_data/forms.html


e visualizzare gli attributi di un oggetto selezionato  da uno shape file 
eseguendo del codice.

questa domanda invece non mi è chiara, perdonami 
[cid:0.28873910550.7954581144965950726.170f828eca7__smiley__img__src]


1. la form la posso creare con Qt Designer o altri applicativi ?

2. sono disponibili degli esempi in python per scegliere un oggetto e 
visualizzare la form ?


Se il tema è già stato chiarito, chiedo cortesemente un link alla risposta.

Un saluto a tutti e speriamo di farcela

Franco Cazzola

___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Visualizzazione di una user form attributi

2020-03-20 Per discussione matteo
Ciao Franco,

> mi piacerebbe creare una mia form dati e visualizzare gli attributi di
> un oggetto selezionato  da uno shape file eseguendo del codice.

uno dei tanti posti in cui python si può lanciare ma sembra nascosto :)

> 1. la form la posso creare con Qt Designer o altri applicativi ?

Qt Designer è la scelta ottimale

> 2. sono disponibili degli esempi in python per scegliere un oggetto e
> visualizzare la form ?

che sappia io no. per ò quando sei nella scehda "Attributes Form", in
alto a destra (vicino al menù a tendina di "Atuogenerate") c'è il
pulsantino di python. Qui puoi usare codice da aggiungere al tuo modulo

Saluti

Matteo
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [Qgis-user] importing data to map

2020-03-20 Per discussione Didier Peeters
Hi,

You need to use a Relation, in the project properties (Menu: Project > 
Properties > Relations).  

See these videos to understand how it works :

https://youtu.be/MeBnasFHGGQ
https://youtu.be/OowgI1b2ihw

Cheers,

Didier

> Le 20 mars 2020 à 12:33, Boaz Bar Ilan  a écrit :
> 
> hi there
>  I got data xcls which describes functions in relation to parcells
> im trying to import this spreadsheet to a map of parcells  and what happen of 
> course that if there are 2 functions in the same parcel - it shows only one!
> how can I show  2 functions or more related to the same parcel  ?
> 
> I can use the add polygon feature but than it should be done manually one by 
> one
> is there different way ?
> thanks
> boaz
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[QGIS-it-user] R: Visualizzazione di una user form attributi

2020-03-20 Per discussione Roberto Marzocchi
 Attivato Fri, 20 Mar 2020 13:14:52 +0100 Franco Cazzola 
 ha scritto 


Buongiorno a tutti

mi piacerebbe creare una mia form dati 






Non so se ho capito bene la domanda, ma credo che sia sufficiente QGIS per 
quanto vuoi fare. 

Qua le istruzioni dala documentazione di QGIS: 
https://docs.qgis.org/3.10/it/docs/training_manual/create_vector_data/forms.html






e visualizzare gli attributi di un oggetto selezionato  da uno shape file 
eseguendo del codice.






questa domanda invece non mi è chiara, perdonami 


1. la form la posso creare con Qt Designer o altri applicativi ?

2. sono disponibili degli esempi in python per scegliere un oggetto e 
visualizzare la form ?



Se il tema è già stato chiarito, chiedo cortesemente un link alla risposta.

Un saluto a tutti e speriamo di farcela

Franco Cazzola 


___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] importing data to map

2020-03-20 Per discussione Boaz Bar Ilan
hi there
 I got data xcls which describes functions in relation to parcells
im trying to import this spreadsheet to a map of parcells  and what happen
of course that if there are 2 functions in the same parcel - it shows only
one!
how can I show  2 functions or more related to the same parcel  ?

I can use the add polygon feature but than it should be done manually one
by one
is there different way ?
thanks
boaz
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Always render as raster losing opacity control and simplify vector layers

2020-03-20 Per discussione Michael Dufty
I’ve had an interesting couple of days dealing with PDF sizes.  We have a very 
large vector layer of flood model output, being put into an A3 map covering a 
large area.
Initially this produced a 5MB ish PDF, but at some stage the PDF size jumped to 
30MB.  It looks like the new “simplify geometries to reduce output size” option 
was not working.
We were able to get around this by forcing the layer to render as a raster in 
the layer properties.
A couple of days later we decided the layer should have 100% opacity instead of 
80%.
The opacity displayed correctly in the main map and layout, but in the PDF 
exports it stayed stubbornly at 80%.
Turning off the force to render as raster allowed the opacity to display 
correctly again.  The file size stayed low too, so simplify geometries seems to 
work again.

At this stage we have solved the practical problem, but I’m still curious about 
the underlying issue.

Switching back to render as raster broke it again.
Re-adding the shapefile did not work.
Forcing another layer to render as raster resulted in both correct behaviour on 
the new layer, and fixing the problem on the old layer.
Turning off the forcing on the second layer, results in the first layer playing 
up again.

Initial issues were using 3.10.1 now on 3.12.

Anyone have a clue what might be going on?
Seems like there might be a cached version of the rasterization somewhere, but 
it recurs even if I change the colour.
I notice raster layers have opacity set in a different place to vector layers, 
so perhaps the opacity level for the generated raster layer has somehow been 
saved somewhere.

Michael Dufty

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user