I would like to create a shapefile from geometry in oracle table and attributes are stored in CSV.
To explain further, I have 2 tables in oracle spatial e.g. STATES & ZIP with columns like ID, geometry. I would like to create a workbench which will accept ID as parameter and some additional attributes in csv and FME will query STATES or ZIP table to get geometry and create a SHAPE file with additional attribute data from csv.
For this I have created a workbench with
input params : ID
READER : CSV
e.g. CSV contains something like this
ID,NAME,POPULATION,X,Y,Z
1,ANYNAME,100000,ABC,DEF,PQR
FEATUREREADER : to read oracle geometry (currently ueing only one table not sure how to pass tablename ZIP or STATE)
All CSVs will have ID in header plus other headers which may change e.g. CSV headers may vary from 5 to 20.
WRITER : SHAPE(should create tab shape file with whatever attributes in CSV)
But I am not sure how can I append attributes from CSV to SHAPE?
Is there any other way by which I can read geom from oracle spatial and append whatever attributes csv has.
Cheers
John