I am an environmental engineer and the aim of my QGIS 2.0 project is to visualize the results of a sewage water system inspection. In a first step I included the hoppers from a csv file and added a google streets layer. Now I have to draw the pipes between the hoppers. One way would be to create a vctor layer and draw one pipe after the other. However, I have 522 pipes to draw. So I wonder whether QGIS is able to do it automatically (draw the line of shortest distance between two hoppers?!)
I tried the "nearest neighbour analysis" After this tutorial (http://www.qgistutorials.com/en/docs/nearest_neighbor_analysis.html) it seems to work for different layers. I would like to find the nearest neighbour points inside of my hoppers layer. I also installed the mmqgis plugin in order to make a hub diagram. I loaded a table with start and end hopper number of the different pipes into qgis and tried to link it with the hopper layer. I got this error message:
Traceback (most recent call last): File "C:\Users\stutte/.qgis2/python/plugins\mmqgis\mmqgis_dialogs.py", line 1427, in run message = mmqgis_hub_lines(self.iface, hubname, hubattr, spokename, spokeattr, savename, 1) File "C:\Users\stutte/.qgis2/python/plugins\mmqgis\mmqgis_library.py", line 3377, in mmqgis_hub_lines spokex = spokepoint.geometry().boundingBox().center().x() AttributeError: 'NoneType' object has no attribute 'boundingBox'
Do you have any idea?