Newsflash
| Quantum GIS Version 0.11.0 has been released. It is available in source form, and as binary executables for Microsoft Windows, Mac OS X, and GNU/Linux. All versions can be obtained from our download page. If the version for your platform is not available please check back in a day or two as some packages are still being built. |
| No Labels on Your PostGIS Layers? |
|
If you are experiencing problems labeling data from PostGIS, the likely cause is your layer lacks a spatial index. The symptoms of this problem are simple: all your features are labeled with the default text chosen from the layer properties dialog. This typically means all your features are labeled with the word: Label.
All PostGIS layers should have a spatial index to improve performance when zooming in or displaying the data at less than full extent. You also need the index to perform spatial queries (see the PostGIS Manual for details).
Checking for Missing Indexes
This will give you a list of tables that lack a spatial index.
Creating a Spatial Index
After creating the index, you should force PostgreSQL to collect statistics using VACUUM ANALYZE. See Section 4.5 of the PostGIS manual for details on creating a spatial index.
Example Note, creating a GiST index can take a long time depending on the number of rows in the table.
Future QGIS Enhancements |


