Tutorials
Here are some tutorials that you may find helpful....
Display a raster layer from GRIDit in QGIS
You can use the Web Map Service (WMS) API in GRIDit to display a raster image in QGIS (support is limited to raster files).
How to display GRIDit raster layers in QGIS
In order to be able to import the WMS service into QGIS these steps need to be taken:
1. Get the URL from GRIDit
This looks like this:
3. Get user authentication key from GRIDit
In GRIDit and open the ‘Organization Settings’:
Click on ‘Users’ and find your email address which gives you access to GRIDit.4. On the far right click the 3 dots and select ‘Generate API Key’ and copy it:
4. Create a new connection in QGIS
In QGIS click the + to open the authentication:
Again click on the + and enter the header key (X-API-Key) and the API key itself copied from GRIDit into ‘Header value’:
Then click ‘Save’ and in the next screen ‘OK’.
The raster layers should now be available in QGIS.
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.
The Plugin can be installed from ZIP (QGIS-Plugin-to-create-Routes.zip). The tool will create a single layer GeoPackage (.gpkg) that can be used to create a layer in GRIDit.
1. Install QGIS Plugin
- Download the zip from this link.
- Extract the zip to you computer. Within the zip is another zip xyzkp_to_3d_line_plugin.zip
- 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.