[Qgis-user] QgsVectorLayer: SQL query

Jürgen E. Fischer jef at norbit.de
Tue Dec 1 04:16:29 PST 2009


Hi Pietro,

On Tue, 01. Dec 2009 at 12:26:47 +0100, Pietro Panzeri wrote:
>    I'm trying to select features of a vector layer using an SQL query and
>    show only selected ones.
>    I used "Query builder" on "Attribute Table" but it's very slow when the
>    vlayer features are a lot (around 200000).

Use the Query builder from the vector layer properties (IIRC only available for
postgis layer in <1.4 and starting with 1.4 also with OGR and spatialite).


Jürgen


-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502




More information about the Qgis-user mailing list