Hi all,
I am trying to generate distances from ABS meshblock centroids to the coast, using MMQGIS.
Because I am doing this for a large number of meshblocks, I have taken 1 meshblock on an island as a test case.
As shown in the attached picture, the distance line not only does not lead to the nearest part of the coastline line, it also doesn't touch the line at all.
The steps I have taken are as follows:
- I took the meshblock polygons and created a centroid point layer
- I took a Australian map polygon and converted it to a line layer
- I took 1 island meshblock as a test case (saving the point and coast outlines for the island as seperate shapefiles)
- In the MMQGIS plug-in 'Hub Distance' tool I entered the following:
- Source points layer = meshblock centroid point layer
- Destination Hubs layer = island coast line layer
- Hub layer attribute = State name [NB: That this is the only attribute that was present and it has no meaning in terms of the task I am doing]
- Output Shape Type = Line to Hub
- Measurement Unit = Metres
- Equally distributed points across hubs = UNTICKED
- The output is shown in the attached picture - as I mentioned, the hub distance line doesn't go to the coast line and it has already past the closest point on the coast line.
Any help you can give me would really be appreciated.
Thanks
Dave