[Qgis-user] cannot create an integer attribute with daphnis
Werner Macho
werner.macho at gmail.com
Tue Sep 8 00:36:52 PDT 2009
Hi!
I tested it right now and created a new polygon layer with integer
attributes..
It seems that whenever you enter something like 45.78 it gets truncated
to 45 .. but..and thats probably where this comes from - if you open
layer properties under "Attributes" there is type "Real" entered whereas
it should be Integer.
Probably its only a "wrong String" but the functionality is correct..
regards
Werner
> Hi Maning,
>
> On Tue, 08. Sep 2009 at 13:06:21 +0800, maning sambale wrote:
>
>> When we tried creating a new polygon shapefile, three options for
>> attribute type is listed (string, real, integer). We selected integer
>> but when we loaded the shapefile, attribute table reports it is a REAL
>> number.
>>
>
> How wide is your integer? OGR will recognize any integer as real when it's
> width exceeds 10 digits.
>
>
> Jürgen
>
>
More information about the Qgis-user
mailing list