KML to geodata
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
Convert KML, KMZ to structured geodata (GeoJSON). This tool can work with attachments (photo) and can parse structured tables added to description of the KML feature.
Inputs:
Source data - KML or KMZ file;
Field names - Fields of the table from the description section which should be processed. Comma-separated list, no spaces;
Only files in the archive - If checked, the resulting GeoJSON will mention only the files that are present in the archive;
Ignore KML extended data - If checked, lc:attachment will be ignored;
Keep Z coordinate - If checked, Z coordinate will be preserved and PointZ/LinestringZ etc geometries will be created.
Outputs:
ZIP-compressed GeoJSON with attachments (if any) in a folder.
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.