-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Thanks for building the SDK, works great!
I would like to include blocks such as Simplification: true and Classification: true
https://docs.mapflow.ai/api/processing_api.html#customize-processing-with-the-workflow-options
processing = mf.processing.start(name='test',
geometry=aoi,
wd_id=wdid,
provider_name=providername,
url='https://api.mapflow.ai/rest/processings',
token=os.environ.get('MAPFLOW_TOKEN'))
Is this possible? This is not working:
processing = mf.processing.start(name='test',
geometry=aoi,
wd_id=wdid,
provider_name=providername,
url='https://api.mapflow.ai/rest/processings',
blocks=json.dumps({{"name": "Simplification","enabled":"true"},
{"name": "Classification","enabled":"true"},
{"name": "OSM","enabled":"true"},
{"name":"Polygonization","enabled":"true"}}),
token=os.environ.get('MAPFLOW_TOKEN'))