2.2.9. Check geometries

Checking the vector file for geometry validity. The output is a CSV file with a list of errors and coordinates and a GeoJSON file with geometries of the location of errors.

Inputs:

  • ZIP archive with vector files.

Single-file formats should be in the root of the archive. For multi-file formats such as ESRI Shapefile, each layer should be put in a separate ZIP inside the main input archive. Input archive may contain mixed files.

../../_images/check_geometries_structure_en.png

Pic. 2.7. Example of possible archive structure. Archive input.zip contains a single-file GeoJSON and a zipped MapInfo TAB

Outputs:

  • CSV file containing the list of errors;

  • GeoJSON file with points marking the placement of the errors.

Launch the tool: https://toolbox.nextgis.com/t/check_geometries

../../_images/check_geometries_result.png

Pic. 2.8. Example output image

Try the tool in action by downloading our example:

Input data set to test the tool. The archive contains step-by-step instructions.

Result example of the tool run.