Creating centerline of river in QGIS? [duplicate] Planned maintenance scheduled April 23, 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?
Did Deadpool rescue all of the X-Force?
Does the Weapon Master feat grant you a fighting style?
How do living politicians protect their readily obtainable signatures from misuse?
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Why is Nikon 1.4g better when Nikon 1.8g is sharper?
Is there any word for a place full of confusion?
How can I reduce the gap between left and right of cdot with a macro?
As a beginner, should I get a Squier Strat with a SSS config or a HSS?
Why do we need to use the builder design pattern when we can do the same thing with setters?
Dating a Former Employee
What is this clumpy 20-30cm high yellow-flowered plant?
SF book about people trapped in a series of worlds they imagine
How would a mousetrap for use in space work?
How to install press fit bottom bracket into new frame
What would you call this weird metallic apparatus that allows you to lift people?
Do any jurisdictions seriously consider reclassifying social media websites as publishers?
How to tell that you are a giant?
Is CEO the "profession" with the most psychopaths?
Is it possible for SQL statements to execute concurrently within a single session in SQL Server?
When a candle burns, why does the top of wick glow if bottom of flame is hottest?
Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?
Do I really need to have a message in a novel to appeal to readers?
How to react to hostile behavior from a senior developer?
Drawing without replacement: why is the order of draw irrelevant?
Creating centerline of river in QGIS? [duplicate]
Planned maintenance scheduled April 23, 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;
This question already has an answer here:
Finding centrelines from polygons in QGIS?
4 answers
I made two river bank lines and I want to associate them.

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.

qgis line centroids
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.
marked as duplicate by Jochen Schwarze, whyzar, ArMoraer, Simbamangu, Erik yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Finding centrelines from polygons in QGIS?
4 answers
I made two river bank lines and I want to associate them.

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.

qgis line centroids
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.
marked as duplicate by Jochen Schwarze, whyzar, ArMoraer, Simbamangu, Erik yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
I think after 6 years a new question is legit and answers provided are not up to date for version 3
– MrXsquared
2 days ago
Yeah, but this question als is 5 years old.
– Erik
yesterday
@Erik it was asked 3 days ago (2019-04-14)
– MrXsquared
yesterday
Yeah, I thought April 14 = April 2014 -.-
– Erik
yesterday
but, no answer is accepted ...
– Cyril
13 hours ago
add a comment |
This question already has an answer here:
Finding centrelines from polygons in QGIS?
4 answers
I made two river bank lines and I want to associate them.

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.

qgis line centroids
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.
This question already has an answer here:
Finding centrelines from polygons in QGIS?
4 answers
I made two river bank lines and I want to associate them.

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.

This question already has an answer here:
Finding centrelines from polygons in QGIS?
4 answers
qgis line centroids
qgis line centroids
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.
edited Apr 14 at 12:05
Taras
2,3703730
2,3703730
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 Apr 14 at 1:01
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.
marked as duplicate by Jochen Schwarze, whyzar, ArMoraer, Simbamangu, Erik yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Jochen Schwarze, whyzar, ArMoraer, Simbamangu, Erik yesterday
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
I think after 6 years a new question is legit and answers provided are not up to date for version 3
– MrXsquared
2 days ago
Yeah, but this question als is 5 years old.
– Erik
yesterday
@Erik it was asked 3 days ago (2019-04-14)
– MrXsquared
yesterday
Yeah, I thought April 14 = April 2014 -.-
– Erik
yesterday
but, no answer is accepted ...
– Cyril
13 hours ago
add a comment |
1
I think after 6 years a new question is legit and answers provided are not up to date for version 3
– MrXsquared
2 days ago
Yeah, but this question als is 5 years old.
– Erik
yesterday
@Erik it was asked 3 days ago (2019-04-14)
– MrXsquared
yesterday
Yeah, I thought April 14 = April 2014 -.-
– Erik
yesterday
but, no answer is accepted ...
– Cyril
13 hours ago
1
1
I think after 6 years a new question is legit and answers provided are not up to date for version 3
– MrXsquared
2 days ago
I think after 6 years a new question is legit and answers provided are not up to date for version 3
– MrXsquared
2 days ago
Yeah, but this question als is 5 years old.
– Erik
yesterday
Yeah, but this question als is 5 years old.
– Erik
yesterday
@Erik it was asked 3 days ago (2019-04-14)
– MrXsquared
yesterday
@Erik it was asked 3 days ago (2019-04-14)
– MrXsquared
yesterday
Yeah, I thought April 14 = April 2014 -.-
– Erik
yesterday
Yeah, I thought April 14 = April 2014 -.-
– Erik
yesterday
but, no answer is accepted ...
– Cyril
13 hours ago
but, no answer is accepted ...
– Cyril
13 hours ago
add a comment |
3 Answers
3
active
oldest
votes
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.
2) Vector > Geometry processing > Convert polygons into lines, see image below
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

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
more
Vector > Geoprocessing > Association by Basis > By all indications.

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

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
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 ...
add a comment |
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.
1
Can you explain how to use it in QGIS?
– MrXsquared
Apr 14 at 14:21
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
Apr 14 at 14:45
add a comment |
The HCMGIS plugin says it does this:
Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
2) Vector > Geometry processing > Convert polygons into lines, see image below
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

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
more
Vector > Geoprocessing > Association by Basis > By all indications.

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

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
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 ...
add a comment |
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.
2) Vector > Geometry processing > Convert polygons into lines, see image below
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

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
more
Vector > Geoprocessing > Association by Basis > By all indications.

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

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
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 ...
add a comment |
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.
2) Vector > Geometry processing > Convert polygons into lines, see image below
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

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
more
Vector > Geoprocessing > Association by Basis > By all indications.

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

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
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 ...
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.
2) Vector > Geometry processing > Convert polygons into lines, see image below
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

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
more
Vector > Geoprocessing > Association by Basis > By all indications.

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

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
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 ...
edited Apr 15 at 18:23
Taras
2,3703730
2,3703730
answered Apr 14 at 9:47
CyrilCyril
1,1821317
1,1821317
add a comment |
add a comment |
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.
1
Can you explain how to use it in QGIS?
– MrXsquared
Apr 14 at 14:21
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
Apr 14 at 14:45
add a comment |
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.
1
Can you explain how to use it in QGIS?
– MrXsquared
Apr 14 at 14:21
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
Apr 14 at 14:45
add a comment |
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.
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.
answered Apr 14 at 11:44
wfgeowfgeo
1,573519
1,573519
1
Can you explain how to use it in QGIS?
– MrXsquared
Apr 14 at 14:21
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
Apr 14 at 14:45
add a comment |
1
Can you explain how to use it in QGIS?
– MrXsquared
Apr 14 at 14:21
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
Apr 14 at 14:45
1
1
Can you explain how to use it in QGIS?
– MrXsquared
Apr 14 at 14:21
Can you explain how to use it in QGIS?
– MrXsquared
Apr 14 at 14:21
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
Apr 14 at 14:45
@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
Apr 14 at 14:45
add a comment |
The HCMGIS plugin says it does this:
Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures
add a comment |
The HCMGIS plugin says it does this:
Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures
add a comment |
The HCMGIS plugin says it does this:
Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures
The HCMGIS plugin says it does this:
Spatial Processing: Create Skeleton/Medial Axis/ Centerline for road/ river networks and similar linear structures
answered Apr 15 at 17:30
cskcsk
10k1135
10k1135
add a comment |
add a comment |
1
I think after 6 years a new question is legit and answers provided are not up to date for version 3
– MrXsquared
2 days ago
Yeah, but this question als is 5 years old.
– Erik
yesterday
@Erik it was asked 3 days ago (2019-04-14)
– MrXsquared
yesterday
Yeah, I thought April 14 = April 2014 -.-
– Erik
yesterday
but, no answer is accepted ...
– Cyril
13 hours ago