[gdal-dev] numeric values in VFK driver

Martin Landa landa.martin at gmail.com
Wed Jun 6 10:27:50 PDT 2018


Hi,

2018-06-05 11:16 GMT+02:00 Even Rouault <even.rouault at spatialys.com>:
> For >= 19 characters, bigint cannot be used indeed. There isn't much other
> choice than storing as a string.

right. In [1] I switched at least to CPLAtoGIntBigEx(). BTW I would
expect that a warning will be printed also on invalid character. But

* 7423849274x is silently parsed as 7423849274
* x7423849274 is silently parsed as 0

Is it expected behaviour of CPLAtoGIntBigEx()?

Martin

[1] https://github.com/OSGeo/gdal/issues/672#issuecomment-395148503

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list