[Qgis-user] Bug in Expressions related to big integers?

Anita Graser anitagraser at gmx.at
Sun Apr 7 04:05:05 PDT 2013


Hi,

Testing Select by expression, I ran into the following odd situation: I'm  
using the lakes.shp from the QGIS sample data and the following two  
expressions return different results:

$area > 28386358480

selects all lakes, even though only one is that big

$area > 28386358480.0

returns the correct result and only one lake is selected.

Can you confirm? Is it an integer problem?

Best wishes,
Anita



More information about the Qgis-user mailing list