or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing
xxxxxxxxxx
PyQGIS: expanding QGIS's functionality with Python
https://cscfi.zoom.us/j/68508006358?pwd=emp3TUR0NE95T2Y2NDlkaWtuN1ZHQT09
OR https://cscfi.zoom.us/j/68508006358 + Passcode: 104370
Schedule
Tuesday 23.11
09:00 – 10:20 Introduction to Python in QGIS
10:20 - 10:40 Coffee break
10:40 – 12:00 Working with spatial data in PyQGIS
Wednesday 24.11
09:00 – 10:20 Automation with Model Builder and Processing tools
10:20 - 10:40 Coffee break
10:40 – 12:00 A look at PyQGIS plugin development
Course materials
Exercise environment
Exercises are done on your local laptop/PC. Please make sure you have these installed and available before the course starts:
Practicalities
Recommended set up
During the course
QGIS with Anaconda
QGIS on Puhti (CSC supercomputer)
Questions and Answers
Day 2 Questions and some notes
what was the code for help?
Where does the output go when rerunning the algorithm?
how is ti possible that there's no simpler way to find the usable names to tools than running a for loop through all the tools?
Slightly off-topic: there seems to be a way to use an external script editor, but the button for external editor doesn't do anything (in my QGIS at least). Do you need to change some settings for it to work?
where do you ACTUALLY define the field that we drop? i could not find it in the instructions
what was "Field to drop" setting in the Drop Field(s)?
Day 1 Questions and some notes
Combination possibility of PyQGIS and pandas etc?
do we need anakonda for running pyqgis_practical_day1.ipynb? I mean will we use it or QGIS?
How can we switch the software from Finnish to English language?
can we save these lines as .py file, I mean not in console only. is there any way to run only one line of a code in python script in QGIS? without commenting out the other lines
Can also geopandas be used in pyhton console?
How to run a script with Path?
exec(open('/ath/to/your/file/test.py'.encode('utf-8')).read())
What is feat, geom in geospatial analysis in python? I have seen them (words) used quite frequently.
paavo_layer = QgsVectorLayer(path=paavo_path, baseName="Paavo", providerLib="ogr") how do i know the providerLib is ogr in this case
ogr also for shapefiles?
I cannot type \ to Python console or script editor in QGIS but it works normally elsewhere. Is there a limitation to this or is it just my QGIS acting weird?
Section 2.3 Creating Vector Layers, there is the big code block: I copy pasted it into the Script file and run selection but I get an error: “simplified_feat_list.append(feat) ^ IndentationError: unexpected indent”
Section 2.3: a list with this feature's name and population trimmed_attributes = [feat['name'], feat['pop']] -> What is the meaning of population property?
If I want to change the tolerance of the simplified layer, do I need to rerun all the scripts and add a new layer?
I am doing this part: # pass the expression and the field definitions paavo.addExpressionField(student_exp, QgsField("perc_students", QVariant.Double, prec=1)) put I can't see the added layer in the qgis layers visually.
Do not write below this line!