I'm trying to join a point layer to a polygon layer to get a specific field in the attribute table into the polygon layer. I want the polygon layer "Zone" to have the field "Improved" from the point layer "Permits". Is there a way to join based on location? All the points in "Permits" are located within the respective polygons in "zone". I've tried performing a Join Attributes by location" but the fields in the new layer end up being blank.

  • 1
    Join attributes by location seems to be the right tool. Can you describe your point layer "Permits"? One possibility is the "Permits" does not have any numerical fields. (If "Improved" field is string (text), it will be left-aligned on the attribute table.)
    – Kazuhito
    Commented May 16, 2017 at 17:36
  • The permits does have quite a few numerical fields with several site ID fields and an object ID field. I'm choosing the "within" geometric predicate, is this correct? Does it join any point within each polygon?
    – Aurust
    Commented May 16, 2017 at 18:27
  • If you set Target layer = polygon and Join layer = points (as @mapperx's good instruction), you will not be able to choose "within" predicate.
    – Kazuhito
    Commented May 16, 2017 at 22:29
  • @Aurust you need to try out each of Geographic predicate to get the right one, (I can remember the right one). Try each of the options and lets know what you get. In case you still need assistance, would check it for you.
    – mapperx
    Commented May 17, 2017 at 4:02
  • I'm making a bit more progress but still am not getting what I want. Now I get about 15 entries with fields that are filled in even though I know there should be hundreds of entries. Each zone should have an entry.
    – Aurust
    Commented May 17, 2017 at 20:58

1 Answer 1


To join attribute from one layer to another you can click the Join attribute by location tool under the Vector tab. This will open the tool screen. Choose the Target layer which is the one you want to add data to ie Zone and the Join layer which is the layer with data you want to transfer Permits. Depending on the version of qgis you use it might be slightly different. I am running QGIS 2.18.3. Then you need to choose a Geometric predicate (not sure the exact option) you can try out one of the different options from intersect, touches, overlap or crosses. And then choose the take attribute of first located feature. Check and choose any other appropriate options form the menu and save to choice location


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.