Scroll to navigation

pprepair(1) pprepair(1)

NAME

pprepair - planar partition repair tool

SYNOPSIS


pprepair
[ [-i filename [schemaindex]] [-o filename] [-fix] [-d] | -p [-i filename [ schemaindex]] [-t] [-otnt filename] [-vh] [-sr ratio] [-v] [-au] [-rtnn] [-rtam] [-rtlb] [-rrlb] [-rrrn] [-rpl filename] [-rem filename] [-ot filename] [-otwp filename] [-bd] [-rp] [-owp] [-o filename] [-pi] ]

DESCRIPTION

pprepair (planar partition repair) takes a set of polygons and ensures that they form a valid planar partition, made of valid polygons and having no gaps or overlaps. It can be used as a validator, telling of problems in individual polygons or in the planar partition, and also as an automatic repair tool, outputting a set of polygons that do form a valid planar partition.

OPTIONS

Basic options

Add this file to the triangulation using this schema index
Output the reconstructed polygons in this file
Automagically repair (same as -rrlb -rrrn)
Dissolve the boundaries between regions with the same tag according to the schema index

Possible steps (in usual processing order)

Add this file to the triangulation using this schema index
Tag the triangulation
Output the tagged triangulation with the number of tags to this file
Consider holes as valid
Split invalid regions at triangles with a higher aspect ratio than this
Validate
Allow removing invalid regions (where convenient)
Repair triangles by assigning them to the neighbour present on most sides
Repair triangles by assigning them to a neighbour present on at least 2 sides
Repair triangles by assigning them to the neighbour present along the longest part of their boundary
Repair regions by assigning them to the neighbour present along the longest part of their boundary
Repair regions by assigning them to a random neighbour
Repair by assigning according to the priority list in this file
Repair for edge matching according to the priority list in this file
Output the triangulation to this file
Output the triangulation to this file, including the input file where each triangle came from
Removes unnecessary vertices before reconstruction to support larger data sets (try if you get a segmentation fault)
Reconstruct polygons
Output the reconstructed polygons in this file
Output the reconstructed polygons in this file, including the input file where they came from
Print triangulation information

EXAMPLE

pprepair -i "myInput.shp" -o "myOutput.shp" -fix

SEE ALSO

prepair(1)

02 January 2019