We are capturing sample points from survey maps. In between two points we have to introduce another point (as in fig), like - if the sample points are 42 and 42.5 we have to introduce another point with value 42.5. Is it possible to automate this process in QGIS using any plugin ?
3 Answers
What are the distances between the columns? The distances between the points in one column are the same? I changed a bit the steps above.
- create buffer with more than half way radius
- cut the overlapping areas as separate polygons
- create a calculated field to represent the area sizes. If the distances between point to point in column and column to column are different than you should get different area sizes. Check what is your average size of "point to point in column" polygons
- query to select this sizes and generate the centroids based on selection or query to select the positive false intersections and delete them and generate the centroids on the rest.
- polygons in QGIS) generate the centroids of these polygons
Hope it helps.
-
Will definitely try this and let you know. Currently am doing this in excel.– joseph_kMay 6, 2015 at 8:34
If you connect your original points with lines (maybe using the points2one or PonitConnector plugin), you can:
- buffer those lines with a small value
- calculate the centroid of the buffers
You still have to calculate the value at the new points.
Alternatively, using an excel table with coordinates and values:
x = ( x1 + x2 ) / 2
y = ( y1 + y2 ) / 2
v = ( v1 + v2 ) / 2
This requires the neighbouring points in one line, or following lines.
-
Already started to use excel for this. Exported the table to xls and introduced empty rows alternatively and got the average between two cells. Worked like a charm– joseph_kMay 6, 2015 at 8:33
I have an idea what may can help you, but I couldnt test it (I am not sure where are the necessary functions in qgis, but they should be available because the steps are built up from general GIS concepts)
I presume (based on the picture) the distance between the points are constant or near constant. Steps:
- create buffer with more than half way radius
- cut the overlapping areas as separate polygons (How to clip a single layer of overlapping polygons in QGIS)
- generate the centroids of these polygons
-
It worked. But the thing is, we have 15 columns of such points and it didn't work well for that scenario. It worked great for a single line of points.– joseph_kMay 4, 2015 at 5:08