Hi all,
So, I've got this small data set of 12 locations in the Netherlands.
I would like to create a distance matrix that tells me what the distance (as the crow flies) is between each point.
I figured that I could use FME for this.
I think I managed to get quite far, but now I'm stuck and in need of some assistance :-(.
So what did I do so far?
I first created a workspace that reads the data set and then uses the FromToBuilder transformer in combination with an AttributeManager transformer to determine distance from one manually selected point to all other points. A csv-writer writes the resulting table to a csv-file.
Secondly, I added a new published parameter in combination with the Workspace Runner transformer to run through the 12 points. So that I don't have to run the workspace 12 times and manually assign a point to the to-port of the from-to transformer.
This generates a csv-file of 12x12=144 features.
I'm no stuck figuring out how to convert the 1x144 table to a 12x12 matrix. With attributenames corresponding to the ID's of the 12 points in the dataset.
Any ideas how I should proceed? Or should I start over and follow a different path?
Help will be greatly appreciated
Many thanks in advance
Rolf
P.S. coord. syst is 'Netherlands-RDNew-2008'