1SHPPROJ(1)                         shapelib                         SHPPROJ(1)
2
3
4

NAME

6       shpproj - Reproject Shapefiles using PROJ
7

SYNOPSIS

9       shpproj  in_shp_file  out_shp_file  [-i=in_proj_file | -i="in_params" |
10       -i=geographic] [-o=out_info_file | -o="out_params" | -o=geographic]
11

OPTIONS

13       in_shp_file
14              the name of an existing shapefile.
15
16       out_shp_file
17              the name of the new fixed shapefile that will be created.
18
19       -i     Input projection. Input can come from one of  three  sources.  A
20              projection  parameter  file, directly through parameters or geo‐
21              graphic. If the shapefile has an associated prj file,  name  the
22              same  as  the  shapefile but ending in ".prj" it will be used by
23              default ignoring all other parameters. If input  is  omitted  it
24              defaults to geographic, unless the default prj file exists.
25
26       -o     Output  can come from one of three sources. A projection parame‐
27              ter file, directly through parameters or geographic.  If  output
28              is omitted it defaults to geographic.
29

PROJECTION DETAILS

31       PROJECTION PARAMETER FILE
32              This file MUST end with the extension ".prj". It has the form of
33              one projection parameter per line.  Parameters  can  be  in  any
34              order. The projection parameters are those used to define a PROJ
35              projection.
36
37       PROJECTION PARAMETERS
38              Are the same as used by proj and invproj.
39
40       use: proj -lu to see available units proj -le to see  available  ellip‐
41       soid
42
43       Or  visit  the  PROJ  web page at http://www.remotesensing.org/proj for
44       more details.
45

EXAMPLE

47       The following example projects file rowtest to row3, moving  data  from
48       Stateplane NAD83 zone 1002 to utm zone 16 in meters
49
50       shpproj   rowtest  row  -i="init=nad83:1002  units=us-ft"  -o="proj=utm
51       zone=16 units=m"
52
53       shpproj rowtest row3 -o="proj=utm zone=18 units=m" -i="zone=16 proj=utm
54       units=us-ft"
55
56       shpproj rowtest row3 -o="proj=utm zone=18 units=m"
57
58       This  example  uses  a  prj  file and converts to geographic. note that
59       -o=geographic can be ommitted.
60
61       shpproj rowtest row3 -i=myfile.prj -o=geographic
62

AUTHOR

64       shpproj is part of shapelib, maintained by Frank Warmerdam. This  guide
65       was  created by Eduardo Patoo Kanegae and converted to manpage by Johan
66       Van de Wauw.
67

SEE ALSO

69       proj(1), dbfadd(1), dbfcat(1),  dbfcreate(1),  dbfdump(1),  dbfinfo(1),
70       shpadd(1),    shpcat(1),    shpcentrd(1),   shpcreate(1),   shpdump(1),
71       shpdxf(1), shpfix(1), shpinfo(1), shprewind(1), shptest(1)
72
73
74
75                                   July 2020                        SHPPROJ(1)
Impressum