1SHPUTILS(1) shapelib SHPUTILS(1)
2
3
4
6 shputils - shapefile utility
7
9 shputils in_shp_file out_shp_file args
10
12 The program will append to an existing shape file or it will create a
13 new file if needed. Only the items in the first output file will be
14 preserved. When an item does not match with the append theme then the
15 item might be placed to an existing item at the same position and type.
16
17 OTHER FUNCTIONS:
18
19 ○ Describe all items in the dbase file (Use ALL for more than 5000
20 recs.)
21
22 ○ Select a group of shapes from a comma separated selection list.
23
24 ○ UnSelect a group of shapes from a comma separated selection list.
25
26 ○ Clip boundary extent or by theme boundary. Touch writes all the
27 shapes that touch the boundary. Inside writes all the shapes that
28 are completely within the boundary. Boundary clips are only the min
29 and max of a theme boundary.
30
31 ○ Erase boundary extent or by theme boundary. Erase is the direct op‐
32 posite of the Clip function.
33
34 ○ Change coordinate value units between meters and feet. There is no
35 way to determine the input unit of a shape file. Skip this function
36 if the shape file is already in the correct unit. Clip and Erase
37 will be done before the unit is changed. A shift will be done after
38 the unit is changed.
39
40 ○ Shift X and Y coordinates.
41
42
43
44 Finally,
45
46 There can only be one select or unselect in the command line.
47
48 There can only be one clip or erase in the command line. There can only
49 be one unit and only one shift in the command line.
50
51 Examples:
52
53 shputils in.shp out.shp SELECT countycode 3,5,9,13,17,27
54
55 shputils in.shp out.shp CLIP 10 10 90 90 Touch FACTOR Meter Feet
56
57 shputils in.shp out.shp FACTOR Meter 3.0
58
59 shputils in.shp out.shp CLIP clip.shp Boundary Touch SHIFT 40 40
60
61 shputils in.shp out.shp SELECT co 112 CLIP clip.shp Boundary Touch
62
63 USAGE: shputils DescribeShape {ALL}
64
65 USAGE: shputils InputShape OutShape|AppendShape
66
67 { FACTOR FEET|MILES|METERS|KM FEET|MILES|METERS|KM|factor }
68
69 { SHIFT xshift yshift }
70
71 { SELECT|UNSEL Item valuelist }
72
73 { CLIP|ERASE xmin ymin xmax ymax TOUCH|INSIDE|CUT }
74
75 { CLIP|ERASE theme BOUNDARY TOUCH|INSIDE|CUT }
76
77 Note: CUT is not complete and does not create intersections. For more
78 information read programmer comment.
79
80
81
82 March 2022 SHPUTILS(1)