Given four coordinates in csv file representing a coordinate system like this:
How can I use data from the table to create rectangle dataset using FME. The dataset should have one feature per line in the csv-file.
OK, I'm assuming your source CSV is a format like:
x1,y1,x2,y2 0,0,10,10 15,15,20,25
So, here you'll use the CSV reader to read the data.
The parameters dialog allows you to pick a column to use as an X and Y coordinate. DO NOT DO THAT! It won't use two columns and setting only one is not going to help.
So, once you have the CSV reader added, simply use a 2DBoxReplacer transformer. Select x1,y1 as the minimum coordinates, x2,y2 as the maximum.
The workspace will look like this:
I also put together a short movie demo at: http://screencast.com/t/dKfXTKkJ7Ell