Strip ZM from vector layer
Saves vector layer to the same format eliminating ZM measurements, e.g. converts geometries from PolygonZ into Polygon.
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 file to same format stripping ZM measurements. E.g., converts geometries from PolygonZ into Polygon.
Input:
Source data - vector file in GeoPackage or GeoJSON format. Geometries could contain Z and/or M measurements.
Output:
GeoPackage or GeoJSON file without ZM coordinates in geometry.
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.