QGIS User 0027 - Styling Contour Lines

  Рет қаралды 38,018

Klas Karlsson

Klas Karlsson

Күн бұрын

Пікірлер: 81
@Kevin-ib3io
@Kevin-ib3io 4 жыл бұрын
Excellent video! I learned a lot from it. Regarding the expressions editor for contours (3:03), I'm not sure about other areas, but in the United States an ampersand is this symbol &, rather than the % symbol used in the expressions. I could not read the expression because the resolution of the video was too low. So it took me a bit to figure out what I was doing wrong. For others having that issue the expression is this: if( "ELEV" % 100=0, 0.6, if( "ELEV" % 25=0, 0.3, 0.1)). Thanks for taking the time to put this together!
@eshhuu
@eshhuu 3 жыл бұрын
Your comment has helped me more than any tutorial on YT. Thanks mate
@lagocardiel
@lagocardiel Жыл бұрын
Of several videos on KZbin, about contour lines, this one is superior, it shows simple, common problems but rarely the details of the solution. Excellent.👌👍🇦🇷
@igorbribeiro
@igorbribeiro Ай бұрын
Thank you from Brazil, Klaus. I've learned a lot with your videos in the past years. And I'm using these knowledge to produce maps for some organizations that protect the environment in my city, Salvador.
@rushianokun
@rushianokun 4 жыл бұрын
Thank you so much! I've been doing this procedure for a very long time, yet you showed much more efficient and better ways to achieve same results, thanks a lot, keep these coming and always please show us the advances uses, like expressions or common functions used in new ways. Thank you very very much.
@TheManOnlyLegend
@TheManOnlyLegend 4 жыл бұрын
Klas, first of all and everything, great many thanks for you tutorial videos! They are super helpful. I reinstalled GIS during this covid19 quarentine after 2 years ago I had given it try and uninstalled it because I simply couldnt move, do anything at all. Your way of show how things are done and in a way that matters is super. I am very grateful. Cheers, Tony
@arkosol
@arkosol 4 жыл бұрын
Man, you're creating so good videos. Amazing.
@Mickeycuatropatas
@Mickeycuatropatas 3 жыл бұрын
I couldn't see very well the conditional expression in the field calculator on the video, so...I created 2 contour layers; 1 for labeled index contours at even intervals (less opaque and thicker) and 2 for thinner contours in between (not labeled). It worked without all that python conditional fuss. Thanks, you inspired me to be creative and I got the general idea to start experimenting.
@Ontariobiketrailszoom
@Ontariobiketrailszoom 4 жыл бұрын
Thanks Klas this really helps me stylize my maps for a future bike trail guide book. Your the best!
@theforester_
@theforester_ 3 жыл бұрын
Awesome content mate! Really saved my uni project! Big shout out from Brazil
@frankstremke255
@frankstremke255 4 жыл бұрын
I just figured it out myself after two days of trying a week ago , I whish I had the video then :-) thanks for the great content
@marcosbarbora4267
@marcosbarbora4267 2 жыл бұрын
Thank you very much Klas I find your lessons very useful and helpful for my daily work. Even if I have a very basic level of English
@mikemackenzie9064
@mikemackenzie9064 4 жыл бұрын
As an ESRI user for many years and being (COVID) thrown into working with QGIS, I'm finding your videos VERY helpful - thank you! I'm rather impressed with QGIS so far but one area is rather difficult - Legends in layouts, would you have a video that shows advanced techniques for making professional Legends?
@khylayly7579
@khylayly7579 3 жыл бұрын
I love your qgis series, please keep making them 🙏
@cgurbuzie
@cgurbuzie 7 ай бұрын
great video - full of information and to the point! thanks a lot Klas
@cheers_mate_uk
@cheers_mate_uk 4 жыл бұрын
That's fantastic. Please keep posting.
@Arqueovader
@Arqueovader 3 жыл бұрын
Thanks again! There always someting new to learn with you!
@amin6323
@amin6323 4 жыл бұрын
Thank you for the clear explanations. I'm still having problems creating a shaded contour map on the sea and remove the contours and shades from the surrounding land. I would appreciate it if you could help me with that.
@Moosemean
@Moosemean 4 жыл бұрын
Wow thank you! Please keep up making these awesome videos. :)
@JV-pu8kx
@JV-pu8kx 6 ай бұрын
3:08 The percent sign (%) is used as a modulo operator. Divide by the second number and give the remainder.
@jonah7732
@jonah7732 4 жыл бұрын
Hi! First of all "Thank you". Great work you have there and I really learned a lot from you. Can you do more sets of example inside the expression dialogue?
@peterzahn5290
@peterzahn5290 2 жыл бұрын
Thank you for the very good and deep inside the contour functions! One question is left for me: You used a DEM file with water areas right? Is it possible to draw a contour at sealevel? This is not working on my files when I follow your instructions. Thanks!
@stephenjones8928
@stephenjones8928 4 жыл бұрын
Some excellent tips here. Many thanks!
@pinpost8984
@pinpost8984 3 жыл бұрын
Final!! Someone who can make an amazing video about contour styling that doesn't ask me to mess around in the attributes table!! SO MUCH EASIER AND REPEATABLE!!! Do you how I would make the contour labels appear parallel to each other up the slope gradient rather than being spread randomly across the map contours?
@inilegnam
@inilegnam 2 жыл бұрын
Thank you! Do you have a video showing how to reflect these custom line weights in a legend?
@ulrichmugamba9813
@ulrichmugamba9813 2 жыл бұрын
Thank you! your video is very educational
@digantasarma6805
@digantasarma6805 4 жыл бұрын
Very useful video. Many thanks.
@Lord_Voltmetr
@Lord_Voltmetr 3 жыл бұрын
Awesome tutorial, thank you for that.
@olly_
@olly_ 4 жыл бұрын
Hey Klas, seem to be hitting a bit of a brick wall. Once I've added the expressions in via the 'line width' styling - it seems to apply to all the lines and not just certain ones. Any ideas?
@matsfroberg8515
@matsfroberg8515 4 жыл бұрын
Thanks! Perfect! I have been trying to acheive this, without success. Is it possible to save/export the new smoothened contours as a new separate file for further processing?
@oliverloveday1406
@oliverloveday1406 4 жыл бұрын
There is a smooth tool in the vector geometry processing toolbox which seems to do the trick!
@xeler8r
@xeler8r 4 жыл бұрын
Really GREAT video! Beautiful! Any idea why my topo lines appear directly above my heightmap, not 'over' it (or on top, as in your example)? I'm using a height map from a game engine terrain rather than 'real', if that makes a difference. I'm not sure how to get them aligned. Any ideas? Thanks again!
@michaelp1856
@michaelp1856 Жыл бұрын
Very informative - thanks.
@efstratiosmichailidis1915
@efstratiosmichailidis1915 2 жыл бұрын
So what's the connection between the interval between contour lines and the map scale???
@patricissa477
@patricissa477 9 ай бұрын
Hey, sorry I'm new to QGIS, what is that black and white screen you're starting with? How do I get that for the site I'm working for so that I can start getting contour lines?
@renz1409
@renz1409 7 ай бұрын
it's called DEM (Digital Elevation Model) and is free to download online
@littledrooging
@littledrooging 3 жыл бұрын
Hey, great video! I was wondering if there's a way to place the contour labels in a ladder?. My center, start or end of lines are not even remotely aligned, so my labels show up all over the place. I'm new in QGIS and haven't figured out a way to do this without a massive edition.
@KlasKarlsson
@KlasKarlsson 3 жыл бұрын
This is a function not built into QGIS. You will need a way to reference the desired location. By some form of math formula or in reference to a second layer. Either way it will be a lot of work.
@airwin288
@airwin288 4 жыл бұрын
Very thankful you created this video. May i know the version of you used in this episode? I can't find the "Text mask" in the Layer styling Label section from the version i am using (3.10.5-A Coruña).
@Handprint
@Handprint 4 жыл бұрын
Hi Airwin288. I have the same problem as you? Did you manage to resolve it? Best
@airwin288
@airwin288 4 жыл бұрын
Hi@@Handprint I found it. I now used the latest release 3.24.25-Pi.
@Handprint
@Handprint 4 жыл бұрын
@@airwin288 Hi. I'm using Qgis 3.4. It's more recent. Right?
@airwin288
@airwin288 4 жыл бұрын
@@Handprint Hello. I think you are using a little bit older version. QGIS 3.4 Madiera was released last 2018-10-26.
@airwin288
@airwin288 4 жыл бұрын
There was already 5 releases after Madeira. it was 3.6 Noosa, 3.8 Zanzibar, 3.10 A Coruña, 3.12 Bucuresti, and then 3.14 Pi
@VikasKumar-bh8kx
@VikasKumar-bh8kx Жыл бұрын
how to I hide labels with a value less than >400, those labels are still coming in my drawing after following your step everything is okay but levels ara appearing without geometry.
@steristeri
@steristeri 4 жыл бұрын
Thanks for this amazing tutorial! Just a question for you, I assume the label masking you've used would have achieved the interrupted contour lines, however the masking option doesn't seem to be available on mine, is this only in the latest QGIS version?
@KlasKarlsson
@KlasKarlsson 4 жыл бұрын
Masking is 3.12 and newer.
@steristeri
@steristeri 4 жыл бұрын
@@KlasKarlsson i see! Thank you so much for that! :)
@garnettdavy7313
@garnettdavy7313 4 жыл бұрын
This is a fantastic tutorial, the only thing I can't get to work is the label mask, this feature does not seem to work at all. Any suggestions?
@compositae01
@compositae01 2 жыл бұрын
maybe you figure out already... that was something killing me also. In my case the reason why it didn't;t work was because the default size of the mask was 0. in the video, changing the size was not mentioned... but he has it at 1.5 mm. Hope this helps (belatedly).
@oliverloveday1406
@oliverloveday1406 4 жыл бұрын
Thanks for uploading!
@santiagoortiz4981
@santiagoortiz4981 4 жыл бұрын
I don´t have the geometry generator field of the label panel to reverse the labels. I´m using 3.4 Madeira version. Any workarround?
@KlasKarlsson
@KlasKarlsson 4 жыл бұрын
Probably not easily. I would suggest upgrade to at least the latest LTR.
@RadIguanas
@RadIguanas 9 ай бұрын
How would you trim excess "labels" (elevation data), after reducing lines with geometry generator. The excess lines are clipped, but the labels remain in plain space
@KlasKarlsson
@KlasKarlsson 9 ай бұрын
If I understand you correct you are having issues with label placement on layers with geometry generator modified geometries. In that case you need to consider that labels do not comply with geometry generator calculations... You will need to use label placements expression with a similar expression for the labels to comply with the "new" geometries.
@RadIguanas
@RadIguanas 9 ай бұрын
@@KlasKarlsson True, that is correct. I would like to hide (or cut) certain labels on lines that were cut due to their short length. How would you make that expression?
@vk1737
@vk1737 3 жыл бұрын
Klas, you rock! Very nice tutorial. I've been looking for a way to remove small contour elements and smooth out the contour lines and your workflow worked perfectly for me. Is there away to export the contour lines to a DXF? It looks like when I export to DXF I get the original Contour lines without smoothing and filtering that we did in geomtery generator. I would appreciate if you could let me know how I can get the filtered and smoothed out contour liens into a DXF file. Thank you.
@KlasKarlsson
@KlasKarlsson 3 жыл бұрын
If you run the geometry generator script on the source layer with the "Geometry by Expression" processing tool, you can create new geometries that will be possible to export correctly.
@javiervicen9211
@javiervicen9211 4 жыл бұрын
Great tutotial. Thank you.
@Mitglied99
@Mitglied99 3 жыл бұрын
thank you so much! my problem were the upsidedown labels up the hill!
@parthprajapati9285
@parthprajapati9285 2 жыл бұрын
I want your help.. I want to make contour and dem from simple round circles. As like hill how can i make please help me
@she1ldy
@she1ldy 4 жыл бұрын
Excellent content, I followed you many months ago, Im wondering if you could cover something about versioning in postgis. If you could its going to be amazing!! thank you :)
@mjbbell
@mjbbell 3 жыл бұрын
how do i get that layer ? so i can play with the contours..
@sudipmahato6574
@sudipmahato6574 4 жыл бұрын
Great, it helped in my academic peoject. How can we measure area under particular contour line??
@ferrenauta
@ferrenauta 3 жыл бұрын
hi, how can I make the contour lines full colored shapes? (switching stroke with content color)
@KlasKarlsson
@KlasKarlsson 3 жыл бұрын
You need to convert the lines to polygons...
@Dc_Angling
@Dc_Angling Жыл бұрын
hi can you help i need to get flow direction arrows on QGIS can you help
@NgheDiaChatvlogs
@NgheDiaChatvlogs Жыл бұрын
7:49 I used the formula: if("ELEV"%25=0,"ELEV"||'m',) in expression dialog, but it didn't work. It told "Expression is invalid". Please help! The formula is exactly in this Video
@KlasKarlsson
@KlasKarlsson Жыл бұрын
You need to add the "else" option. Add empty string '' after the last comma and before the closing parenthesis.
@NgheDiaChatvlogs
@NgheDiaChatvlogs Жыл бұрын
if("ELEV"%50=0,"ELEV"||'m','') sorry, this is right formula!
@NgheDiaChatvlogs
@NgheDiaChatvlogs Жыл бұрын
@@KlasKarlsson thanks, I made it.
@hammamaulia
@hammamaulia 4 жыл бұрын
Thank You!
@amanullahhayat8487
@amanullahhayat8487 3 жыл бұрын
Thanks for great video. But, i couldnt undrestand formula ur using in... May anyone write it in comment...
@ivansantiago9860
@ivansantiago9860 4 жыл бұрын
Kool!!! Thanks a lot
@osmannuri8473
@osmannuri8473 4 жыл бұрын
Hi health to your labor Sorry .. Maybe it's not about your videos .. I hope you can help with that. I use surfer for underground imaging .. with contour I draw on google earth..but I can not get a remarkable result. Can I solve this with q gis or another program you can recommend ..Meanwhile, I am officially engaged in archeology and gold mining. I am waiting for your reply with impatience .. I wish you good work ..
@nap1030
@nap1030 4 жыл бұрын
Thank you
@tehnikperencanaan2787
@tehnikperencanaan2787 4 жыл бұрын
Thank You,,
@macivsmasu
@macivsmasu 3 жыл бұрын
Great :)
@thatpersontim9672
@thatpersontim9672 4 жыл бұрын
the script doesn't work for me. Why?
@KlasKarlsson
@KlasKarlsson 4 жыл бұрын
I assume you mean one of the functions, which one? What does your expression look like?
@العراقي-ث2ر
@العراقي-ث2ر 4 жыл бұрын
kriging
QGIS User 0025 - Complex Labels
17:11
Klas Karlsson
Рет қаралды 24 М.
Creating and Styling Contour Lines in QGIS
14:21
GIS Solutions
Рет қаралды 4,4 М.
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 36 МЛН
SIZE DOESN’T MATTER @benjaminjiujitsu
00:46
Natan por Aí
Рет қаралды 3,5 МЛН
QGIS Contours and Contour Labels
14:21
Geospatial School
Рет қаралды 192 М.
QGIS User 0054 - CAD models in QGIS
21:03
Klas Karlsson
Рет қаралды 1,1 М.
QGIS User 0024 - GeoPackage
18:36
Klas Karlsson
Рет қаралды 15 М.
qGis, creating, shaping and styling contour lines
11:17
Andrea Cippa / Siteplanner / WASH
Рет қаралды 2,7 М.
Extracting Raster Values using Points, Polygons & Lines | QGIS
17:46
QGIS User 0026 - Satellite Imagery to GPKG
18:16
Klas Karlsson
Рет қаралды 11 М.
Create contours in QGIS using Google Earth Pro
6:12
Geocarto
Рет қаралды 30 М.
QGIS User 0021 - Dynamic Layout Calculations
20:34
Klas Karlsson
Рет қаралды 12 М.
Creating 3D maps in QGIS
8:57
Jess Zimmerman
Рет қаралды 40 М.
Using contour lines in QGIS
6:02
Jess Zimmerman
Рет қаралды 9 М.
iPhone 16 vs Samsung…💀 #shorts #edit #trollface
0:33
MysteryCake
Рет қаралды 7 МЛН
Гениальная замена кнопки CTRL в США
0:15
Сергей Милушкин
Рет қаралды 4,2 МЛН