Solved

Spiting GeoJSON by Features to hit API separately.


Badge +1

Hello All,

I am using API for retrieving data, post call need be formatted to specific format I have used template to create and upload by post call in HTTPCaller. Template created from ESRI Shapefile it is working fine.

The problem that everything is being loaded into the JSON upload body. But i would like it to be split by e features before it hits the HTTPCaller. If the count is limited it is working but with heavy data API get overloaded so I would like to hit one by one does any one have solution how could I can be done please find attached FME Workbench for reference.

 

icon

Best answer by lars_de_vries 9 April 2019, 16:59

View original

2 replies

Userlevel 6
Badge +33

Looks like you need to put the httpcaller in a custom transformer like jdh suggests in this idea:

https://knowledge.safe.com/content/idea/69036/async-httpcaller.html

 

Badge +10

I recently created this CustomTransformer that I just uploaded to the hub. It creates groups of a given size. This allows to upload smaller datasets via the HTTPCaller. Personally I use it for ArcGIS Online uploads and create groups of 1000 features.

Reply