Skip to main content
Hello,

 

 

I have a csv file with columns as ID, NAME. I want to use ID to query Oracle table and create a shape file from that result.

 

 

Currently I am using CSV reader to read csv then querying database using FeatureReader (in where clause CODE=@value(ID)) and writing to shape file. My problem is I am not able to get attributes in shapefile.

 

 

How can I export attributes as well of selected features.

 

 

Cheers
Hi,

 

Have you tried exposing the attributes (attributeExposer) ?
Hi,

 

 

if you have the geometries in an Oracle table and want to add the attributes from the CSV file:
  • One reader for the CSV file
  • One reader for the Oracle (spatial or SDE) table
  • A FeatureMerger on the ID field, CSV features entering as REQUESTOR
  • MERGED output to SHAPE writer

 

David

Reply