Reference

prepair(1)

repair GIS polygons

NAME

prepair - repair GIS polygons

SYNOPSIS

prepair [--wkt string | -f file | --ogr file] [--robustness] [--minarea AREA] [--isr GRIDSIZE] [--time] [--shpOut]

DESCRIPTION

prepair permits you to easily repair "broken" GIS polygons, and that according to the international standards ISO 19107. In brief, given a polygon stored in WKT, it automatically repairs it and gives you back a valid WKT. Automated repair methods can be considered as interpreting ambiguous or ill-defined polygons and giving a coherent and clearly defined output.

OPTIONS

FC--wktF[0] 'POLYGON(0 0, 1 0, 1 1, 0 0)'

Process polygon from WKT string

FC-fF[0] infile.txt

Process polygon from WKT string on the first line of the file

FC--ogrF[0] infile.shp

Process first polygon of the input file

FC--robustnessF[0]

Compute the robustness of the input/output

FC--setdiffF[0]

Uses the point set topology paradigm (default: odd-even paradigm)

FC--minareaF[0] AREA

Only output polygons larger than AREA

FC--isrF[0] GRIDSIZE

Snap round the input before repairing

FC--timeF[0]

Benchmark the different stages of the process

FC--shpOutF[0]

Output a shapefile (FCout.shpF[0]) instead of a WKT

SEE ALSO

pprepair(1)

History