QGIS Convert Lines to Points: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "=Introduction= There are a number of layers in TUFLOW, for example breaklines, which use both line and point inputs. This page describes the method for converting the vertices a..." |
Chris Huxley (talk | contribs) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
=Introduction= |
=Introduction= |
||
There are a number of layers in TUFLOW, for example breaklines, which use both line and point inputs. This page describes the method for converting the vertices along a line to a separate point file. To perform this operation |
There are a number of layers in TUFLOW, for example breaklines, which use both line and point inputs. This page describes the method for converting the vertices along a line to a separate point file. To perform this operation, you can either use MMQGIS plugin (for more information on this plugin please see [http://michaelminn.com/linux/mmqgis/ http://michaelminn.com/linux/mmqgis/]), or the "Extract Nodes" functionality in the QGIS Geometry Tool. |
||
=Method= |
|||
=Method 1 - MMQGIS plugin= |
|||
<ol> |
<ol> |
||
<li>Ensure that the plugin has been loaded and that the line file is open.</li> |
<li>Ensure that the plugin has been loaded and that the line file is open.</li> |
||
<li>From the menu select '' |
<li>From the menu select ''MMQGIS >> Modify >> Convert Geometry Type''.</li> |
||
[[File:QGIS |
[[File:QGIS L2P 001.png|600px]] |
||
<li>Set the following:<br> |
<li>Set the following:<br> |
||
* The source layer to be the line file you wish to convert |
* The source layer to be the line file you wish to convert |
||
| Line 12: | Line 13: | ||
The plugin will create a new point file which contains all vertices along the line. If you wish to create intermediate points along the line you will need to use an alternate plugin. A plugin called ''Profile from Line'' appears to do this. |
The plugin will create a new point file which contains all vertices along the line. If you wish to create intermediate points along the line you will need to use an alternate plugin. A plugin called ''Profile from Line'' appears to do this. |
||
</ol> |
</ol> |
||
<br> |
|||
=Method 2 - QGIS Geometry Tool= |
|||
<ol> |
|||
<li>From the menu select ''Vector>> Geometry Tools>> Extract nodes''.</li> |
|||
[[File:QGIS Lines to Points 002.png|400px]] |
|||
<li>Set the following:<br> |
|||
* The source layer to be the line file you wish to convert |
|||
* The output file name and location |
|||
Click "Run" and the tool will create a new point file which contains all vertices along the line. |
|||
</ol> |
|||
<br> |
|||
<br> |
|||
{{Tips Navigation |
|||
|uplink=[[QGIS_Tips | Back to QGIS Tips And Tricks]] |
|||
}} |
|||
Latest revision as of 14:41, 22 June 2021
Introduction
There are a number of layers in TUFLOW, for example breaklines, which use both line and point inputs. This page describes the method for converting the vertices along a line to a separate point file. To perform this operation, you can either use MMQGIS plugin (for more information on this plugin please see http://michaelminn.com/linux/mmqgis/), or the "Extract Nodes" functionality in the QGIS Geometry Tool.
Method 1 - MMQGIS plugin
- Ensure that the plugin has been loaded and that the line file is open.
- From the menu select MMQGIS >> Modify >> Convert Geometry Type.
- Set the following:
- The source layer to be the line file you wish to convert
- The new geometry type to Nodes
- The output file
Method 2 - QGIS Geometry Tool
- From the menu select Vector>> Geometry Tools>> Extract nodes.
- Set the following:
- The source layer to be the line file you wish to convert
- The output file name and location
| Up |
|---|