Le jeudi 24 juillet 2014 14:53:02, Martin Landa a écrit : > Hi, > > I have defined some attributes like > > <PropertyDefn> > <Name>PrvekId</Name> > <ElementPath>PrvekId</ElementPath> > <Type>Integer</Type> > <Width>18</Width> > </PropertyDefn> > > but when a value overflows int32 limit it's not handled correctly > (GDAL compiled on 32bit OS). Eg. > > <vf:PrvekId>2272272708</vf:PrvekId> > > becomes > > 2147483647 > > I probably doing something wrong, any idea? Thanks! Martin
Martin, OGR integers are only 32 bit wide for now. There's a draft RFC about introducing 64 bit integers. Pending from being complemented and implemented. In the meantime, you will have to declare the type as String. Even -- Geospatial professional services http://even.rouault.free.fr/services.html _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
