[Qgis-user] Plugin to perform repetetive update ?

Bo Victor Thomsen bo.victor.thomsen at gmail.com
Tue Jun 25 05:20:20 PDT 2019


Hi Lars -

It's actually easy - you can ex. use the *python console *(Ctrl-Alt-P). 
It will get you a console window like this:*
*

The rightmost window is a nifty little python editor with syntax 
highlighting and autocompletion. It is activated by clicking the third 
button (from the left) in the console window.

It's like the MapBasic window in MapInfo on steroids.

Take a look at: 
https://www.qgistutorials.com/en/docs/3/getting_started_with_pyqgis.html 
for getting you started.

Regards

Bo Victor Thomsen
GIS & Database specialist
AestaGIS Denmark



Den 25-06-2019 kl. 13:00 skrev Lars I. Nielsen, LIFA A/S:
>
> Hi Philip.
>
> I’m a developer, but not a very proficient user of QGIS yet, so 
> scripting sounds like music to my ears J
>
> Is scripting inside QGIS without plugins even possible ? The example 
> focuses on the script itself, not how to perform the scripting.
>
> Or are you talking about scripting outside QGIS in a regular Python IDE ?
>
> Med venlig hilsen
>
> Lars I. Nielsen, LIFA A/S
> GIS-konsulent, FME Certified Professional
> Geoinformatik
>
> *T*
>
> 	
>
> 6313 6800
>
> 	
>
> *@*
>
> 	
>
> lin at lifa.dk
>
> *D*
>
> 	
>
> 6313 6849
>
> 	
>
> *W*
>
> 	
>
> www.lifa.dk
>
> *M*
>
> 	
>
> 2492 4866
>
> 	
>
> 	
>
>
> **
> **
> Beskrivelse: 
> C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-a2d53963c7df22f49954c4d226f740f1 
> <https://www.linkedin.com/company/lifa-a-s/>
> Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S
> **
>
> *Fra:*Philip Barlow [mailto:philipb at pembrokeshirecoast.org.uk]
> *Sendt:* 21. juni 2019 12:39
> *Til:* Lars I. Nielsen, LIFA A/S; 'qgis-user at lists.osgeo.org'
> *Emne:* RE: [Qgis-user] Plugin to perform repetetive update ?
>
> Hi Lars,
>
> Should be possible to script with pyQGIS?
>
> Example of how to add and update attributes here:
>
> https://www.geodose.com/2018/09/qgis-python-tutorial-add-field-attribute.html 
>
>
> Phil
>
> *From:*Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] *On Behalf 
> Of *Lars I. Nielsen, LIFA A/S
> *Sent:* 21 June 2019 09:39
> *To:* 'qgis-user at lists.osgeo.org'
> *Subject:* Re: [Qgis-user] Plugin to perform repetetive update ?
>
> Hi Bo.
>
> Yes, I did have a try with the Processing Modeler, but I failed to 
> locate any function to update attributes.
>
> It seems like it’s only purpose is to generate a new (temp) layer ?
>
> Med venlig hilsen
>
> Lars I. Nielsen, LIFA A/S
> GIS-konsulent, FME Certified Professional
> Geoinformatik
>
> *T*
>
> 	
>
> 6313 6800
>
> 	
>
> *@*
>
> 	
>
> lin at lifa.dk <mailto:lin at lifa.dk>
>
> *D*
>
> 	
>
> 6313 6849
>
> 	
>
> *W*
>
> 	
>
> www.lifa.dk <http://www.lifa.dk>
>
> *M*
>
> 	
>
> 2492 4866
>
> 	
>
> 	
>
>
> **
> **
> Beskrivelse: 
> C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png 
> <https://www.linkedin.com/company/lifa-a-s/>
> Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S
> **
>
> *Fra:*Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] *På vegne 
> af *Bo Victor Thomsen
> *Sendt:* 20. juni 2019 23:43
> *Til:* qgis-user at lists.osgeo.org
> *Emne:* Re: [Qgis-user] Plugin to perform repetetive update ?
>
> Hi Lars -
>
> Have you tried to take a look at the processing framework ? It works 
> appr. like the FME Desktop, but inside QGIS.
> *https://docs.qgis.org/testing/en/docs/user_manual/processing/index.html*
>
> If you simply want to change / edit the attribute-values of multiple 
> records from a layer in one operation, then have a look at:
> *https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/attribute_table.html#editing-multiple-fields*
>
> Regards
>
> Bo Victor Thomsen
> GIS & Database specialist
> AestasGIS Denmark
>
> Den 20-06-2019 kl. 14:40 skrev Lars I. Nielsen, LIFA A/S:
>
>     Hi list.
>
>     I’m looking for a tool (plugin or otherwise) that assist me in
>     making repetitive updates to features in a QGIS layer a little
>     less cumbersome.
>
>     Does such a tool exist ?
>
>     Med venlig hilsen
>
>     Lars I. Nielsen, LIFA A/S
>     GIS-konsulent, FME Certified Professional
>     Geoinformatik
>     Beskrivelse: Beskrivelse:
>     C:\Users\lin\AppData\Roaming\Microsoft\signatures\284x82-Images-Get-L749-l3.gif
>
>     *T*
>
>     	
>
>     6313 6800
>
>     	
>
>     *@*
>
>     	
>
>     lin at lifa.dk <mailto:lin at lifa.dk>
>
>     *D*
>
>     	
>
>     6313 6849
>
>     	
>
>     *W*
>
>     	
>
>     www.lifa.dk <http://www.lifa.dk>
>
>     *M*
>
>     	
>
>     2492 4866
>
>     	
>
>     *CVR*
>
>     	
>
>     20937289
>
>
>     Beskrivelse: Beskrivelse:
>     C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png
>     <https://www.linkedin.com/company/lifa-a-s/>
>     Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S
>
>
>
>     _______________________________________________
>
>     Qgis-user mailing list
>
>     Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> Mae'r Awdurdod yn hapus i gyfathrebu yn Gymraeg neu yn Saesneg
>
> The Authority is happy to communicate in Welsh or English
>
> ***********************************************************************
>
> Website www.pembrokeshirecoast.org.uk 
> <http://www.pembrokeshirecoast.org.uk>
>
> Follow us on Twitter <http://twitter.com/PembsCoast>
>
> Join us on Facebook 
> <http://www.facebook.com/group.php?gid=26330984774&ref=ts>
>
> Watch us on Youtube 
> <http://www.youtube.com/user/pcnpa2008#p/u/0/Tw8Udou0p5k>
>
> Look at us on Flickr <http://www.flickr.com/photos/pembrokeshirecoast/>
>
> This email and any attached files should only be read bythose persons 
> to whom
> they are addressed and be used by them only for their intended purpose.
> If you are not the intended recipient please destroy all copies and 
> inform the
> sender by return email.
>
> Please note that the contents of this email may be subject to public 
> disclosure
> under the Freedom of Information Act 2000 and therefore the 
> confidentiality of
> this message and any reply cannot be guaranteed.
>
> Click here 
> <http://www.pembrokeshirecoast.wales/default.asp?PID=413> to view 
> PCNPA Privacy Notice – Keeping your Information Safe
>
>
> For further information on the PCNPA please visit our website at 
> www.pembrokeshirecoast.org.uk <http://www.pembrokeshirecoast.org.uk>
>
>
> Please consider the environment before printing this email.
>
> Dim ond y personau hynny yr anfonwyd yr e-bost hwn atynt ac unrhyw 
> ffeiliau sydd
> ynghlwm ddylid eu darllen, a dim ond hwy ddylid eu defnyddio at y 
> diben y bwriadwyd hwy.
> Os nad y chi yw'r person y bwriadwyd eu derbyn a fyddech gystal â 
> dinistrio pob copi a rhoi
> gwybod i'r anfonwr gyda throad yr e-bost.
>
> Noder os gwelwch yn dda y gall cynnwys yr e-bost hwn orfod cael ei 
> ddatgelu i'r cyhoedd o
> dan Deddf Rhyddid Gwybodaeth 2000 ac felly ni ellir gwarantu 
> cyfrinachedd y neges hon
> nac unrhyw ateb.
>
> Cliciwch yma 
> <http://www.pembrokeshirecoast.wales/default.asp?pid=413&LangID=2> i 
> weld Hysbysiad Preifatrwydd APCAP - Cadw eich Gwybodaeth yn Ddiogel
>
>
> Am ragor o wybodaeth am APCAP ymwelwch â'n gwefan ar 
> www.arfordirpenfro.org.uk <http://www.arfordirpenfro.org.uk>
>
> Ystyrier yr amgylchedd cyn argraffu'r e-bost hwn os gwelwch yn dda.
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190625/f40dab12/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omlljljjbledjagg.png
Type: image/png
Size: 20499 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190625/f40dab12/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1204 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190625/f40dab12/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 6269 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190625/f40dab12/attachment-0001.gif>


More information about the Qgis-user mailing list