[Qgis-user] cannot create an integer attribute with daphnis
maning sambale
emmanuel.sambale at gmail.com
Tue Sep 8 01:02:33 PDT 2009
On Tue, Sep 8, 2009 at 3:36 PM, Werner Macho<werner.macho at gmail.com> wrote:
> 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..
Thanks for testing werner.
We encountered the same behavior adding 900.900 gives 900 in the
attribute table.
> 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
>>
>>
>
>
--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------
More information about the Qgis-user
mailing list