1SHPSORT(1)                         shapelib                         SHPSORT(1)
2
3
4

NAME

6       shpsort - rewrite a shapefile sorted by a field or by the geometry
7

SYNOPSIS

9       shpsort infile outfile field[;...] [<(ASCENDING|DESCENDING)[;...]>]
10

DESCRIPTION

12       Rewrite a shapefile sorted by a field or by the geometry. For polygons,
13       sort by area, for lines sort by length and do nothing for all others.
14

OPTIONS

16       infile input shapefile
17
18       outfile
19              output shapefile
20
21       field[;...]
22              one or more fields to use for ordering
23
24       [<(ASCENDING|DESCENDING)[;...]>]
25              sort order
26

AUTHOR

28       shpsort is part of shapelib, maintained by Frank Warmerdam.
29

SEE ALSO

31       dbfadd(1), dbfcat(1), dbfcreate(1), dbfdump(1), dbfinfo(1),  shpcat(1),
32       shpcentrd(1),   shpcreate(1),  shpdump(1),  shpdxf(1),  shpfix(1),  sh‐
33       pinfo(1), shpproj(1), shprewind(1), shptest(1)
34
35
36
37                                   July 2023                        SHPSORT(1)
Impressum