| Creates a FeatureCollection with features whose schema adheres to the one
created in createTestData() and returns it.
This schema is something like:
colDefs[0] "INT32_COL", SeColumnDefinition.TYPE_INTEGER, 10, 0, true
colDefs[1] = "INT16_COL", SeColumnDefinition.TYPE_SMALLINT, 4, 0, true
colDefs[2] = "FLOAT32_COL", SeColumnDefinition.TYPE_FLOAT, 5, 2, true
colDefs[3] = "FLOAT64_COL", SeColumnDefinition.TYPE_DOUBLE, 15, 4, true
colDefs[4] = "STRING_COL", SeColumnDefinition.TYPE_STRING, 25, 0, true
colDefs[5] = "DATE_COL", SeColumnDefinition.TYPE_DATE, 1, 0, true
colDefs[6] = "SHAPE", Geometry, 1, 0, true
Parameters: jtsGeomType - class of JTS geometry to create Parameters: numFeatures - number of features to create. throws: IOException - if the schema for te test table cannot be fetched from thedatabase. throws: IllegalAttributeException - if the feature type created from the test table cannot builda feature with the given attribute values. |