Question

Creating Grid for specified no. of features

  • 28 November 2014
  • 4 replies
  • 0 views

How can we create a Grid using FME workbench such that each grid consist only 100 features in it? 

4 replies

Hi Max,

 

Try

 

2DGridCreator (>100 cells in total) => Sampler(100 first)

 

 

Nils
Badge +3
100 features in the grid (of undefinde size) or a 100cell grid (10x10;2x50 etc.)?

 

 

First would be more complex if possible at all depending on the inputdata. ;)
Badge +2
Hi,

 

 

If the grid size doesnot matter then you can use counter and filter the features by 1 to 100 & 101 to 200 so on.

 

Later use the boundsextractor,BoundingBoxReplacer and dissolver for each set.

 

rid will be ready for each 100 features...

 

 

Pratap
Hi Pratap,

 

 

Thank you for your valuable response.

 

 

Well im quite now to the FME environement and as per your solution i did tried grouping the features using list builder and then using boundsextractor, bounding box replacer too but didnt got the desired solution. Can you share a visual representation of how it should be used so as to do it in a right way :)

Reply