[Qgis-user] Drop the points and show only clusters

krishna Ayyala ayyalakrishna at gmail.com
Sun Jan 30 08:45:05 PST 2022


Hello,

I am re-posting this question. I have a point shape with about 1000 points.
On the map, I wish to show only those points that are within 1000ft of each
other and drop the rest of the points.

 I have used the "overlay_nearest" formula for my points layer.
Irrespective of whatever number I assign for "max_distance" I am getting
the value 1 for the new field for all the 1000 records of the points layer.
i.e. I am not getting 0 value for any of the records. I tried for various
distances starting from 1 upto 1000. For ex:1,5,10,100,500,1000 etc. I am
getting the value only 1 for all the records of the new field. My map units
are set to meters.

I have used the below formula and changed the max_distance to different
values as mentioned above. I am herewith attaching the points shapefile
again.

overlay_nearest('Points',max_distance:=1000)



Regards.


[image: image.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220130/8dbba53e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 21300 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220130/8dbba53e/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1000Points.zip
Type: application/x-zip-compressed
Size: 22033 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220130/8dbba53e/attachment-0001.bin>


More information about the Qgis-user mailing list