Skip to main content
Solved

Spiting GeoJSON by Features to hit API separately.


amolparande
Forum|alt.badge.img+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.

 

Best answer by lars_de_vries

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.

View original
Did this help you find an answer to your question?

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

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

 


lars_de_vries
Forum|alt.badge.img+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.


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