Hey all,

Older versions of ShapefileDataStore (2.3 was the last one I checked)
didn't support setting the number of decimals for numeric types in DBF
records.  See DbaseFileHeader.addColumn(...), which does allow setting
a decimal count.  Is this supported in the 2.6 version of
ShapefileDataStore?

I didn't see anything likely in AttributeTypeFactory, unless you can
use AttributeTypeFactory.createAttributeType(String name, Class type,
boolean isNillable, int fieldLength, Object defaultValue, Object
metaData)  and somehow pass the decimal count in the metadata field.

Thanks...........           Larry

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to