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) No edit summary |
||
| 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 11: | Line 12: | ||
* The output file |
* The output file |
||
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> |
|||
<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> |
</ol> |
||
Revision as of 11:35, 21 February 2018
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