Opened 15 years ago

Closed 15 years ago

#1936 closed enhancement (fixed)

SpatiaLite: support subset string

Reported by: mwalker Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: Data Provider Version: Trunk
Keywords: spatialite subset sql Cc: a.furieri@…, pka
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

This patch adds support for subset strings (SQL where clause) in SpatiaLite layers to limit the dataset.

e.g. setSubsetString("a > 2 AND b = 0")

As the QueryBuilder only works for PostgreSQL at the moment, the subset filter on a SpatiaLite layer can be set using a plugin (layer.setSubsetString("...")) or by appending sql=... to <datasource> in the project file.

Attachments (1)

enh1936_qgsspatialiteprovider_subsetString.diff (4.6 KB ) - added by mwalker 15 years ago.
support for subset strings in SpatiaLite layers

Download all attachments as: .zip

Change History (4)

by mwalker, 15 years ago

support for subset strings in SpatiaLite layers

comment:1 by pcav, 15 years ago

Cc: a.furieri@… added

comment:2 by pka, 15 years ago

Cc: pka added

comment:3 by jef, 15 years ago

Resolution: fixed
Status: newclosed

applied in r11731. Thanks.

Note: See TracTickets for help on using tickets.