hello group,

 I do export directly from oracle (outside datastores) to shapefiles
and miss precision a scale parameters to
AttributeTypeFactory.newAttributeType method for NUMBER(7,2).
 In ShapefileDataStore.java is precision computed as length - 2 which
is wrong for me ...

  int l = Math.min(fieldLen, 33);
  int d = Math.max(l - 2, 0);
  header.addColumn(colName, 'N', l, d);


Jan

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to