Skip to main content
Question

Creating Grid for specified no. of features

  • November 28, 2014
  • 4 replies
  • 65 views

How can we create a Grid using FME workbench such that each grid consist only 100 features in it? 
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

nilsur
Contributor
Forum|alt.badge.img
  • Contributor
  • 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+12
  • 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 :)