Creating centerline of river in QGIS? Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?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?

What happens to sewage if there is no river near by?

Why constant symbols in a language?

How can I make names more distinctive without making them longer?

Gastric acid as a weapon

How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?

Is there any avatar supposed to be born between the death of Krishna and the birth of Kalki?

Using et al. for a last / senior author rather than for a first author

3 doors, three guards, one stone

Is there a documented rationale why the House Ways and Means chairman can demand tax info?

If a contract sometimes uses the wrong name, is it still valid?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

Models of set theory where not every set can be linearly ordered

Problem drawing boxes with arrows in tikZ

How to find all the available tools in macOS terminal?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

What does '1 unit of lemon juice' mean in a grandma's drink recipe?

Should I call the interviewer directly, if HR aren't responding?

Diagram with tikz

"Seemed to had" is it correct?

Antler Helmet: Can it work?

Why is black pepper both grey and black?

What are the motives behind Cersei's orders given to Bronn?

How do I stop a creek from eroding my steep embankment?

How can I fade player character when he goes inside or outside of the area?



Creating centerline of river in QGIS?



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?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;








6















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.















  • 5





    Possible duplicate of Finding centrelines from polygons in QGIS?

    – TomazicM
    yesterday

















6















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.















  • 5





    Possible duplicate of Finding centrelines from polygons in QGIS?

    – TomazicM
    yesterday













6












6








6


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 yesterday









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 2 days ago









wallace camelowallace camelo

311




311




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.







  • 5





    Possible duplicate of Finding centrelines from polygons in QGIS?

    – TomazicM
    yesterday












  • 5





    Possible duplicate of Finding centrelines from polygons in QGIS?

    – TomazicM
    yesterday







5




5





Possible duplicate of Finding centrelines from polygons in QGIS?

– TomazicM
yesterday





Possible duplicate of Finding centrelines from polygons in QGIS?

– TomazicM
yesterday










3 Answers
3






active

oldest

votes


















4














The surest method for solving your question from the point of view of the cartographic approach is to use the Voronoi 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 Voronoi 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 centre 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
































    2














    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


















    • 1





      Can you explain how to use it in QGIS?

      – MrXsquared
      yesterday






    • 1





      @MrXsquared I am actually now surprised to find that this tool is not accessible from the Geoprocessing toolbox, so I guess my answer is not that appropriate to the question.

      – wfgeo
      yesterday


















    1














    The HCMGIS plugin says it does this:




    Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures







    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

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      4














      The surest method for solving your question from the point of view of the cartographic approach is to use the Voronoi 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 Voronoi 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 centre 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





























        4














        The surest method for solving your question from the point of view of the cartographic approach is to use the Voronoi 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 Voronoi 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 centre 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



























          4












          4








          4







          The surest method for solving your question from the point of view of the cartographic approach is to use the Voronoi 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 Voronoi 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 centre 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 Voronoi 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 Voronoi 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 centre 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 11 hours ago









          Taras

          2,3003729




          2,3003729










          answered yesterday









          CyrilCyril

          1,1721217




          1,1721217























              2














              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


















              • 1





                Can you explain how to use it in QGIS?

                – MrXsquared
                yesterday






              • 1





                @MrXsquared I am actually now surprised to find that this tool is not accessible from the Geoprocessing toolbox, so I guess my answer is not that appropriate to the question.

                – wfgeo
                yesterday















              2














              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


















              • 1





                Can you explain how to use it in QGIS?

                – MrXsquared
                yesterday






              • 1





                @MrXsquared I am actually now surprised to find that this tool is not accessible from the Geoprocessing toolbox, so I guess my answer is not that appropriate to the question.

                – wfgeo
                yesterday













              2












              2








              2







              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 yesterday









              wfgeowfgeo

              1,563518




              1,563518







              • 1





                Can you explain how to use it in QGIS?

                – MrXsquared
                yesterday






              • 1





                @MrXsquared I am actually now surprised to find that this tool is not accessible from the Geoprocessing toolbox, so I guess my answer is not that appropriate to the question.

                – wfgeo
                yesterday












              • 1





                Can you explain how to use it in QGIS?

                – MrXsquared
                yesterday






              • 1





                @MrXsquared I am actually now surprised to find that this tool is not accessible from the Geoprocessing toolbox, so I guess my answer is not that appropriate to the question.

                – wfgeo
                yesterday







              1




              1





              Can you explain how to use it in QGIS?

              – MrXsquared
              yesterday





              Can you explain how to use it in QGIS?

              – MrXsquared
              yesterday




              1




              1





              @MrXsquared I am actually now surprised to find that this tool is not accessible from the Geoprocessing toolbox, so I guess my answer is not that appropriate to the question.

              – wfgeo
              yesterday





              @MrXsquared I am actually now surprised to find that this tool is not accessible from the Geoprocessing toolbox, so I guess my answer is not that appropriate to the question.

              – wfgeo
              yesterday











              1














              The HCMGIS plugin says it does this:




              Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures







              share|improve this answer



























                1














                The HCMGIS plugin says it does this:




                Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures







                share|improve this answer

























                  1












                  1








                  1







                  The HCMGIS plugin says it does this:




                  Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures







                  share|improve this answer













                  The HCMGIS plugin says it does this:




                  Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 12 hours ago









                  cskcsk

                  9,8831035




                  9,8831035




















                      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







                      Popular posts from this blog

                      Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                      Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                      Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form