Adding KP signage to cable/pipeline data in QGIS
There is no standard way of adding KP signage to polylines, to do so in GRIDit KP values need to be embedded as measure (M) field to a 3D line (XYZ CSV file) representing cable/pipeline routes. A QGIS Plugin (XYZKP to 3D Line Plugin) has been built by Periplus Solutions to be used in QGIS for this purpose. This tool is not published, you can mail support@gridit.nl and ask for "QGIS Plugin to create Routes.zip"
The Plugin can be installed from ZIP. The tool will create a single layer GeoPackage (.gpkg) that can be used to create a layer in GRIDit.
1. Install QGIS Plugin
- Open QGIS Go to Plugins → Manage and Install Plugins…
- Click the button “Install from ZIP”: You’ll find it in the lower-left corner
- Select the ZIP file: Choose: xyzkp_to_3d_line_Plugin
- Click “Install Plugin”: QGIS will unpack it and install it.
- Activate the Plugin: After installation, ensure the checkbox is enabled
2. Run the plug-in
To add the plug-in to the toolbar: Menu bar / Plugins / Periplus / GRIDit → XYZKP to 3D Line incl. KP
To open the tool: Select ot from the toolbar:
3. Add the KP distance to cable/pipeline
The input CSV for the QGIS Plugin needs to be formatted as shown below. In this CSV the start of a cable route is defined in a 1 meter intervals. Reducing the interval will give more details on the actual position of the pipeline/cable. It is advised to use ‘name’ as attribute containing the cable name. If this is not the case the correct attribute name containing the name needs to be configured in GRIDit after creating the layer.
The attribute (or field-) names may vary, as they can be selected from the pull-down menu in the interface of the Plugin. The Plugin will be automatically populated with the expected fields, however the user can adjust the input parameters by choosing another attribute name from the pull-down menu. The user can also set the desired EPSG code.
4. Create GeoPackage (.gpkg) for import into GRIDit
Run the script. The result is written to a GeoPackage (.gpkg). This dataset can be uploaded into GRIDit (see Add a Layer documentation). Set the object type of your layer to “Project cable/pipeline with depth”. This way the data will become available for the Profile and Burial Assessment tools in GRIDit.
Data is shown in the Profile tool in GRIDit.
5. Additional attributes
Additional attributes from an external table, such as cable characteristics, can be joined to the GeoPackage dataset in QGIS. The additional attributes will become available in GRIDit and can be viewed in the attribute table and info panel.






