-5

What can I do to speed up QGIS panning and zoom in/out?

I did not include any layer information in my question because it is still subjective. It's just that I cherish having an open source gis package to work with at home. I use ArcGIS at work and it hangs up and dies from time to time but it seems to be just a hair faster when I want to pan and zoom. A few seconds makes a user experience.

EDIT: Adding data is slow. The dialogue box pops up just a bit faster in ArcGIS.

Maybe it's the machine, Intel Core i3?

Justin
  • 3,400
  • 3
  • 32
  • 56
  • Could be you have been down voted because you give no details of the hardware you are using. People need more details if they are to help you. – nigellaw Jan 06 '13 at 18:30
  • 3.68 RAM and 2.4 GHz laptop...in the title. Other info is that my RAM 2.19 GB staying used probably due to postgresql, geoserver and apache all on same machine. – Justin Jan 06 '13 at 18:40
  • your own comparison is part of the answer; ArcGIS, multi thousand dollar software that "hangs up and dies from time to time but it seems just a hair faster" against open source (free) gis package to work with at home. You might say you get what you pay for. – nigellaw Jan 06 '13 at 18:42
  • Assuming you are using a windows OS have you tried running Task manager to see what is using the cycles? – nigellaw Jan 06 '13 at 18:48
  • 5
    @NigelLaw price does not correlate very well with software quality, e.g. R vs Matlab (which are both very good software packages, one costs 0 euro, the other 10.000 euro). – Paul Hiemstra Jan 06 '13 at 18:50
  • 2
    In addition to @NigelLaw, check if your computer is swapping memory. In addition, what CPU do you have? A 2.4 ghz i5 is totally different than a Pentium 4 of the same speed. – Paul Hiemstra Jan 06 '13 at 18:52
  • 1
    Could it be you simply use a better machine at work? It's really impossible to answer your question without specifics! Have you checked the related questions: http://gis.stackexchange.com/search?q=speed+up+qgis – underdark Jan 06 '13 at 18:55
  • 3
    @NigelLaw "against open source (free) gis package to work with at home" People use QGIS all over the world for uses out side of the home. QGIS isn't a toy. – Nathan W Jan 06 '13 at 20:45
  • @NathanW this what I'm trying to understand about qgis. What administrative tasks would require the ecosystem to run a hair faster if even possible. – Justin Jan 07 '13 at 02:19
  • 2
    Use absolute terms. Exactly how long does it take to pan and zoom? "Slow" is meaningless to anyone but yourself. You mentioned you're using a laptop. Does it use a hard disk drive (HDD) or a solid state drive (SSD)? Laptop HDDs are much slower than desktop HDDs, especially after they've started to fill up and become fragmented. What are the details about the layers you are accessing? How many are there? How big are they (number of features, size on disk)? How are they being accessed (stored locally, on the local area network or on the internet)? Do they have spatial indices built? – blah238 Jan 07 '13 at 02:41

2 Answers2

7

I have found the following helps to speed qgis up.

  1. Use a database for vector data - PostGIS or spatialite are both good for this, with spatial indexes on the tables.
  2. If you have to use shapefiles make sure you have built a spatial index in the properties dialog.
  3. Raster layers can show things up. I have found QGIS can be slow with jpg files. I converted my data to tif and built pyramids and tiles in the image and that made things fly. The answers to this question I posted a while back really helped me here QGIS and Raster Mapping in 'Seamless' layer.

These are just 3 examples of things that can help. I am sure there are others.

If you do get slow panning still, as suggested turn off those layers while you pan. You can also turn off the rendering of the map while you change styling. That can help if it is slow doing that.

James S
  • 4,264
  • 2
  • 32
  • 46
3

Try limiting your selected layers to barest minimum while panning and zooming. Add layers back in when you have reached the position and zoom level you want.

nigellaw
  • 1,105
  • 3
  • 12
  • 28