QGIS User 0010 - Geometry Generator

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 41

  • @daniloparra7297
    @daniloparra7297 3 ปีที่แล้ว +1

    Wow, that was cool. Thank you very much Klas

  • @tombayu
    @tombayu ปีที่แล้ว

    Your channel is a gem, thank you for sharing this!

  • @binualexander9439
    @binualexander9439 3 ปีที่แล้ว

    Great stuff , nice way to generate styles shapes/symbols on the fly without creating a new layer

  • @zainababdullahal-mansour6172
    @zainababdullahal-mansour6172 4 ปีที่แล้ว

    Thank you for sharing this valuable lesson. I have been searching how to convert lines to points to do a network analysis and this saves me time.

  • @somphonekhamlibounthavy2483
    @somphonekhamlibounthavy2483 4 ปีที่แล้ว

    Thanks Sir for sharing to other your guild will be alive forever (love love)

  • @spatialk-qgis
    @spatialk-qgis 6 ปีที่แล้ว

    Thanks Klas. I've used it for simple buffers but this added complexity will be great. Thanks for the channel.

  • @bartoszmazurkiewicz3651
    @bartoszmazurkiewicz3651 6 ปีที่แล้ว

    Thank you Klas! Nice introduction to the geometry generator I wasn't aware of

  • @danielerinaldi3123
    @danielerinaldi3123 6 ปีที่แล้ว

    126/5000
    Thanks Klas! This video is for me very useful. Until now I did not know the "Geometry generator" tools. They will certainly help me in my work

  • @robinkohrs8097
    @robinkohrs8097 4 ปีที่แล้ว

    Thanks a lot for these videos!! Wish I had them discovered before...

  • @vitruvianeli
    @vitruvianeli 6 ปีที่แล้ว +2

    Respect, that is awesome!

  • @christophergs
    @christophergs ปีที่แล้ว

    Thank you

  • @vhc6600
    @vhc6600 ปีที่แล้ว

    Hi how would I be able to use this to do a live dissolve and sum by category (attribute) text label... to check total population by district as I assign a district code to blocks for example

  • @juansebastianbarajasnarvae4373
    @juansebastianbarajasnarvae4373 4 หลายเดือนก่อน

    Nice video Klas! I was wondering if i can create a line next to my line feature indicating where it starts and ends and display the length (available as one of my fields)on it at the same time. Since my line is made of many segments the expression that im using (make_line) creates a straight line between these points. Do you know how could i approach this problem? segments_to_lines creates a line for each segment and i want a simple line. My main goal is to get displayed the length of a line (multiline and therefore with curves). Id appritiate any advice :)

  • @ludovicofrate8389
    @ludovicofrate8389 6 ปีที่แล้ว

    Thank you for sharing. In particular, the make_polygon on point geometry could be useful to produce demers cartograms.

    • @trentonsawyer1650
      @trentonsawyer1650 3 ปีที่แล้ว

      i realize Im pretty randomly asking but does anyone know a good place to watch newly released movies online?

  • @iltonmsfreitas
    @iltonmsfreitas 3 ปีที่แล้ว

    Thanks Karlsson! Great!
    How can I get points starting from the "most northerly" vertex, regardless of the order of the polygons vertices?
    Could you help me about this question?

  • @gabde5458
    @gabde5458 9 หลายเดือนก่อน

    Can I dimension the azimuth of the sides of a polygon layer? Thank you so much for the tutorial

    • @KlasKarlsson
      @KlasKarlsson  9 หลายเดือนก่อน

      With a geometry generator or any expression you can use "segments_to_lines" to isolate each segment in the polygon. You can iterate over them, or the vertecies them selves. You can use azimuth( point_n( $geometry, 1), point_n($geometry, 2)) to get the azimuth between vertex number 1 and 2 in radians.
      Nor sure what you are after exactly though...

  • @marceljunioregondi5594
    @marceljunioregondi5594 2 ปีที่แล้ว

    Klas thank you for the tutorial on geometry generator. Thou, am not picking much on it. Like how do you get to know the different functions. Or is it like excel that you keep getting the functions as you use them. Thou, would be good if there is a library for the geometry functions and what they do.

    • @KlasKarlsson
      @KlasKarlsson  2 ปีที่แล้ว

      They are all in the expression builder, with descriptions, so just go through the list by category.

    • @marceljunioregondi5594
      @marceljunioregondi5594 2 ปีที่แล้ว

      @@KlasKarlsson Thank you will do that. Really want to get efficient with using qgis by end of this year. Any hints on how to best do so.

  • @georisiko8021
    @georisiko8021 4 ปีที่แล้ว +1

    Hi Klas - thanks for your great channel, I have learned alot from you! May I kindly ask you how to rotate the rectangles/squares by using a field attribute ? The rectangles needs to have fixed dimensions, lets say 3x6m. And yes, my dataset is a point.shp with "angle" as one of the attributes. Many thanks, Steinar (Norway)

    • @georisiko8021
      @georisiko8021 4 ปีที่แล้ว

      And the origin point should be the centroid of the rectangle.

    • @StefanoVerugi
      @StefanoVerugi 3 ปีที่แล้ว

      @@georisiko8021
      try this:
      rotate( make_polygon(
      make_line(
      make_point(x($geometry)-3,y($geometry)+1.5),
      make_point(x($geometry)+3,y($geometry)+1.5),
      make_point(x($geometry)+3,y($geometry)-1.5),
      make_point(x($geometry)-3,y($geometry)-1.5)
      )),"angle")
      width and length of rectangle are hardwired (w/2, h/2) but you can use the same function with_variable as explained in the video to customize them, maybe from an attribute value?

  • @jadwigatrojak2915
    @jadwigatrojak2915 6 ปีที่แล้ว

    Thanks for this tutorial, especially for MilkyWay stars:)

  • @caswellndlhovu8990
    @caswellndlhovu8990 10 หลายเดือนก่อน

    Great Tutorial, how do you save the created geometry as a new layer.

    • @caswellndlhovu8990
      @caswellndlhovu8990 10 หลายเดือนก่อน

      Also, what can i do to offset lines permanently?

    • @KlasKarlsson
      @KlasKarlsson  10 หลายเดือนก่อน

      Geometry generators are essentially "expression", and you can use the processing tool "Geometry by Expression" to generate the geometrys as actual geometry layers.

  • @Chenshi00
    @Chenshi00 5 ปีที่แล้ว

    do you know how to do a dashed line around a polygon, but to make sure that in every corner the dashed line has never a gap?

  • @santanajulia6311
    @santanajulia6311 3 ปีที่แล้ว

    Dear sir, I have a river shapefile and I wanna symbology it by offset to the right and then to the left simultaneously. Do you how to do it?

    • @KlasKarlsson
      @KlasKarlsson  3 ปีที่แล้ว

      buffer, clip then segments to lines, maybe?

  • @ernestna
    @ernestna 6 ปีที่แล้ว

    wow, awesome Klas.. Thanks

  • @vigneshkathirkamar3113
    @vigneshkathirkamar3113 6 ปีที่แล้ว

    Do anyone know how to create a interactive map in Qgis 3.2 ?

    • @simbazimunya6638
      @simbazimunya6638 5 ปีที่แล้ว

      Mostly U can use the qgis2web plugin, wch creates an html with the map layers and elements you want to show.Then you can now edit your html, with the web development tools you are comfortable with

  • @Chenshi00
    @Chenshi00 6 ปีที่แล้ว

    demonstrate "closest_point" and "distance" would be nice. maybe between a street and all assigned buildings.

  • @Daneil2690
    @Daneil2690 6 ปีที่แล้ว

    Sir Please make videos on Web based application using QGIS

  • @GregBreak
    @GregBreak 5 ปีที่แล้ว

    Where do you find all possible function?

    • @KlasKarlsson
      @KlasKarlsson  5 ปีที่แล้ว

      Well, mostly I use the built in simple explanations that is shown in the expression builder. A basic understanding of code also helps. And there's also hints and tips all over Internet.

  • @QamarAlMimi
    @QamarAlMimi 6 ปีที่แล้ว

    In Minute 21:15 in our expression why we Multiply by 100 ??

    • @KlasKarlsson
      @KlasKarlsson  6 ปีที่แล้ว

      My values are really small so this is to increase the value by a factor of 100.

  • @verniks
    @verniks 5 ปีที่แล้ว

    30:30 lol