'\" -*- coding: us-ascii -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH prepair 1 "08 May 2015" "" "" .SH NAME prepair \- repair GIS polygons .SH SYNOPSIS 'nh .fi .ad l \fBprepair\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu [\fB--wkt\fR \fIstring\fR | \fB-f\fR \fIfile\fR | \fB--ogr\fR \fIfile\fR] [\fB--robustness\fR] [\fB--minarea\fR \fIAREA\fR] [\fB--isr\fR \fIGRIDSIZE\fR] [\fB--time\fR] [\fB--shpOut\fR] 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBprepair\fR 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. .SH OPTIONS .TP \*(T<\fB\-\-wkt\fR\*(T> \fI'POLYGON(0 0, 1 0, 1 1, 0 0)'\fR Process polygon from WKT string .TP \*(T<\fB\-f\fR\*(T> \fIinfile.txt\fR Process polygon from WKT string on the first line of the file .TP \*(T<\fB\-\-ogr\fR\*(T> \fIinfile.shp\fR Process first polygon of the input file .TP \*(T<\fB\-\-robustness\fR\*(T> Compute the robustness of the input/output .TP \*(T<\fB\-\-setdiff\fR\*(T> Uses the point set topology paradigm (default: odd-even paradigm) .TP \*(T<\fB\-\-minarea\fR\*(T> \fIAREA\fR Only output polygons larger than \fIAREA\fR .TP \*(T<\fB\-\-isr\fR\*(T> \fIGRIDSIZE\fR Snap round the input before repairing .TP \*(T<\fB\-\-time\fR\*(T> Benchmark the different stages of the process .TP \*(T<\fB\-\-shpOut\fR\*(T> Output a shapefile (\*(T<\fIout.shp\fR\*(T>) instead of a WKT .SH "SEE ALSO" \fBpprepair\fR(1)