1

I am using QGIS to undertake an analysis for a project.

This involves a polygon shapefile, which represents a boundary of a site, and a series of points which represents the location of parks.

I am able to create labels and numbering of the points quite easily through the custom labeling tool and related queries.

Is there a way to calculate/show the points which are closest to the site boundary (shape polygon) rather than having a random numbering approach?

Which means the closest to the site would say be number 1 and the furthest away would say 12.

  • 1
    What kind of distance do you mean "Euclidean distance" or "Manhattan distance"? – Taras Mar 12 at 10:02
  • 1
    Check the nnjoin plugin. Read carefully the description, at first sight is what you are looking for : "The NNPlugin joins two vector layers (the input and the join layer) based on nearest neighbour relationships. All geometry type combinations are supported. A feature from the input layer is joined to the nearest feature in the join layer. The result of the join is a new vector layer with the same geometry type and coordinate reference system as the input layer." – Gerardo Jimenez Mar 12 at 14:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.