1

I'm new on GIS.

We were migrating from an old map program to QGIS.

My problem is that I need to have Polygons with data.

And I have the information that I need in the polygons in "entities" points. ("Text" is the information that I need on my polygon below).

enter image description here

Polygons has not "UniqueID" so I can't join information from Key fields. So there are no attributes in them.

enter image description here

I just need the information the points to the polygons below.

I've tried to join attributes by location. But is not working.

This is the layer with the information that I need. enter image description here

And here's the polygon that I need the information.

When I try to join attributes by location I get this: enter image description here There are the titles but not the information.

What am I doing wrong?

3
  • 1
    As we can see on your screenshots, your layers don't have CRS. You need to set the coordinate system first.
    – katagena
    Jun 23 at 9:28
  • You're right! @katagena! I changed it ! Thank you so much!
    – Sinh
    Jun 23 at 10:19
  • As per the help center please do not include chit chat like thanks within your posts.
    – PolyGeo
    Jun 23 at 11:36

1 Answer 1

1

One of the key features of GIS is to be able to do a spatial join. So you don't need a primary key like you would in a standard relational database.

You can use QGIS to do a "spatial join" which will join the points with the polygon that contains them:

Vector -> Data Management Tools -> Join Attributes by Location

enter image description here

Make sure you choose the correct layers, geometric predicate and join type for your specific data.

2
  • Thank you, Dave! Seems that's what I need to go for. I'm still having trouble. It did not work. I guess I'm doing something wrong. I'm going to edit more the question as I can't give images here.
    – Sinh
    Jun 23 at 9:13
  • As per the help center please do not include chit chat like greetings within your posts.
    – PolyGeo
    Jun 23 at 11:38

Your Answer

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

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