Skip to main content

All,

I am thinking of combining geometries and CSV data. This is the case: I have 2D polygons with among others a linking attribute say attr1. For example geometry 1, geometry 2. (10000 geometries) I like to project an CSV file (10000 records) without geometries or coordinates in an 0/1/M:0/1/M as points (random) on the polygons bases on the same value of attr1. So polygon 1 point 2 and 3 and polygon 2 point 6 and polygon 3 no points etc.

What is the easiest/fastest way to calculate?

I am using FME2014 SP2.

Thanks in advance!

Maarten

First part is easy: the Joiner would be the best way to do this. It will create a list in case there's a 1:N relationship and a _matched_records attribute showing how many records matched.

Next step is to randomly generate points within the polygons, there is a RandomPointGenerator custom transformer in the FME Store and it's listed as supported in FME 2014 SP3 and higher. You could give that a try...

Hope this helps.

 


Thank you @redgeographics 🙂 I will try this and let you know! Maarten


Reply