[Qgis-user] distance to nearest point
I want to show a label for a point feature in layer1 that is based on the distance to the nearest point feature from another layer, layer2. Additionally, I want to bring over an attribute from layer2. Last, I'd like to have the cardinal direction toward the object. Is this possible? So, my label for layer1 would look something like this. Point1: 100ft W of pole ID 123 Thanks, Ryan ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] DISTANCE TO NEAREST POINT
Hi Ricardo, You could try GRASS module "v.distance" either from Processing or GRASS plugin. There you can use the same layer as a and b input and specify a minimum distance so you don’t calculate distances between the same geometries in both layers. You can also ask for a vector map with the lines that connect the points with the closest neighbour... Cheers Stefan -Original Message- From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Havard Tveite Sent: torsdag 1. desember 2016 12.58 To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] DISTANCE TO NEAREST POINT MMQGIS does not seem to accept the same layer as source and destination. The NNJoin plugin will calculate the distance to the nearest neighbour and will identify it through its attribute values, but will not help you with the plotting. Håvard On 29. nov. 2016 20:10, Ricardo Thompson wrote: > Good evening, > > I have a vector layer with eight locations and I want to calculate and plot > the distance from each point to the nearest among them. I tried to use MMQGIS > - Create - Hub distance, but nothing really comes out. > > What am I doing wrong? > > Thanks! > > Ricardo > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user > -- Håvard Tveite Department of Mathematical Sciences and Technology, NMBU Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY Phone: +47 67231548 Fax: +47 64965401 http://www.nmbu.no/imt/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] DISTANCE TO NEAREST POINT
MMQGIS does not seem to accept the same layer as source and destination. The NNJoin plugin will calculate the distance to the nearest neighbour and will identify it through its attribute values, but will not help you with the plotting. Håvard On 29. nov. 2016 20:10, Ricardo Thompson wrote: Good evening, I have a vector layer with eight locations and I want to calculate and plot the distance from each point to the nearest among them. I tried to use MMQGIS - Create - Hub distance, but nothing really comes out. What am I doing wrong? Thanks! Ricardo ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user -- Håvard Tveite Department of Mathematical Sciences and Technology, NMBU Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY Phone: +47 67231548 Fax: +47 64965401 http://www.nmbu.no/imt/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] DISTANCE TO NEAREST POINT
Good evening, I have a vector layer with eight locations and I want to calculate and plot the distance from each point to the nearest among them. I tried to use MMQGIS - Create - Hub distance, but nothing really comes out. What am I doing wrong? Thanks! Ricardo ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user