This was probably asked before but I am not very good with the terminology so cannot seem to find what I am looking for.
I have a large set of data that has the parameters; date, longitude, and latitude. I downloaded a shapefile with the cities of the country the coordinates belong to. For each date, I want to count points in polygon and color the map for each date, and make an animation of it. I have tried using time manager on one CSV that contains all the data, however, I cannot seem to turn the points into polygons when I use it. The only option I can think of is to use count points in polygon for each individual layer (one for each date) but there are hundreds of layers.
Is there any simpler way to do this?
Best Answer
Writing your steps one by one:
Next:
Your problem is: running "Count Points in Polygons" for every date will take forever, and is extremely tedious! The typical solution to this is writing a (Python) script, which will do the repeated step for you.
This can be done with PyQGIS, but it's a bit of a hassle.
It's much easier to do this with e.g. geopandas: