.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "SHPSORT" "1" "August 2018" "" "shplib" . .SH "NAME" \fBshpsort\fR \- rewrite a shapefile sorted by a field or by the geometry . .SH "SYNOPSIS" \fBshpsort\fR \fIinfile\fR \fIoutfile\fR \fIfield[;\.\.\.]\fR [<(ASCENDING|DESCENDING)[;\.\.\.]>] . .SH "DESCRIPTION" Rewrite a shapefile sorted by a field or by the geometry\. For polygons, sort by area, for lines sort by length and do nothing for all others\. . .SH "OPTIONS" . .TP \fIinfile\fR input shapefile . .TP \fIoutfile\fR output shapefile . .TP \fIfield[;\.\.\.]\fR one or more fields to use for ordering . .TP [<(ASCENDING|DESCENDING)[;\.\.\.]>] sort order . .SH "AUTHOR" \fBshpsort\fR is part of shapelib, maintained by Frank Warmerdam\. . .SH "SEE ALSO" \fBdbfadd\fR(1), \fBdbfcat\fR(1), \fBdbfcreate\fR(1), \fBdbfdump\fR(1), \fBdbfinfo\fR(1), \fBshpcat\fR(1), \fBshpcentrd\fR(1), \fBshpcreate\fR(1), \fBshpdump\fR(1), \fBshpdxf\fR(1), \fBshpfix\fR(1), \fBshpinfo\fR(1), \fBshpproj\fR(1), \fBshprewind\fR(1), \fBshptest\fR(1)