.\" generated with Ronn-NG/v0.8.0 .\" http://github.com/apjanke/ronn-ng/tree/0.8.0 .TH "SHPPROJ" "1" "February 2019" "" "shplib" .SH "NAME" \fBshpproj\fR \- Reproject Shapefiles using PROJ .SH "SYNOPSIS" \fBshpproj\fR \fIin_shp_file\fR \fIout_shp_file\fR [\fB\-i=\fR\fIin_proj_file\fR | \fB\-i=\fR"\fIin_params\fR" | \fB\-i=geographic\fR] [\fB\-o=\fR\fIout_info_file\fR | \fB\-o=\fR"\fIout_params\fR" | \fB\-o=geographic\fR] .SH "OPTIONS" .TP \fIin_shp_file\fR the name of an existing shapefile\. .TP \fIout_shp_file\fR the name of the new fixed shapefile that will be created\. .TP \fB\-i\fR Input projection\. Input can come from one of three sources\. A projection parameter file, directly through parameters or geographic\. If the shapefile has an associated prj file, name the same as the shapefile but ending in "\.prj" it will be used by default ignoring all other parameters\. If input is omitted it defaults to geographic, unless the default prj file exists\. .TP \fB\-o\fR Output can come from one of three sources\. A projection parameter file, directly through parameters or geographic\. If output is omitted it defaults to geographic\. .SH "PROJECTION DETAILS" .TP PROJECTION PARAMETER FILE This file MUST end with the extension "\.prj"\. It has the form of one projection parameter per line\. Parameters can be in any order\. The projection parameters are those used to define a PROJ projection\. .TP PROJECTION PARAMETERS Are the same as used by proj and invproj\. .P use: proj \-lu to see available units proj \-le to see available ellipsoid .P Or visit the PROJ web page at http://www\.remotesensing\.org/proj for more details\. .SH "EXAMPLE" The following example projects file \fIrowtest\fR to \fIrow3\fR, moving data from Stateplane NAD83 zone 1002 to utm zone 16 in meters .P \fBshpproj\fR \fIrowtest\fR \fIrow\fR \fB\-i=\fR"init=nad83:1002 units=us\-ft" \fB\-o=\fR"proj=utm zone=16 units=m" .P \fBshpproj\fR \fIrowtest\fR \fIrow3\fR \fB\-o=\fR"proj=utm zone=18 units=m" \fB\-i=\fR"zone=16 proj=utm units=us\-ft" .P \fBshpproj\fR \fIrowtest\fR \fIrow3\fR \fB\-o=\fR"proj=utm zone=18 units=m" .P This example uses a prj file and converts to geographic\. note that \fB\-o=geographic\fR can be ommitted\. .P \fBshpproj\fR \fIrowtest\fR \fIrow3\fR \fB\-i=\fR\fImyfile\.prj\fR \fB\-o=geographic\fR .SH "AUTHOR" \fBshpproj\fR is part of shapelib, maintained by Frank Warmerdam\. This guide was created by Eduardo Patoo Kanegae and converted to manpage by Johan Van de Wauw\. .SH "SEE ALSO" \fBproj\fR(1), \fBdbfadd\fR(1), \fBdbfcat\fR(1), \fBdbfcreate\fR(1), \fBdbfdump\fR(1), \fBdbfinfo\fR(1), \fBshpadd\fR(1), \fBshpcat\fR(1), \fBshpcentrd\fR(1), \fBshpcreate\fR(1), \fBshpdump\fR(1), \fBshpdxf\fR(1), \fBshpfix\fR(1), \fBshpinfo\fR(1), \fBshprewind\fR(1), \fBshptest\fR(1)