[Qgis-user] PyQGIS - OGCFeatureService / QgsVectorLayer "OAPIF"

Andrea Giudiceandrea andreaerdna at libero.it
Mon Jun 6 22:53:33 PDT 2022


> Andrew Hughes ahhughes at gmail.com
> Mon Jun 6 02:09:54 PDT 2022

> Yes, thank you! I only tried it about 2 hours ago and the second example
> worked perfectly.

Hi Andrew,
probably the first example doesn't work for you due to the forced text 
word-wrap inside the QgsVectorLayer string (a single blank space is 
needed between the url='url' and the typename='id' part) in the e-mail 
message text.

Even if you have solved the issue, maybe you will find more useful this 
little gist:
https://gist.github.com/agiudiceandrea/a8f9b3dc8ff8897c53f7fc9c63faed78

Best regards.

Andrea


More information about the Qgis-user mailing list