Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0.RC1
-
Fix Version/s: None
-
Component/s: shapefile plugin
-
Labels:None
-
Environment:Windows, Java
Description
DbaseFileHeader mistakes when a "number" type arrives: it always assigns "Integer" type.
If the number is too big, it could not fit into an Integer (as in my case), so I made this modification in getFieldClass:
case 'N':
if (fields[i].decimalCount == 0)
else
{ typeClass = Double.class; }break;