1SHPCREATE(1)                       shapelib                       SHPCREATE(1)
2
3
4

NAME

6       shpcreate - create an empty ESRI shapefile
7

SYNOPSIS

9       shpcreate shp_file [point|arc|polygon|multipoint]
10

DESCRIPTION

12       Creates  an empty shapefile supporting shapes of the given type. Shape‐
13       files actually consist of two files with the same basename  and  exten‐
14       sions  .shp  and  .shx (or .SHP and .SHX) containing the shape data and
15       shape index respectively. The files to create are determined  by  first
16       stripping any filename extension from shp_file and attempting to create
17       the  files  shp_file.shp   or   shp_file.SHP,   and   shp_file.shx   or
18       shp_file.SHX  for  the  respective  data and index files. The supported
19       values for the shapetype argument are: point, arc, polygon, and  multi‐
20       point.
21

OPTIONS

23       shp_file
24              the name of the shapefile to be created. Doesn´t need the exten‐
25              sion
26
27       point|arc|polygon|multipoint
28              the type of shapefile that you wish to create.  Must  specify  a
29              valid option.
30

EXAMPLE

32       shpcreate testpolygon polygon
33
34       this  will  create a polygon shapefile named testpolygon (in fact test‐
35       polygon.shp and testpolygon.shx will be created).
36

EXIT STATUS

38       0      Successful program execution.
39
40       1      Missing shp_file or shapetype argument.
41
42       2      Unknown shapetype.
43
44       3      Unable to create the shapefile.
45

DIAGNOSTICS

47       The following diagnostics may be issued on stdout:
48
49       Shape Type `shapetype´ not recognised.
50
51       Unable to create:shp_file
52

AUTHOR

54       dbfdump is part of shapelib, maintained by Frank Warmerdam. This  guide
55       was  created by Eduardo Patoo Kanegae and converted to manpage by Johan
56       Van de Wauw. It was further enhanced  with  the  man  page  written  by
57       Joonas Pihlaja (jpihlaja@cc.helsinki.fi).
58

SEE ALSO

60       dbfadd(1),  dbfcat(1), dbfcreate(1), dbfdump(1), dbfinfo(1), shpadd(1),
61       shpcat(1), shpcentrd(1), shpdump(1), shpdxf(1), shpfix(1),  shpinfo(1),
62       shpproj(1), shprewind(1), shptest(1)
63
64
65
66                                   July 2019                      SHPCREATE(1)
Impressum