2

I am using QGIS 2.18.10. I am working in UTM Zone 30 WGS 84.

I have created a vector grid 1000km X 1000 km using the Vector>Research Tools> Create Grid

I have another shapefile which has point data in it.

I am trying to use: Vector>Counts point in polygons, and selecting the correct dataset.

However it is giving me an error: "unknown see log for more details". But that is in the log. So I can't figure out why.

What might I be doing wrong?

  • Could you share both shapefiles? – Mazu_R Aug 9 '17 at 16:06
  • Add the log panel to get more detail on the issue. You're looking at the tool log. Then provide more detail – Liam G Aug 9 '17 at 20:12
  • A grid 1000km X 1000 km is huge and, depending on latitude, it could occupy between 2 (equator) and more than 4 (high latitudes) UTM zones. – xunilk Aug 10 '17 at 3:04
  • Do both datasets have the same CRS? Does your grid have valid geometry? – mixedbredie Aug 10 '17 at 9:42
2

I think that you forget to choose the "Grid Extent" (It should be the Canvas extent or Layer)

1 - Vector> Research Tools> Vector Grid

enter image description here

2 - Vector> Analysis Tools> Count points in polygons

enter image description here

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.