SequenceGenerator

From fmepedia

The transformer assigns random integer values to features in a given range, which is defined by the starting value and the number of features entering the transformer. Generated values are stores in the _random_int attribute.

This transformer uses an online service at http://random.org. Randomness is generated via atmospheric noise. See http://www.random.org/clients/http/ for details. The page http://www.random.org/quota/ contains information about quotas.

The attached attachment 'SequenceGenerator.fmw workspace' not found generates a grid consisting of 25 squares and fills them with numbers from 1 to 25 in a random order. If you can find all the numbers in less than 25 seconds, then you can do it faster than me (although I don't state it's a good result). The workspace can be easily modified so it will generate more numbers.

Note that the maximum number of random numbers you can get per request (one run) is 10,000.

Note also, that if you supply incorrect parameter combination, an HTTP status code 503 (Service Unavailable) will be returned. To debug the error, you can use the _url generated by the transformer in your browser, which will give you the reason for the error. I filed an enhancement PR, which will allow passing this message onto features.

For more details and examples check Using_Random.org_service.

Attached Files
filesizedate
FindAllNumbers.png11.4 kB01/31/08
SequenceGenerator.fmw93.2 kB01/31/08
SequenceGenerator.fmx49.7 kB01/31/08
User Comments Add a new comment