.\" generated with Ronn-NG/v0.9.1 .\" http://github.com/apjanke/ronn-ng/tree/0.9.1 .TH "SHPUTILS" "1" "December 2023" "" "shplib" .SH "NAME" \fBshputils\fR \- shapefile utility .SH "SYNOPSIS" \fBshputils\fR \fIin_shp_file\fR \fIout_shp_file\fR \fIargs\fR .SH "DESCRIPTION" The program will append to an existing shape file or it will create a new file if needed\. Only the items in the first output file will be preserved\. When an item does not match with the append theme then the item might be placed to an existing item at the same position and type\. .P OTHER FUNCTIONS: .IP "\[ci]" 4 Describe all items in the dbase file (Use ALL for more than 5000 recs\.) .IP "\[ci]" 4 Select a group of shapes from a comma separated selection list\. .IP "\[ci]" 4 UnSelect a group of shapes from a comma separated selection list\. .IP "\[ci]" 4 Clip boundary extent or by theme boundary\. Touch writes all the shapes that touch the boundary\. Inside writes all the shapes that are completely within the boundary\. Boundary clips are only the min and max of a theme boundary\. .IP "\[ci]" 4 Erase boundary extent or by theme boundary\. Erase is the direct opposite of the Clip function\. .IP "\[ci]" 4 Change coordinate value units between meters and feet\. There is no way to determine the input unit of a shape file\. Skip this function if the shape file is already in the correct unit\. Clip and Erase will be done before the unit is changed\. A shift will be done after the unit is changed\. .IP "\[ci]" 4 Shift X and Y coordinates\. .IP "" 0 .P Finally, .P There can only be one select or unselect in the command line\. .P There can only be one clip or erase in the command line\. There can only be one unit and only one shift in the command line\. .P Examples: .P shputils in\.shp out\.shp SELECT countycode 3,5,9,13,17,27 .P shputils in\.shp out\.shp CLIP 10 10 90 90 Touch FACTOR Meter Feet .P shputils in\.shp out\.shp FACTOR Meter 3\.0 .P shputils in\.shp out\.shp CLIP clip\.shp Boundary Touch SHIFT 40 40 .P shputils in\.shp out\.shp SELECT co 112 CLIP clip\.shp Boundary Touch .P USAGE: shputils \fIDescribeShape\fR {ALL} .P USAGE: shputils \fIInputShape\fR \fIOutShape|AppendShape\fR .P { \fIFACTOR\fR \fIFEET|MILES|METERS|KM\fR \fIFEET|MILES|METERS|KM|factor\fR } .P { \fISHIFT\fR \fIxshift\fR \fIyshift\fR } .P { \fISELECT|UNSEL\fR \fIItem\fR \fIvaluelist\fR } .P { \fICLIP|ERASE\fR \fIxmin\fR \fIymin\fR \fIxmax\fR \fIymax\fR \fITOUCH|INSIDE|CUT\fR } .P { \fICLIP|ERASE\fR \fItheme\fR \fIBOUNDARY\fR \fITOUCH|INSIDE|CUT\fR } .P Note: CUT is not complete and does not create intersections\. For more information read programmer comment\.