[postgis-users] Integer (PostGIS) fields become real in QGIS!

Vito Meuli v.meuli at tecnologieavanzate.it
Thu Nov 27 00:59:45 PST 2008


Thank you Paul.
They say it's an (old) OGR problem.
I'll try and ask them a solution.

Regards,
Vito

Alle 17:47, mercoledì 26 novembre 2008, Paul Ramsey ha scritto:
> Tell the QGIS developers to expand their notion of an int to 11
> digits. The whole problem is the mismatch between formal typing in
> C/C++ (integer, float, double) and the "typing" used in DBF headers
> (number(n,m)). QGIS interprets anything over 10 digits as float so
> that it doesn't accidentally bust an integer register trying to load
> 10B into an int. The reason PostGIS uses 11 digits is because valid
> *negative* integers, like -1B require 11 digits.
>
> Sorry,
>
> P
-- 
Ing. Vito Meuli

Tecnologie Avanzate S.r.l.
via B. Croce, 49
70015 Noci (BA)
tel. +39 080 4979652
fax  +39 080 4979263

email: v.meuli at tecnologieavanzate.it
http://www.tecnologieavanzate.it



More information about the postgis-users mailing list