Skip to main content
Question

Creating Grid for specified no. of features

  • November 28, 2014
  • 4 replies
  • 12 views

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

4 replies

nilsur
Participant
  • Participant
  • November 28, 2014
Hi Max,

 

Try

 

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

 

 

Nils

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 28, 2014
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. ;)

pratap
Contributor
Forum|alt.badge.img+11
  • Contributor
  • November 29, 2014
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

  • Author
  • February 20, 2015
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 :)

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings