[Qgis-user] Re: python-shapely

Carson Farmer cfarmer at uvic.ca
Fri May 9 14:41:56 PDT 2008


Martin Dobias wrote:
> 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.
>   
Great, thanks Martin.
> Btw. the list of QGIS plugins on your page looks impressive!
>   
Thanks again!
I'll be combining many of these plugins into a single plugin menu over 
the next week or two as well (should make the plugin toolbar a bit less 
messy!)

Cheers,

Carson
> Regards
> Martin
>
>   



More information about the Qgis-user mailing list