@crossbind/port-proj-win32 0.0.0-bootstrap.0 → 2.0.0-beta.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/LICENSE +34 -0
  2. package/README.md +11 -3
  3. package/crossbind.build.js +1 -0
  4. package/crossbind.config.js +8 -0
  5. package/dist/prebuilt/CMakeLists.txt +57 -0
  6. package/dist/prebuilt/win32-arm64-mt-release/crossbind-emccflags.fingerprint +1 -0
  7. package/dist/prebuilt/win32-arm64-mt-release/crossbind-source.fingerprint +1 -0
  8. package/dist/prebuilt/win32-arm64-mt-release/include/geodesic.h +837 -0
  9. package/dist/prebuilt/win32-arm64-mt-release/include/proj/common.hpp +489 -0
  10. package/dist/prebuilt/win32-arm64-mt-release/include/proj/coordinateoperation.hpp +2172 -0
  11. package/dist/prebuilt/win32-arm64-mt-release/include/proj/coordinates.hpp +115 -0
  12. package/dist/prebuilt/win32-arm64-mt-release/include/proj/coordinatesystem.hpp +909 -0
  13. package/dist/prebuilt/win32-arm64-mt-release/include/proj/crs.hpp +1597 -0
  14. package/dist/prebuilt/win32-arm64-mt-release/include/proj/datum.hpp +863 -0
  15. package/dist/prebuilt/win32-arm64-mt-release/include/proj/io.hpp +1431 -0
  16. package/dist/prebuilt/win32-arm64-mt-release/include/proj/metadata.hpp +474 -0
  17. package/dist/prebuilt/win32-arm64-mt-release/include/proj/nn.hpp +385 -0
  18. package/dist/prebuilt/win32-arm64-mt-release/include/proj/util.hpp +781 -0
  19. package/dist/prebuilt/win32-arm64-mt-release/include/proj.h +2318 -0
  20. package/dist/prebuilt/win32-arm64-mt-release/include/proj_constants.h +1050 -0
  21. package/dist/prebuilt/win32-arm64-mt-release/include/proj_experimental.h +52 -0
  22. package/dist/prebuilt/win32-arm64-mt-release/include/proj_symbol_rename.h +318 -0
  23. package/dist/prebuilt/win32-arm64-mt-release/include/projapps_lib.h +68 -0
  24. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj/proj-config-version.cmake +52 -0
  25. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj/proj-config.cmake +71 -0
  26. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj/proj-targets-release.cmake +19 -0
  27. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj/proj-targets.cmake +109 -0
  28. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj/proj4-targets-release.cmake +19 -0
  29. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj/proj4-targets.cmake +109 -0
  30. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj4/proj-targets-release.cmake +19 -0
  31. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj4/proj-targets.cmake +109 -0
  32. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj4/proj4-config-version.cmake +52 -0
  33. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj4/proj4-config.cmake +71 -0
  34. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj4/proj4-targets-release.cmake +19 -0
  35. package/dist/prebuilt/win32-arm64-mt-release/lib/cmake/proj4/proj4-targets.cmake +109 -0
  36. package/dist/prebuilt/win32-arm64-mt-release/lib/libproj.a +0 -0
  37. package/dist/prebuilt/win32-arm64-mt-release/lib/pkgconfig/proj.pc +14 -0
  38. package/dist/prebuilt/win32-arm64-mt-release/share/bash-completion/completions/projinfo +51 -0
  39. package/dist/prebuilt/win32-arm64-mt-release/share/doc/proj/AUTHORS.md +33 -0
  40. package/dist/prebuilt/win32-arm64-mt-release/share/doc/proj/COPYING +34 -0
  41. package/dist/prebuilt/win32-arm64-mt-release/share/doc/proj/NEWS.md +3464 -0
  42. package/dist/prebuilt/win32-arm64-mt-release/share/man/man1/cct.1 +350 -0
  43. package/dist/prebuilt/win32-arm64-mt-release/share/man/man1/cs2cs.1 +516 -0
  44. package/dist/prebuilt/win32-arm64-mt-release/share/man/man1/geod.1 +255 -0
  45. package/dist/prebuilt/win32-arm64-mt-release/share/man/man1/gie.1 +494 -0
  46. package/dist/prebuilt/win32-arm64-mt-release/share/man/man1/proj.1 +318 -0
  47. package/dist/prebuilt/win32-arm64-mt-release/share/man/man1/projinfo.1 +855 -0
  48. package/dist/prebuilt/win32-arm64-mt-release/share/man/man1/projsync.1 +223 -0
  49. package/dist/prebuilt/win32-arm64-mt-release/share/proj/CH +22 -0
  50. package/dist/prebuilt/win32-arm64-mt-release/share/proj/GL27 +23 -0
  51. package/dist/prebuilt/win32-arm64-mt-release/share/proj/ITRF2000 +24 -0
  52. package/dist/prebuilt/win32-arm64-mt-release/share/proj/ITRF2008 +94 -0
  53. package/dist/prebuilt/win32-arm64-mt-release/share/proj/ITRF2014 +55 -0
  54. package/dist/prebuilt/win32-arm64-mt-release/share/proj/ITRF2020 +91 -0
  55. package/dist/prebuilt/win32-arm64-mt-release/share/proj/deformation_model.schema.json +582 -0
  56. package/dist/prebuilt/win32-arm64-mt-release/share/proj/nad.lst +142 -0
  57. package/dist/prebuilt/win32-arm64-mt-release/share/proj/nad27 +810 -0
  58. package/dist/prebuilt/win32-arm64-mt-release/share/proj/nad83 +745 -0
  59. package/dist/prebuilt/win32-arm64-mt-release/share/proj/other.extra +53 -0
  60. package/dist/prebuilt/win32-arm64-mt-release/share/proj/proj.db +0 -0
  61. package/dist/prebuilt/win32-arm64-mt-release/share/proj/proj.ini +59 -0
  62. package/dist/prebuilt/win32-arm64-mt-release/share/proj/projjson.schema.json +1174 -0
  63. package/dist/prebuilt/win32-arm64-mt-release/share/proj/triangulation.schema.json +214 -0
  64. package/dist/prebuilt/win32-arm64-mt-release/share/proj/world +214 -0
  65. package/dist/prebuilt/win32-x64-mt-release/crossbind-emccflags.fingerprint +1 -0
  66. package/dist/prebuilt/win32-x64-mt-release/crossbind-source.fingerprint +1 -0
  67. package/dist/prebuilt/win32-x64-mt-release/include/geodesic.h +837 -0
  68. package/dist/prebuilt/win32-x64-mt-release/include/proj/common.hpp +489 -0
  69. package/dist/prebuilt/win32-x64-mt-release/include/proj/coordinateoperation.hpp +2172 -0
  70. package/dist/prebuilt/win32-x64-mt-release/include/proj/coordinates.hpp +115 -0
  71. package/dist/prebuilt/win32-x64-mt-release/include/proj/coordinatesystem.hpp +909 -0
  72. package/dist/prebuilt/win32-x64-mt-release/include/proj/crs.hpp +1597 -0
  73. package/dist/prebuilt/win32-x64-mt-release/include/proj/datum.hpp +863 -0
  74. package/dist/prebuilt/win32-x64-mt-release/include/proj/io.hpp +1431 -0
  75. package/dist/prebuilt/win32-x64-mt-release/include/proj/metadata.hpp +474 -0
  76. package/dist/prebuilt/win32-x64-mt-release/include/proj/nn.hpp +385 -0
  77. package/dist/prebuilt/win32-x64-mt-release/include/proj/util.hpp +781 -0
  78. package/dist/prebuilt/win32-x64-mt-release/include/proj.h +2318 -0
  79. package/dist/prebuilt/win32-x64-mt-release/include/proj_constants.h +1050 -0
  80. package/dist/prebuilt/win32-x64-mt-release/include/proj_experimental.h +52 -0
  81. package/dist/prebuilt/win32-x64-mt-release/include/proj_symbol_rename.h +318 -0
  82. package/dist/prebuilt/win32-x64-mt-release/include/projapps_lib.h +68 -0
  83. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj/proj-config-version.cmake +52 -0
  84. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj/proj-config.cmake +71 -0
  85. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj/proj-targets-release.cmake +19 -0
  86. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj/proj-targets.cmake +109 -0
  87. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj/proj4-targets-release.cmake +19 -0
  88. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj/proj4-targets.cmake +109 -0
  89. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj4/proj-targets-release.cmake +19 -0
  90. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj4/proj-targets.cmake +109 -0
  91. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj4/proj4-config-version.cmake +52 -0
  92. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj4/proj4-config.cmake +71 -0
  93. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj4/proj4-targets-release.cmake +19 -0
  94. package/dist/prebuilt/win32-x64-mt-release/lib/cmake/proj4/proj4-targets.cmake +109 -0
  95. package/dist/prebuilt/win32-x64-mt-release/lib/libproj.a +0 -0
  96. package/dist/prebuilt/win32-x64-mt-release/lib/pkgconfig/proj.pc +14 -0
  97. package/dist/prebuilt/win32-x64-mt-release/share/bash-completion/completions/projinfo +51 -0
  98. package/dist/prebuilt/win32-x64-mt-release/share/doc/proj/AUTHORS.md +33 -0
  99. package/dist/prebuilt/win32-x64-mt-release/share/doc/proj/COPYING +34 -0
  100. package/dist/prebuilt/win32-x64-mt-release/share/doc/proj/NEWS.md +3464 -0
  101. package/dist/prebuilt/win32-x64-mt-release/share/man/man1/cct.1 +350 -0
  102. package/dist/prebuilt/win32-x64-mt-release/share/man/man1/cs2cs.1 +516 -0
  103. package/dist/prebuilt/win32-x64-mt-release/share/man/man1/geod.1 +255 -0
  104. package/dist/prebuilt/win32-x64-mt-release/share/man/man1/gie.1 +494 -0
  105. package/dist/prebuilt/win32-x64-mt-release/share/man/man1/proj.1 +318 -0
  106. package/dist/prebuilt/win32-x64-mt-release/share/man/man1/projinfo.1 +855 -0
  107. package/dist/prebuilt/win32-x64-mt-release/share/man/man1/projsync.1 +223 -0
  108. package/dist/prebuilt/win32-x64-mt-release/share/proj/CH +22 -0
  109. package/dist/prebuilt/win32-x64-mt-release/share/proj/GL27 +23 -0
  110. package/dist/prebuilt/win32-x64-mt-release/share/proj/ITRF2000 +24 -0
  111. package/dist/prebuilt/win32-x64-mt-release/share/proj/ITRF2008 +94 -0
  112. package/dist/prebuilt/win32-x64-mt-release/share/proj/ITRF2014 +55 -0
  113. package/dist/prebuilt/win32-x64-mt-release/share/proj/ITRF2020 +91 -0
  114. package/dist/prebuilt/win32-x64-mt-release/share/proj/deformation_model.schema.json +582 -0
  115. package/dist/prebuilt/win32-x64-mt-release/share/proj/nad.lst +142 -0
  116. package/dist/prebuilt/win32-x64-mt-release/share/proj/nad27 +810 -0
  117. package/dist/prebuilt/win32-x64-mt-release/share/proj/nad83 +745 -0
  118. package/dist/prebuilt/win32-x64-mt-release/share/proj/other.extra +53 -0
  119. package/dist/prebuilt/win32-x64-mt-release/share/proj/proj.db +0 -0
  120. package/dist/prebuilt/win32-x64-mt-release/share/proj/proj.ini +59 -0
  121. package/dist/prebuilt/win32-x64-mt-release/share/proj/projjson.schema.json +1174 -0
  122. package/dist/prebuilt/win32-x64-mt-release/share/proj/triangulation.schema.json +214 -0
  123. package/dist/prebuilt/win32-x64-mt-release/share/proj/world +214 -0
  124. package/package.json +35 -6
@@ -0,0 +1,516 @@
1
+ .\" Man page generated from reStructuredText.
2
+ .
3
+ .
4
+ .nr rst2man-indent-level 0
5
+ .
6
+ .de1 rstReportMargin
7
+ \\$1 \\n[an-margin]
8
+ level \\n[rst2man-indent-level]
9
+ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
10
+ -
11
+ \\n[rst2man-indent0]
12
+ \\n[rst2man-indent1]
13
+ \\n[rst2man-indent2]
14
+ ..
15
+ .de1 INDENT
16
+ .\" .rstReportMargin pre:
17
+ . RS \\$1
18
+ . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
19
+ . nr rst2man-indent-level +1
20
+ .\" .rstReportMargin post:
21
+ ..
22
+ .de UNINDENT
23
+ . RE
24
+ .\" indent \\n[an-margin]
25
+ .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
26
+ .nr rst2man-indent-level -1
27
+ .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
28
+ .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
29
+ ..
30
+ .TH "CS2CS" "1" "15 Sep 2026" "9.9" "PROJ"
31
+ .SH NAME
32
+ cs2cs \- Cartographic coordinate system filter
33
+ .SH SYNOPSIS
34
+ .INDENT 0.0
35
+ .INDENT 3.5
36
+ .nf
37
+ \fBcs2cs\fP [\fB\-eEfIlrstvwW\fP [args]]
38
+ .in +2
39
+ [[\-\-area <name_or_code>] | [\-\-bbox <west_long,south_lat,east_long,north_lat>]]
40
+ [\-\-authority <name>] [\-\-3d]
41
+ [\-\-accuracy <accuracy>] [\-\-only\-best[=yes|=no]] [\-\-no\-ballpark]
42
+ [\-\-s_epoch {epoch}] [\-\-t_epoch {epoch}]
43
+ ([\fI+opt[=arg]\fP ...] [+to \fI+opt[=arg]\fP ...] | {source_crs} {target_crs})
44
+ file ...
45
+ .in -2
46
+ .fi
47
+ .sp
48
+ .sp
49
+ where {source_crs} or {target_crs} is one of the possibilities accepted
50
+ by \fI\%proj_create()\fP, provided it expresses a CRS
51
+ .INDENT 0.0
52
+ .IP \(bu 2
53
+ a proj\-string,
54
+ .IP \(bu 2
55
+ a WKT string,
56
+ .IP \(bu 2
57
+ an object code (like \(dqEPSG:4326\(dq, \(dqurn:ogc:def:crs:EPSG::4326\(dq,
58
+ \(dqurn:ogc:def:coordinateOperation:EPSG::1671\(dq),
59
+ .IP \(bu 2
60
+ an Object name. e.g \(dqWGS 84\(dq, \(dqWGS 84 / UTM zone 31N\(dq. In that case as
61
+ uniqueness is not guaranteed, heuristics are applied to determine the appropriate best match.
62
+ .IP \(bu 2
63
+ a CRS name and a coordinate epoch, separated with \(aq@\(aq. For example \(dq\X'tty: link mailto:ITRF2014@2025.0'\fI\%ITRF2014@2025.0\fP\X'tty: link'\(dq. (\fIadded in 9.2\fP)
64
+ .IP \(bu 2
65
+ a OGC URN combining references for compound coordinate reference systems
66
+ (e.g \(dq\fI\%urn:ogc:def:crs,crs:EPSG::2393,crs:EPSG::5717\fP\(dq or custom abbreviated
67
+ syntax \(dqEPSG:2393+5717\(dq),
68
+ .IP \(bu 2
69
+ a OGC URN combining references for references for projected or derived CRSs
70
+ e.g. for Projected 3D CRS \(dqUTM zone 31N / WGS 84 (3D)\(dq:
71
+ \(dq\fI\%urn:ogc:def:crs,crs:EPSG::4979,cs:PROJ::ENh,coordinateOperation:EPSG::16031\fP\(dq
72
+ (\fIadded in 6.2\fP)
73
+ .IP \(bu 2
74
+ a OGC URN combining references for concatenated operations
75
+ (e.g. \(dq\fI\%urn:ogc:def:coordinateOperation,coordinateOperation:EPSG::3895,coordinateOperation:EPSG::1618\fP\(dq)
76
+ .IP \(bu 2
77
+ a PROJJSON string. The jsonschema is at \X'tty: link https://proj.org/schemas/v0.4/projjson.schema.json'\fI\%https://proj.org/schemas/v0.4/projjson.schema.json\fP\X'tty: link' (\fIadded in 6.2\fP)
78
+ .IP \(bu 2
79
+ a compound CRS made from two object names separated with \(dq + \(dq. e.g. \(dqWGS 84 + EGM96 height\(dq (\fIadded in 7.1\fP)
80
+ .UNINDENT
81
+ .sp
82
+ Added in version 6.0.0.
83
+
84
+ .sp
85
+ \fBNOTE:\fP
86
+ .INDENT 0.0
87
+ .INDENT 3.5
88
+ before 7.0.1, it was needed to add +to between {source_crs} and {target_crs}
89
+ when adding a filename
90
+ .UNINDENT
91
+ .UNINDENT
92
+ .UNINDENT
93
+ .UNINDENT
94
+ .SH DESCRIPTION
95
+ .sp
96
+ \fI\%cs2cs\fP performs transformation between the source and destination
97
+ cartographic coordinate reference system on a set of input points. The coordinate
98
+ reference system transformation can include translation between projected and
99
+ geographic coordinates as well as the application of datum shifts.
100
+ .sp
101
+ The following control parameters can appear in any order:
102
+ .INDENT 0.0
103
+ .TP
104
+ .B \-I
105
+ Perform the inverse transformation, that is from target CRS to source CRS.
106
+ .UNINDENT
107
+ .INDENT 0.0
108
+ .TP
109
+ .B \-t<a>
110
+ Where \fIa\fP specifies a character employed as the first character to denote a control
111
+ line to be passed through without processing. This option applicable to
112
+ ASCII input only. (# is the default value).
113
+ .UNINDENT
114
+ .INDENT 0.0
115
+ .TP
116
+ .B \-d <n>
117
+ Added in version 5.2.0.
118
+
119
+ .sp
120
+ Specify the number of decimals to round to in the output.
121
+ .UNINDENT
122
+ .INDENT 0.0
123
+ .TP
124
+ .B \-e <string>
125
+ Where \fIstring\fP is an arbitrary string to be output if an error is detected during
126
+ data transformations. The default value is a three character string: \fB*\et*\fP\&.
127
+ .UNINDENT
128
+ .INDENT 0.0
129
+ .TP
130
+ .B \-E
131
+ Causes the input coordinates to be copied to the output line prior to
132
+ printing the converted values.
133
+ .UNINDENT
134
+ .INDENT 0.0
135
+ .TP
136
+ .B \-l<[=id]>
137
+ List projection identifiers that can be selected with \fI+proj\fP\&. \fBcs2cs \-l=id\fP
138
+ gives expanded description of projection \fIid\fP, e.g. \fBcs2cs \-l=merc\fP\&.
139
+ .UNINDENT
140
+ .INDENT 0.0
141
+ .TP
142
+ .B \-lp
143
+ List of all projection id that can be used with the \fI+proj\fP parameter.
144
+ Equivalent to \fBcs2cs \-l\fP\&.
145
+ .UNINDENT
146
+ .INDENT 0.0
147
+ .TP
148
+ .B \-lP
149
+ Expanded description of all projections that can be used with the \fI+proj\fP
150
+ parameter.
151
+ .UNINDENT
152
+ .INDENT 0.0
153
+ .TP
154
+ .B \-le
155
+ List of all ellipsoids that can be selected with the \fI+ellps\fP parameters.
156
+ .UNINDENT
157
+ .INDENT 0.0
158
+ .TP
159
+ .B \-lm
160
+ List of hard\-coded prime meridians that can be selected with the \fI+pm\fP
161
+ parameter. Note that this list is no longer updated,
162
+ and some values may conflict with other sources.
163
+ .UNINDENT
164
+ .INDENT 0.0
165
+ .TP
166
+ .B \-lu
167
+ List of all distance units that can be selected with the \fI+units\fP parameter.
168
+ .UNINDENT
169
+ .INDENT 0.0
170
+ .TP
171
+ .B \-r
172
+ This options reverses the order of the first two expected
173
+ inputs from that specified by the CRS to the opposite
174
+ order. The third coordinate, typically height, remains
175
+ third.
176
+ .UNINDENT
177
+ .INDENT 0.0
178
+ .TP
179
+ .B \-s
180
+ This options reverses the order of the first two expected
181
+ outputs from that specified by the CRS to the opposite
182
+ order. The third coordinate, typically height, remains
183
+ third.
184
+ .UNINDENT
185
+ .INDENT 0.0
186
+ .TP
187
+ .B \-f <format>
188
+ Where \fIformat\fP is a printf format string to control the form of the output values.
189
+ For inverse projections, the output will be in degrees when this option is
190
+ employed. If a format is specified for inverse projection the output data
191
+ will be in decimal degrees. The default format is \fB\(dq%.2f\(dq\fP for forward
192
+ projection and DMS for inverse.
193
+ .UNINDENT
194
+ .INDENT 0.0
195
+ .TP
196
+ .B \-w<n>
197
+ Where \fIn\fP is the number of significant fractional digits to employ for seconds
198
+ output (when the option is not specified, \fB\-w3\fP is assumed).
199
+ .UNINDENT
200
+ .INDENT 0.0
201
+ .TP
202
+ .B \-W<n>
203
+ Where \fIn\fP is the number of significant fractional digits to employ for seconds
204
+ output. When \fB\-W\fP is employed the fields will be constant width
205
+ with leading zeroes. Valid range: \-W0 through \-W8.
206
+ .UNINDENT
207
+ .INDENT 0.0
208
+ .TP
209
+ .B \-v
210
+ Causes a listing of cartographic control parameters tested for and used by
211
+ the program to be printed prior to input data.
212
+ .UNINDENT
213
+ .INDENT 0.0
214
+ .TP
215
+ .B \-\-area <name_or_code>
216
+ Added in version 8.0.0.
217
+
218
+ .sp
219
+ Specify an area of interest to restrict the results when researching
220
+ coordinate operations between 2 CRS. The area of interest can be specified either
221
+ as a name (e.g \(dqDenmark \- onshore\(dq) or a AUTHORITY:CODE (EPSG:3237)
222
+ .sp
223
+ This option is mutually exclusive with \fI\%\-\-bbox\fP\&.
224
+ .UNINDENT
225
+ .INDENT 0.0
226
+ .TP
227
+ .B \-\-bbox <west_long,south_lat,east_long,north_lat>
228
+ Added in version 8.0.0.
229
+
230
+ .sp
231
+ Specify an area of interest to restrict the results when researching
232
+ coordinate operations between 2 CRS. The area of interest is specified as a
233
+ bounding box with geographic coordinates, expressed in degrees in a
234
+ unspecified geographic CRS.
235
+ \fIwest_long\fP and \fIeast_long\fP should be in the [\-180,180] range, and
236
+ \fIsouth_lat\fP and \fInorth_lat\fP in the [\-90,90]. \fIwest_long\fP is generally lower than
237
+ \fIeast_long\fP, except in the case where the area of interest crosses the antimeridian.
238
+ .UNINDENT
239
+ .INDENT 0.0
240
+ .TP
241
+ .B \-\-only\-best[=yes|=no]
242
+ Added in version 9.2.0.
243
+
244
+ .sp
245
+ Force \fIcs2cs\fP to only use the best transformation known by PROJ.
246
+ \fIcs2cs\fP will return an error if a grid needed for the best transformation is missing.
247
+ .sp
248
+ Best transformation should be understood as the most accurate transformation
249
+ available among all relevant for the point to transform, and if all known
250
+ grids required to perform such transformation were accessible (either locally
251
+ or through network).
252
+ .sp
253
+ Note that the default value for this option can be also set with the
254
+ \fBPROJ_ONLY_BEST_DEFAULT\fP environment variable, or with the
255
+ \fBonly_best_default\fP setting of \fI\%proj.ini\fP (\fI\%\-\-only\-best\fP
256
+ when specified overrides such default value).
257
+ .UNINDENT
258
+ .INDENT 0.0
259
+ .TP
260
+ .B \-\-no\-ballpark
261
+ Added in version 8.0.0.
262
+
263
+ .sp
264
+ Disallow any coordinate operation that is, or contains, a
265
+ \fI\%Ballpark transformation\fP
266
+ .UNINDENT
267
+ .INDENT 0.0
268
+ .TP
269
+ .B \-\-accuracy <accuracy>
270
+ Added in version 8.0.0.
271
+
272
+ .sp
273
+ Sets the minimum desired accuracy for candidate coordinate operations.
274
+ .UNINDENT
275
+ .INDENT 0.0
276
+ .TP
277
+ .B \-\-authority <name>
278
+ Added in version 8.0.0.
279
+
280
+ .sp
281
+ This option can be used to restrict the authority of coordinate operations
282
+ looked up in the database. When not specified, coordinate
283
+ operations from any authority will be searched, with the restrictions set
284
+ in the \fBauthority_to_authority_preference\fP database table related to the authority
285
+ of the source/target CRS themselves.
286
+ If authority is set to \fBany\fP, then coordinate operations from any authority will be searched
287
+ If authority is a non\-empty string different of \fBany\fP, then coordinate operations
288
+ will be searched only in that authority namespace (e.g \fBEPSG\fP).
289
+ .sp
290
+ This option is mutually exclusive with \fI\%\-\-bbox\fP\&.
291
+ .UNINDENT
292
+ .INDENT 0.0
293
+ .TP
294
+ .B \-\-3d
295
+ Added in version 9.1.
296
+
297
+ .sp
298
+ \(dqPromote\(dq 2D CRS(s) to their 3D version, where the vertical axis is the
299
+ ellipsoidal height in metres, using the ellipsoid of the base geodetic CRS.
300
+ Depending on PROJ versions and the exact nature of the CRS involved,
301
+ especially before PROJ 9.1, a mix of 2D and 3D CRS could lead to 2D or 3D
302
+ transformations. Starting with PROJ 9.1, both CRS need to be 3D for vertical
303
+ transformation to possibly happen.
304
+ .UNINDENT
305
+ .INDENT 0.0
306
+ .TP
307
+ .B \-\-s_epoch
308
+ Added in version 9.4.
309
+
310
+ .sp
311
+ Epoch of coordinates in the source CRS, as decimal year.
312
+ Only applies to a dynamic CRS.
313
+ .UNINDENT
314
+ .INDENT 0.0
315
+ .TP
316
+ .B \-\-t_epoch
317
+ Added in version 9.4.
318
+
319
+ .sp
320
+ Epoch of coordinates in the target CRS, as decimal year.
321
+ Only applies to a dynamic CRS.
322
+ .UNINDENT
323
+ .sp
324
+ The \fI+opt\fP run\-line arguments are associated with cartographic
325
+ parameters.
326
+ .sp
327
+ The \fI\%cs2cs\fP program takes two coordinate reference system (CRS) definitions.
328
+ These can be given in a variety of formats such as EPSG\-codes, WKT\-strings or legacy PROJ.4
329
+ CRS descriptions.
330
+ .sp
331
+ If there is no second CRS defined, a geographic CRS based on the
332
+ datum and ellipsoid of the source CRS is assumed. Note that the
333
+ source and destination CRS can both of same or different nature (geographic,
334
+ projected, compound CRS), or one of each and may have the same or different datums.
335
+ .sp
336
+ When using a WKT definition or a AUTHORITY:CODE, the axis order of the CRS will
337
+ be enforced. So for example if using EPSG:4326, the first value expected (or
338
+ returned) will be a latitude.
339
+ .sp
340
+ Internally, \fI\%cs2cs\fP uses the \fI\%proj_create_crs_to_crs()\fP function
341
+ to compute the appropriate coordinate operation, so implementation details of
342
+ this function directly impact the results returned by the program.
343
+ .sp
344
+ The environment parameter \fI\%PROJ_DATA\fP establishes the
345
+ directory for resource files (database, datum shift grids, etc.)
346
+ .sp
347
+ One or more files (processed in left to right order) specify the source of
348
+ data to be transformed. A \fB\-\fP will specify the location of processing standard
349
+ input. If no files are specified, the input is assumed to be from stdin.
350
+ For input data the two data values must be in the first two white space
351
+ separated fields and when both input and output are ASCII all trailing portions
352
+ of the input line are appended to the output line.
353
+ .sp
354
+ Input geographic data (longitude and latitude) must be in DMS or decimal
355
+ degrees format and input cartesian data must be in units consistent with the
356
+ ellipsoid major axis or sphere radius units. Output geographic coordinates will
357
+ normally be in DMS format (use \fB\-f %.12f\fP for decimal degrees with 12 decimal
358
+ places), while projected (cartesian) coordinates will be in linear
359
+ (meter, feet) units.
360
+ .SS Use of remote grids
361
+ .sp
362
+ Added in version 7.0.0.
363
+
364
+ .sp
365
+ If the \fI\%PROJ_NETWORK\fP environment variable is set to \fBON\fP,
366
+ \fI\%cs2cs\fP will attempt to use remote grids stored on CDN (Content
367
+ Delivery Network) storage, when they are not available locally.
368
+ .sp
369
+ More details are available in the \fI\%Network capabilities\fP section.
370
+ .SH EXAMPLES
371
+ .SS Using EPSG CRS codes
372
+ .sp
373
+ Transforming from WGS 84 latitude/longitude (in that order) to UTM Zone 31N/WGS 84
374
+ .INDENT 0.0
375
+ .INDENT 3.5
376
+ .sp
377
+ .EX
378
+ cs2cs EPSG:4326 EPSG:32631 <<EOF
379
+ 45N 2E
380
+ EOF
381
+ .EE
382
+ .UNINDENT
383
+ .UNINDENT
384
+ .sp
385
+ outputs
386
+ .INDENT 0.0
387
+ .INDENT 3.5
388
+ .sp
389
+ .EX
390
+ 421184.70 4983436.77 0.00
391
+ .EE
392
+ .UNINDENT
393
+ .UNINDENT
394
+ .SS Using EPSG CRS names
395
+ .sp
396
+ Transforming from WGS 84 latitude/longitude (in that order) with EGM96 height to
397
+ UTM Zone 31N/WGS 84 with WGS84 ellipsoidal height
398
+ .INDENT 0.0
399
+ .INDENT 3.5
400
+ .sp
401
+ .EX
402
+ echo 45 2 0 | cs2cs \(dqWGS 84 + EGM96 height\(dq \(dqWGS 84 / UTM zone 31N\(dq \-\-3d
403
+ .EE
404
+ .UNINDENT
405
+ .UNINDENT
406
+ .sp
407
+ outputs
408
+ .INDENT 0.0
409
+ .INDENT 3.5
410
+ .sp
411
+ .EX
412
+ 421184.70 4983436.77 50.69
413
+ .EE
414
+ .UNINDENT
415
+ .UNINDENT
416
+ .sp
417
+ \fBNOTE:\fP
418
+ .INDENT 0.0
419
+ .INDENT 3.5
420
+ To get those exact values, you have need to have the EGM96 grid installed
421
+ locally or use networking capabilities mentioned above.
422
+ .UNINDENT
423
+ .UNINDENT
424
+ .SS Using PROJ strings
425
+ .sp
426
+ The following script
427
+ .INDENT 0.0
428
+ .INDENT 3.5
429
+ .sp
430
+ .EX
431
+ cs2cs +proj=latlong +datum=NAD83 +to +proj=utm +zone=10 +datum=NAD27 \-r <<EOF
432
+ 45°15\(aq33.1\(dq 111.5W
433
+ 45d15.551666667N \-111d30
434
+ +45.25919444444 111d30\(aq000w
435
+ EOF
436
+ .EE
437
+ .UNINDENT
438
+ .UNINDENT
439
+ .sp
440
+ will transform the input NAD83 geographic coordinates into NAD27 coordinates in
441
+ the UTM projection with zone 10 selected. The geographic values of this
442
+ example are equivalent and meant as examples of various forms of DMS input.
443
+ The x\-y output data will appear as three lines of:
444
+ .INDENT 0.0
445
+ .INDENT 3.5
446
+ .sp
447
+ .EX
448
+ 1402285.93 5076292.58 0.00
449
+ .EE
450
+ .UNINDENT
451
+ .UNINDENT
452
+ .sp
453
+ To get those exact values, you have need to have all current grids installed
454
+ (in that instance the NADCON5 \fBus_noaa_nadcon5_nad27_nad83_1986_conus.tif\fP grid)
455
+ locally or use networking capabilities mentioned above.
456
+ .sp
457
+ To make sure you will get the optimal result, you may add \fI\%\-\-only\-best\fP\&.
458
+ Assuming the above mentioned grid is \fInot\fP available,
459
+ .INDENT 0.0
460
+ .INDENT 3.5
461
+ .sp
462
+ .EX
463
+ echo \-111.5 45.25919444444 | cs2cs \-\-only\-best +proj=latlong +datum=NAD83 +to +proj=utm +zone=10 +datum=NAD27
464
+ .EE
465
+ .UNINDENT
466
+ .UNINDENT
467
+ .sp
468
+ would return:
469
+ .INDENT 0.0
470
+ .INDENT 3.5
471
+ .sp
472
+ .EX
473
+ Attempt to use coordinate operation axis order change (2D) + Inverse of NAD27 to NAD83 (7) + axis order change (2D) + UTM zone 10N failed. Grid us_noaa_nadcon5_nad27_nad83_1986_conus.tif is not available. Consult https://proj.org/resource_files.html for guidance.
474
+ * * inf
475
+ .EE
476
+ .UNINDENT
477
+ .UNINDENT
478
+ .sp
479
+ Otherwise, if you don\(aqt have the grid available and you don\(aqt specify \fI\%\-\-only\-best\fP:
480
+ .INDENT 0.0
481
+ .INDENT 3.5
482
+ .sp
483
+ .EX
484
+ echo \-111.5 45.25919444444 | cs2cs \-\-only\-best +proj=latlong +datum=NAD83 +to +proj=utm +zone=10 +datum=NAD27
485
+ .EE
486
+ .UNINDENT
487
+ .UNINDENT
488
+ .sp
489
+ would return:
490
+ .INDENT 0.0
491
+ .INDENT 3.5
492
+ .sp
493
+ .EX
494
+ 1402224.57 5076275.42 0.00
495
+ .EE
496
+ .UNINDENT
497
+ .UNINDENT
498
+ .sp
499
+ which is the result when the NAD27 and NAD83 datums are dealt as identical,
500
+ which is an approximation at a level of several tens of metres.
501
+ .SH SEE ALSO
502
+ .sp
503
+ \fBproj(1)\fP, \fBcct(1)\fP, \fBgeod(1)\fP, \fBgie(1)\fP, \fBprojinfo(1)\fP, \fBprojsync(1)\fP
504
+ .SH BUGS
505
+ .sp
506
+ A list of known bugs can be found at \X'tty: link https://github.com/OSGeo/PROJ/issues'\fI\%https://github.com/OSGeo/PROJ/issues\fP\X'tty: link'
507
+ where new bug reports can be submitted to.
508
+ .SH HOME PAGE
509
+ .sp
510
+ \X'tty: link https://proj.org/'\fI\%https://proj.org/\fP\X'tty: link'
511
+ .SH AUTHOR
512
+ Frank Warmerdam
513
+ .SH COPYRIGHT
514
+ 1983-2026, PROJ contributors
515
+ .\" Generated by docutils manpage writer.
516
+ .