Hi, You choose decimal number - but do you remember to set precision (decimal)? Regards Lene
-----Oprindelig meddelelse----- Fra: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] På vegne af Hakala Oiva (MTT) Sendt: 23. juli 2014 09:38 Til: Werner Macho Cc: qgis-user@lists.osgeo.org Emne: Re: [Qgis-user] Decimal numbers in Qgis More info I open Qgis, create a new shapefile layer, add some attribute with type decimal number, then I allow editing, add a feature and Qgis asks attributes, but when I try to type a decimal separator (. or , ) Qgis does not accept it at all. I tried that several times with original locale and also internally changed en-locale. Always the same behaviour. Oiva ________________________________________ Lähettäjä: Werner Macho [werner.ma...@gmail.com] Lähetetty: 23. heinäkuuta 2014 8:42 Vastaanottaja: Hakala Oiva (MTT) Kopio: qgis-user@lists.osgeo.org Aihe: Re: [Qgis-user] Decimal numbers in Qgis Hi! Is it possible to provide the shapefile somewhere to take a closer look at it? regards Werner On Wed, Jul 23, 2014 at 7:37 AM, Hakala Oiva (MTT) <oiva.hak...@mtt.fi> wrote: > Hi > > I am new here, but in trouble with Qgis. > > I have a BAD problem with decimal numbers in shapefile attribute tables. > > My set: > > Ubuntu Linux 12.04 > Qgis 2.2 > Locale FI > > Example: > > The original number in attribute table is: 342,52189242800 > > Using binary editor I can see, that the internal format in dbf-file is: > 3.42521892428e+002 > > And when I load the shapefile to Qgis, the result is: 3.00000000000 > > That is unaccepteble! In every attribute table all the digits beyond > decimal separator are gone and the result is only integers. > > So, what to do? This kind of prevents me from doing any serious work > with Qgis. I have never used any program before, that cannot handle > decimals! I have tried to use different locale internally in Qgis > (english), but no help. > > Oiva > > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user