Le 04/01/15 23:31, Marc Le Bihan a écrit :
> Corrected a little thing
> DECIMAL (1,0) to (9,0) map to an Integer
> DECIMAL (10,0) to (18,0) map to a Long
> other DECIMAL map to a Double.
Thanks, I think this is a good thing.
> But the problem remain the same : Long is rejected.
In ShapefileByteReader at line 110, the DefaultAttributeType is
unconditionally created with the 'String.class' argument. We need to put
the expected type there, for example 'Long.class'. Of course, this is
different for each attribute.
Martin