Has anyone had a similar "extreme slow" experience using "Select by location" (Toolbox) and "Spatial query" tool?

I've used both for selecting some points inside a polygon. The data was in SHPs and the point-dataset has 80.000 points (with a lot of attributes) - the poly-dataset is small.

The result was "within" ~14.000 points. QGIS 2.8 and 2.13 need around 10min for the task. I did the same now with ArcGIS 10.3 and it took 4-5 seconds.

Does someone know a better (faster) solution within QGIS ?

  • 3
    Not completely sure but what about creating a spatial index by either Layer Properties > General > Create spatial index or Vector > Data Management Tools > Create Spatial Index... and then running the tools?
    – Joseph
    Feb 29, 2016 at 15:14
  • 2
    Hi! Both datasets have already a spatial index... doing it natively SQL-based with Spatialite is also quite fast. The in QGIS used algorithm seems to be slow compared to ArcGIS or SQLite/Spatial.
    – Flo Xi
    Feb 29, 2016 at 15:55

1 Answer 1


I had similar problems to this, and found that: - The slow issue only occurred on my computer, but was fine on other computers, therefore potentially a memory leakage issue on my computer - The issue fixed itself when I upgraded to QGIS 2.12.3

  • 1
    Did it on 3 different machines and OSes (QGIS 2.8 on Win, QGIS 2.13 on Win and QGIS 2.10 on Linux/Fedora) - always the same...
    – Flo Xi
    Mar 1, 2016 at 6:38

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.