Skip to main content
Hello,

 

I have 2 csv first CSV with Id and other csv with ID plus additional attributes. My aim is to get geometry from Oracle Spatial based on IDs from first CSV using featureReader and then use featureMerger to add addinal attributes from 2nd csv (joining on ID). For some reasons I am not able to write to destination writer. I have created a schema file for writer. I am getting an error as "no schema defined for feature .... " for FeatureReader.

 

 

what I am doing wrong here?

 

Cheers

 

John
Create a schema wich is a combination of the schema from the columns of the oracle table(s) you read and the additional attributes.

 

Then you should have covered all attributes.

 

 
Hi John,

 

 

I don't think the FeatureReader requires a specific schema definition in general.

 

Could you please paste error messages shown on the Log window?

 

 

Takashi
I don't think he needs the schema when using a feature reader as well.

 

But if he does use a schema derived form the tables read by the featurereader and then adds extra attributes, then i gather that the extra attributes are not in the schema. Hence the error.

 

 

Thats why i suggested, if using a schema with the writer, to combine the new attributes with the schema from the tables.
I guess he created a look-up table for the dynamic writer feature type, since he said "I have created a schema file for writer". And I'm wondering whether the feature type name defined in the table matches with actual feature type name to be written.

 

Anyway, cannot specify the reason unless seeing the error log.

Reply