Creating centerline of river in QGIS? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Finding centrelines from polygons in QGIS?Splitting line into two lines with GRASS GIS?Centroid of the equator and a pointpostgis: problems creating flow direction polyline; not all needed connections are drawnhow to make decent sense from scattered river depth measurementsQGIS Interpolation on Curved Grid (River DEMs)How to create automatic parking baysShortest path creation between two linesclipping layer using query builder in QGISFinding which side of closest polyline point lies on in QGIS?Create centerline from multi-digitized roadway lines Qgis 2.18Getting bathymetric contours confined only within river banks using QGIS?

Multi tool use
Multi tool use

Calculating the number of coins in money change

How could chocolate be as addictive as heroin?

What do you call a plan that's an alternative plan in case your initial plan fails?

Python - Fishing Simulator

Simulating Exploding Dice

Active filter with series inductor and resistor - do these exist?

How can I protect witches in combat who wear limited clothing?

Am I ethically obligated to go into work on an off day if the reason is sudden?

Format single node in tikzcd

Didn't get enough time to take a Coding Test - what to do now?

Why can't wing-mounted spoilers be used to steepen approaches?

How is simplicity better than precision and clarity in prose?

Is there a trick to getting spices to fix to nuts?

What can I do if neighbor is blocking my solar panels intentionally?

Hiding Certain Lines on Table

Wolves and sheep

Make it rain characters

Can the prologue be the backstory of your main character?

Difference between はじめる and ようになる

Using "nakedly" instead of "with nothing on"

Mortgage adviser recommends a longer term than necessary combined with overpayments

Finding the path in a graph from A to B then back to A with a minimum of shared edges

Single author papers against my advisor's will?

Why is "Captain Marvel" translated as male in Portugal?



Creating centerline of river in QGIS?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Finding centrelines from polygons in QGIS?Splitting line into two lines with GRASS GIS?Centroid of the equator and a pointpostgis: problems creating flow direction polyline; not all needed connections are drawnhow to make decent sense from scattered river depth measurementsQGIS Interpolation on Curved Grid (River DEMs)How to create automatic parking baysShortest path creation between two linesclipping layer using query builder in QGISFinding which side of closest polyline point lies on in QGIS?Create centerline from multi-digitized roadway lines Qgis 2.18Getting bathymetric contours confined only within river banks using QGIS?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








5















I made two river bank lines and I want to associate them.



Example_1



I want to make a centerline using two rows as a base. I managed to make the centre line with a lot of work creating several lines from one margin to the other of the river and then using the centroid, but this solution is very tiring and I have to do this in several areas.



Example_2










share|improve this question









New contributor




wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Possible duplicate of Finding centrelines from polygons in QGIS?

    – TomazicM
    3 hours ago

















5















I made two river bank lines and I want to associate them.



Example_1



I want to make a centerline using two rows as a base. I managed to make the centre line with a lot of work creating several lines from one margin to the other of the river and then using the centroid, but this solution is very tiring and I have to do this in several areas.



Example_2










share|improve this question









New contributor




wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Possible duplicate of Finding centrelines from polygons in QGIS?

    – TomazicM
    3 hours ago













5












5








5


2






I made two river bank lines and I want to associate them.



Example_1



I want to make a centerline using two rows as a base. I managed to make the centre line with a lot of work creating several lines from one margin to the other of the river and then using the centroid, but this solution is very tiring and I have to do this in several areas.



Example_2










share|improve this question









New contributor




wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I made two river bank lines and I want to associate them.



Example_1



I want to make a centerline using two rows as a base. I managed to make the centre line with a lot of work creating several lines from one margin to the other of the river and then using the centroid, but this solution is very tiring and I have to do this in several areas.



Example_2







qgis line centroids






share|improve this question









New contributor




wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 59 mins ago









Taras

2,3003729




2,3003729






New contributor




wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 12 hours ago









wallace camelowallace camelo

261




261




New contributor




wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






wallace camelo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Possible duplicate of Finding centrelines from polygons in QGIS?

    – TomazicM
    3 hours ago

















  • Possible duplicate of Finding centrelines from polygons in QGIS?

    – TomazicM
    3 hours ago
















Possible duplicate of Finding centrelines from polygons in QGIS?

– TomazicM
3 hours ago





Possible duplicate of Finding centrelines from polygons in QGIS?

– TomazicM
3 hours ago










2 Answers
2






active

oldest

votes


















3














The surest method for solving your question from the point of view of the cartographic approach is to use the Voronovo Polygons.



I offer one of the solutions to your question using QGIS tools.



So, the initial data is a river as an areal object, see the figure below.
enter image description here



2) Vector> Geometry processing> Convert polygons into lines, see image below
enter image description here



3) Open the closed line QGIS "Split Features" tool and run the GRASS v.split tool, so that the points are evenly distributed along the line and run the Vector> Geometry Processing> Voronoi Polygons tool on them, see the figure below



enter image description here



4) Cut the original Voronovy polygons from the result with Vector> Geoprocessing> Trim and then select only one half of the river area, see the picture below using the Ctrl key and the selection tool enter image description here more
Vector> Geoprocessing> Association by Basis> By all indications.



enter image description here



5) Cut from the source layer the result of the selected left or the right area, see the picture below.



enter image description here



6) Then from the result of cutting create a line, blow it up, remove unnecessary parts and leave the center line of the river, see figure below
enter image description here



This is the main approach to solving your question and it is clear that a variety of tools allows you to solve your question in various ways, but the idea remains the same, good luck ...






share|improve this answer
































    0














    Try the GRASS algorithm v.centerline. You may have to tweak around with the parameters, but as long as your river polygons are longer than they are wide it should work for a large portion of your inputs.






    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "79"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );






      wallace camelo is a new contributor. Be nice, and check out our Code of Conduct.









      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f318721%2fcreating-centerline-of-river-in-qgis%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      The surest method for solving your question from the point of view of the cartographic approach is to use the Voronovo Polygons.



      I offer one of the solutions to your question using QGIS tools.



      So, the initial data is a river as an areal object, see the figure below.
      enter image description here



      2) Vector> Geometry processing> Convert polygons into lines, see image below
      enter image description here



      3) Open the closed line QGIS "Split Features" tool and run the GRASS v.split tool, so that the points are evenly distributed along the line and run the Vector> Geometry Processing> Voronoi Polygons tool on them, see the figure below



      enter image description here



      4) Cut the original Voronovy polygons from the result with Vector> Geoprocessing> Trim and then select only one half of the river area, see the picture below using the Ctrl key and the selection tool enter image description here more
      Vector> Geoprocessing> Association by Basis> By all indications.



      enter image description here



      5) Cut from the source layer the result of the selected left or the right area, see the picture below.



      enter image description here



      6) Then from the result of cutting create a line, blow it up, remove unnecessary parts and leave the center line of the river, see figure below
      enter image description here



      This is the main approach to solving your question and it is clear that a variety of tools allows you to solve your question in various ways, but the idea remains the same, good luck ...






      share|improve this answer





























        3














        The surest method for solving your question from the point of view of the cartographic approach is to use the Voronovo Polygons.



        I offer one of the solutions to your question using QGIS tools.



        So, the initial data is a river as an areal object, see the figure below.
        enter image description here



        2) Vector> Geometry processing> Convert polygons into lines, see image below
        enter image description here



        3) Open the closed line QGIS "Split Features" tool and run the GRASS v.split tool, so that the points are evenly distributed along the line and run the Vector> Geometry Processing> Voronoi Polygons tool on them, see the figure below



        enter image description here



        4) Cut the original Voronovy polygons from the result with Vector> Geoprocessing> Trim and then select only one half of the river area, see the picture below using the Ctrl key and the selection tool enter image description here more
        Vector> Geoprocessing> Association by Basis> By all indications.



        enter image description here



        5) Cut from the source layer the result of the selected left or the right area, see the picture below.



        enter image description here



        6) Then from the result of cutting create a line, blow it up, remove unnecessary parts and leave the center line of the river, see figure below
        enter image description here



        This is the main approach to solving your question and it is clear that a variety of tools allows you to solve your question in various ways, but the idea remains the same, good luck ...






        share|improve this answer



























          3












          3








          3







          The surest method for solving your question from the point of view of the cartographic approach is to use the Voronovo Polygons.



          I offer one of the solutions to your question using QGIS tools.



          So, the initial data is a river as an areal object, see the figure below.
          enter image description here



          2) Vector> Geometry processing> Convert polygons into lines, see image below
          enter image description here



          3) Open the closed line QGIS "Split Features" tool and run the GRASS v.split tool, so that the points are evenly distributed along the line and run the Vector> Geometry Processing> Voronoi Polygons tool on them, see the figure below



          enter image description here



          4) Cut the original Voronovy polygons from the result with Vector> Geoprocessing> Trim and then select only one half of the river area, see the picture below using the Ctrl key and the selection tool enter image description here more
          Vector> Geoprocessing> Association by Basis> By all indications.



          enter image description here



          5) Cut from the source layer the result of the selected left or the right area, see the picture below.



          enter image description here



          6) Then from the result of cutting create a line, blow it up, remove unnecessary parts and leave the center line of the river, see figure below
          enter image description here



          This is the main approach to solving your question and it is clear that a variety of tools allows you to solve your question in various ways, but the idea remains the same, good luck ...






          share|improve this answer















          The surest method for solving your question from the point of view of the cartographic approach is to use the Voronovo Polygons.



          I offer one of the solutions to your question using QGIS tools.



          So, the initial data is a river as an areal object, see the figure below.
          enter image description here



          2) Vector> Geometry processing> Convert polygons into lines, see image below
          enter image description here



          3) Open the closed line QGIS "Split Features" tool and run the GRASS v.split tool, so that the points are evenly distributed along the line and run the Vector> Geometry Processing> Voronoi Polygons tool on them, see the figure below



          enter image description here



          4) Cut the original Voronovy polygons from the result with Vector> Geoprocessing> Trim and then select only one half of the river area, see the picture below using the Ctrl key and the selection tool enter image description here more
          Vector> Geoprocessing> Association by Basis> By all indications.



          enter image description here



          5) Cut from the source layer the result of the selected left or the right area, see the picture below.



          enter image description here



          6) Then from the result of cutting create a line, blow it up, remove unnecessary parts and leave the center line of the river, see figure below
          enter image description here



          This is the main approach to solving your question and it is clear that a variety of tools allows you to solve your question in various ways, but the idea remains the same, good luck ...







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 1 hour ago

























          answered 3 hours ago









          CyrilCyril

          1,1521216




          1,1521216























              0














              Try the GRASS algorithm v.centerline. You may have to tweak around with the parameters, but as long as your river polygons are longer than they are wide it should work for a large portion of your inputs.






              share|improve this answer



























                0














                Try the GRASS algorithm v.centerline. You may have to tweak around with the parameters, but as long as your river polygons are longer than they are wide it should work for a large portion of your inputs.






                share|improve this answer

























                  0












                  0








                  0







                  Try the GRASS algorithm v.centerline. You may have to tweak around with the parameters, but as long as your river polygons are longer than they are wide it should work for a large portion of your inputs.






                  share|improve this answer













                  Try the GRASS algorithm v.centerline. You may have to tweak around with the parameters, but as long as your river polygons are longer than they are wide it should work for a large portion of your inputs.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 1 hour ago









                  wfgeowfgeo

                  1,543518




                  1,543518




















                      wallace camelo is a new contributor. Be nice, and check out our Code of Conduct.









                      draft saved

                      draft discarded


















                      wallace camelo is a new contributor. Be nice, and check out our Code of Conduct.












                      wallace camelo is a new contributor. Be nice, and check out our Code of Conduct.











                      wallace camelo is a new contributor. Be nice, and check out our Code of Conduct.














                      Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f318721%2fcreating-centerline-of-river-in-qgis%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      7U58WsgiOwMdK ujylCfed,jdjlNC7YlQPn91
                      XUB7ZhoVKq8Kgnp2A3AaXemeuotHZfZRY5bAghwD6PdqUy1YUF

                      Popular posts from this blog

                      What is the result of assigning to std::vector::begin()? The Next CEO of Stack OverflowWhat are the differences between a pointer variable and a reference variable in C++?What does the explicit keyword mean?Concatenating two std::vectorsHow to find out if an item is present in a std::vector?Why is “using namespace std” considered bad practice?What is the “-->” operator in C++?What is the easiest way to initialize a std::vector with hardcoded elements?What is The Rule of Three?What are the basic rules and idioms for operator overloading?Why are std::begin and std::end “not memory safe”?