Prepare vector layer for DataLens
The code below uses the Toolbox SDK, which you can install with pip install toolbox-sdk.
Additional Python examples: using SDK, using Requests. If you prefer other programming language or need full API reference, check out Toolbox OpenAPI as well.
Docs
The tool converts vector dataset to a CSV file, compatible with DataLens BI service. Both Geopolygons and Geopoints are supported. Inputs must be points or polygons.
You can get a vector data layer at data.nextgis.com.
See also a detailed instruction on how to upload data to Yandex DataLens.
Inputs:
Input vector – vector data layer or zip-archive.
Outputs:
CSV file ready to be imported in DataLens.
Try the tool in action
Click on the Demo button above the tool form. The fields are filled in with demo values.
Click on the Run button.