QGIS Python (PyQGIS) - Loading and symbolizing raster layers

  Рет қаралды 64,611

Geospatial School

Geospatial School

Күн бұрын

Пікірлер: 45
@sadiemoland2157
@sadiemoland2157 3 жыл бұрын
This is a great tutorial but does anyone know what the code would be to add gradient stops between the minimum and maximum values? I want to use equal intervals and have a specific number of classes.
@furkanyuce9107
@furkanyuce9107 3 жыл бұрын
Hay - I keep getting an error while opening the QGIS application. Error = utf-8 codec can't decode byte 0xfd in position 3: invalid start byte can you help?
@bhdotyeh
@bhdotyeh 3 жыл бұрын
Hi - do you know how to use estimated (faster) accuracy when computing band min/max values as opposed to exact values?
@erichpurpur2550
@erichpurpur2550 5 жыл бұрын
How does it work to shade a raster layer using the QgsPalettedRasterRenderer class?
@geospatialschool
@geospatialschool 5 жыл бұрын
I haven't tried this yet. Here's a link to the Python documentation for the class as a place to start: qgis.org/pyqgis/3.2/core/other/QgsPalettedRasterRenderer.html I will add this to my list of videos and try to get a tutorial made in the next few weeks.
@IyadKhuder
@IyadKhuder 5 жыл бұрын
Thanks a lot. It's great. Just if I could ask you to increase the font size of the code a bit in future videos, because it's too small for some viewers I guess (at least for me) thanks anyways :)
@dominikzaire3020
@dominikzaire3020 3 жыл бұрын
i guess it is pretty randomly asking but do anybody know a good website to watch new movies online?
@isaiahmarvin9492
@isaiahmarvin9492 3 жыл бұрын
@Dominik Zaire try Flixzone. Just search on google for it :)
@alivan7334
@alivan7334 3 жыл бұрын
@Dominik Zaire i use flixzone. Just google for it =)
@leonleroy1291
@leonleroy1291 3 жыл бұрын
@Dominik Zaire I watch on flixzone. Just search on google for it :)
@andrewjalen8727
@andrewjalen8727 3 жыл бұрын
@Dominik Zaire I watch on flixzone. You can find it by googling :)
@annasam4461
@annasam4461 2 жыл бұрын
Hi, Is there anyway to create a raster attribute table using QGIS Python ?
@natanaellorenzi5
@natanaellorenzi5 4 жыл бұрын
Hi dude. Thanks for this video. I have a question. Can i create a script to import csv and shp and automatically generate a layout with a pdf as output (print composer)?
@geospatialschool
@geospatialschool 4 жыл бұрын
Yes you can. I don't have a specific video on that, but this one will get you started.
@nicolerodriguezvargas223
@nicolerodriguezvargas223 5 жыл бұрын
Is it possible to make a code that interpolates some points and generate isolines? Thanks!
@knucklehead99-z1w
@knucklehead99-z1w 5 жыл бұрын
At 3:07, several extra lines of code appear and there's no reference in the dialog to them. Am I missing something?
@geospatialschool
@geospatialschool 5 жыл бұрын
Sorry. That's my mistake. The code gets information from the file, gets the file name without the directory path or extension, and adds a raster layer the QGIS interface with the layer name the same as the file name. As long as you add this line of code you'll be okay: rlayer=iface.addRasterLayer(fn) where fn is the path to your raster layer.
@piyaphatc5794
@piyaphatc5794 4 жыл бұрын
AttributeError: 'NoneType' object has no attribute 'dataProvider' , please guide me!
@piyaphatc5794
@piyaphatc5794 4 жыл бұрын
omg, I just fix it by myself
@piyaphatc5794
@piyaphatc5794 4 жыл бұрын
I wrote the wrong file name
@yunusemrekarpuz668
@yunusemrekarpuz668 3 жыл бұрын
same, thanks :)
@crtnnn
@crtnnn 2 жыл бұрын
Page in the video description not found :(
@geospatialschool
@geospatialschool 2 жыл бұрын
I updated the description with new links
@adityaeaturu2058
@adityaeaturu2058 5 жыл бұрын
Which QGIS version are you using?
@geospatialschool
@geospatialschool 5 жыл бұрын
In this video, I believe it's version 3.4. The lowest version it would be is 3.2.
@adityaeaturu2058
@adityaeaturu2058 5 жыл бұрын
@@geospatialschool Thanks! That was quick
@lloydpal1542
@lloydpal1542 Жыл бұрын
sir i have a error in this tutorial i wonder if you have the file in the .tif file base on the line 1 is not define please answer my problem thankyou
@geospatialschool
@geospatialschool Жыл бұрын
You can download any .tif file and use it in place of the file I use in this tutorial
@lloydpal1542
@lloydpal1542 Жыл бұрын
@@geospatialschool thanks sir
@kavitachaudhary2818
@kavitachaudhary2818 5 жыл бұрын
dataprovider() showing error "AttributeError: 'NoneType' object has no attribute 'dataprovider'." Qgis version is 3.4.2. suggest a solution please.
@geospatialschool
@geospatialschool 5 жыл бұрын
You probably need to use 'dataProvider()' instead of 'dataprovider()'.
@gunjankadam4944
@gunjankadam4944 Жыл бұрын
i want to use SCP, how can use it through script
@razvanafloarei6256
@razvanafloarei6256 5 жыл бұрын
What have you imported at line 1: Fn='C:/temp/smr/trimmer_peak/dem/dem.tif'
@geospatialschool
@geospatialschool 5 жыл бұрын
This is the path to a raster file
@bluefoxtechnical5001
@bluefoxtechnical5001 5 жыл бұрын
Hi, how can I visualise DEM with flood analysis.
@geospatialschool
@geospatialschool 5 жыл бұрын
What kind of flood analysis do you want to do?
@okerekechisom4985
@okerekechisom4985 Жыл бұрын
How can I Script showing the following with PyQGIS: 1. Number of polygons that have the selected leading species. 2. Minimum and maximum area of the stands that have the leading species. 3. The average of the leading species percentages within the stands. 4. The total area and average area of the stands, containing the leading species.
@b.j2770
@b.j2770 5 жыл бұрын
where is the raster/file.tif file?. can i download?
@geospatialschool
@geospatialschool 5 жыл бұрын
See this video for how to download your own DEM: kzbin.info/www/bejne/jJ2unHSPpLOiiKc
@thaooan1476
@thaooan1476 4 жыл бұрын
Python Console Use iface to access QGIS API interface or Type help(iface) for more info Security warning: typing commands from an untrusted source can harm your computer exec(open('E:/OneDrive - TVBC/0_Tài liệu/Python/Xử lý ảnh.py'.encode('utf-8')).read()) Traceback (most recent call last): File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\lib\code.py", line 90, in runcode exec(code, self.locals) File "", line 1, in File "", line 11, in NameError: name 'Qcolor' is not defined
@isaacsilva2637
@isaacsilva2637 3 жыл бұрын
Can you make this in the new version please ?
@geospatialschool
@geospatialschool 3 жыл бұрын
This will work with any version of QGIS 3. Just tested it.
@joshdaking2324
@joshdaking2324 Жыл бұрын
Mine came out grayscale 🤷‍♂️
@vaibhavrajput8196
@vaibhavrajput8196 4 жыл бұрын
Join tables using PyQgis! please cover
@yassineghanou8210
@yassineghanou8210 4 жыл бұрын
if you found the way please help me
QGIS Python (PyQGIS) - Loading and symbolizing vector layers
18:22
Geospatial School
Рет қаралды 17 М.
QGIS Python - Use Processing Tools in a Python Script
7:23
Geospatial School
Рет қаралды 24 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 49 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 27 МЛН
QGIS Python (PyQGIS) - Query raster value at point
12:34
Geospatial School
Рет қаралды 7 М.
Extending QGIS with Python and R
19:35
UF Geomatics - Fort Lauderdale
Рет қаралды 5 М.
How to Make a QGIS Plugin
24:03
GIS Coordinated
Рет қаралды 19 М.
QGIS Python API VSCode
17:22
BcodeTube
Рет қаралды 9 М.
FASTEST Way to Learn Modern GIS and ACTUALLY Get a Job
15:12
Matt Forrest
Рет қаралды 124 М.
QGIS Python (PyQGIS) - Raster Calculator in a Python Script
14:35
Geospatial School
Рет қаралды 10 М.
Introduction and Course Overview -  PyQGIS Masterclass
19:47
Spatial Thoughts
Рет қаралды 4,4 М.
QGis tutorial - Plugin development - part 1
9:22
Rob
Рет қаралды 30 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН