I am working with CSV point data set in QGIS. I have a world data set and I want to make a grid over it then to count the number of points per grid. But while executing the create grid function, QGIS does show processing window and crashed afterward. Also the system goes blank. So every time I have to shutdown the PC and starts again whenever I try to run create grid function. I am using EPSG 4326.

Following some suggestion to similar questions being asked already here, I did increase the dimensions of the grid cell and try to apply over small data set and over small grid extent. But the result was the same, crashing of QGIS then the PC.

qgis crashed and PC go blank after this

What should be done to resolve this issue?

  • 1
    Please Edit the Question to state what projection you are using. Global grids are notoriously hard to generate, because the area of the cells is variable.
    – Vince
    Mar 31 at 13:11
  • 3
    The extent and CRS do not match. Coordinates in EPSG:4326 are between -180/+180 and -90/+90 but your extent shows much bigger numbers.
    – user30184
    Mar 31 at 13:17
  • @Vince I have edited the question by adding the CRS.
    – SA_417
    Mar 31 at 19:35
  • 1
    Try to find out what is the correct CRS for your point data. The one who created the CSV should know the answer. When you know the source CRS you can re-project the data into EPSG:4326, and then create the grid if your aim is to have a global 1 by 1 degree sized grid for your analysis. If you aim at something else, please clarify it.
    – user30184
    Mar 31 at 19:38
  • 1
    Your current coordinates wrap around the globe 88784 times, east to west, and are all in some undefined place 53528745 degrees north of the North Pole.
    – Vince
    Mar 31 at 21:51

1 Answer 1


You are trying to generate a gazillion grid cells, millions of millions.

Your data's CRS is not EPSG:4326 (geographic latitude and longitude) but something else. Once you fix that by assigning the correct CRS to your data you will realize that you did not try to generate one cell per actual 1° but one cell per (my reasonable guess) meter.

Then just choose a more reasonable grid cell size and it should work just fine.

  • Actually, I wanted to generate a grid cell of 3m by 3m for accuracy purposes. Now I have changed the CRS to EPSG 4326 but still the same problem
    – SA_417
    Mar 31 at 19:37
  • 2
    @SA_417 It is not reasonable to create a 3x3 meter grid to cover the globe. The Earth is 510072000 square kilometers. Even if it were topologically possible to generate 9m^2 square cells to cover an oblate spheroid, there would be 566746666666667 of them, and it would take the rest of your days to populate the table.
    – Vince
    Mar 31 at 21:39
  • Thanks guys for the answers. I try to implement the suggestions of yours.
    – SA_417
    Mar 31 at 21:52

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.