[Qgis-user] Re: python-shapely

Martin Dobias wonder.sk at gmail.com
Fri May 9 11:30:04 PDT 2008


On Fri, May 9, 2008 at 7:46 PM, Carson Farmer <cfarmer at uvic.ca> wrote:
> [...]
>
> On a related note, does anyone know how to filter fields by type (i.e. only
> select numeric fields (int, double, etc.)?

You can do it by checking value of QgsField.type() and using only
fields with type QVariant.Int and QVariant.Double.

Btw. the list of QGIS plugins on your page looks impressive!

Regards
Martin



More information about the Qgis-user mailing list