@cpp.js/package-proj 1.0.0 → 2.0.0-beta.1

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 (311) hide show
  1. package/cppjs.config.js +11 -51
  2. package/package.json +8 -16
  3. package/dist/prebuilt/Android-arm64-v8a/include/geodesic.h +0 -837
  4. package/dist/prebuilt/Android-arm64-v8a/include/proj/common.hpp +0 -489
  5. package/dist/prebuilt/Android-arm64-v8a/include/proj/coordinateoperation.hpp +0 -2147
  6. package/dist/prebuilt/Android-arm64-v8a/include/proj/coordinates.hpp +0 -115
  7. package/dist/prebuilt/Android-arm64-v8a/include/proj/coordinatesystem.hpp +0 -892
  8. package/dist/prebuilt/Android-arm64-v8a/include/proj/crs.hpp +0 -1595
  9. package/dist/prebuilt/Android-arm64-v8a/include/proj/datum.hpp +0 -860
  10. package/dist/prebuilt/Android-arm64-v8a/include/proj/io.hpp +0 -1397
  11. package/dist/prebuilt/Android-arm64-v8a/include/proj/metadata.hpp +0 -470
  12. package/dist/prebuilt/Android-arm64-v8a/include/proj/nn.hpp +0 -385
  13. package/dist/prebuilt/Android-arm64-v8a/include/proj/util.hpp +0 -781
  14. package/dist/prebuilt/Android-arm64-v8a/include/proj.h +0 -2231
  15. package/dist/prebuilt/Android-arm64-v8a/include/proj_constants.h +0 -879
  16. package/dist/prebuilt/Android-arm64-v8a/include/proj_experimental.h +0 -52
  17. package/dist/prebuilt/Android-arm64-v8a/include/proj_symbol_rename.h +0 -434
  18. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj/proj-config-version.cmake +0 -52
  19. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj/proj-config.cmake +0 -79
  20. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj/proj-targets-release.cmake +0 -19
  21. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj/proj-targets.cmake +0 -106
  22. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj/proj4-targets-release.cmake +0 -19
  23. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj/proj4-targets.cmake +0 -106
  24. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj4/proj-targets-release.cmake +0 -19
  25. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj4/proj-targets.cmake +0 -106
  26. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj4/proj4-config-version.cmake +0 -52
  27. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj4/proj4-config.cmake +0 -79
  28. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj4/proj4-targets-release.cmake +0 -19
  29. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/proj4/proj4-targets.cmake +0 -106
  30. package/dist/prebuilt/Android-arm64-v8a/lib/libproj.so +0 -0
  31. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/proj.pc +0 -14
  32. package/dist/prebuilt/Android-arm64-v8a/share/doc/proj/AUTHORS.md +0 -33
  33. package/dist/prebuilt/Android-arm64-v8a/share/doc/proj/COPYING +0 -34
  34. package/dist/prebuilt/Android-arm64-v8a/share/doc/proj/NEWS.md +0 -3084
  35. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/cct.1 +0 -370
  36. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/cs2cs.1 +0 -537
  37. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/geod.1 +0 -263
  38. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/gie.1 +0 -524
  39. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/proj.1 +0 -326
  40. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/projinfo.1 +0 -856
  41. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/projsync.1 +0 -227
  42. package/dist/prebuilt/Android-arm64-v8a/share/proj/CH +0 -22
  43. package/dist/prebuilt/Android-arm64-v8a/share/proj/GL27 +0 -23
  44. package/dist/prebuilt/Android-arm64-v8a/share/proj/ITRF2000 +0 -24
  45. package/dist/prebuilt/Android-arm64-v8a/share/proj/ITRF2008 +0 -94
  46. package/dist/prebuilt/Android-arm64-v8a/share/proj/ITRF2014 +0 -55
  47. package/dist/prebuilt/Android-arm64-v8a/share/proj/ITRF2020 +0 -91
  48. package/dist/prebuilt/Android-arm64-v8a/share/proj/deformation_model.schema.json +0 -582
  49. package/dist/prebuilt/Android-arm64-v8a/share/proj/nad.lst +0 -142
  50. package/dist/prebuilt/Android-arm64-v8a/share/proj/nad27 +0 -810
  51. package/dist/prebuilt/Android-arm64-v8a/share/proj/nad83 +0 -745
  52. package/dist/prebuilt/Android-arm64-v8a/share/proj/other.extra +0 -53
  53. package/dist/prebuilt/Android-arm64-v8a/share/proj/proj.db +0 -0
  54. package/dist/prebuilt/Android-arm64-v8a/share/proj/proj.ini +0 -51
  55. package/dist/prebuilt/Android-arm64-v8a/share/proj/projjson.schema.json +0 -1174
  56. package/dist/prebuilt/Android-arm64-v8a/share/proj/triangulation.schema.json +0 -214
  57. package/dist/prebuilt/Android-arm64-v8a/share/proj/world +0 -214
  58. package/dist/prebuilt/Android-x86_64/include/geodesic.h +0 -837
  59. package/dist/prebuilt/Android-x86_64/include/proj/common.hpp +0 -489
  60. package/dist/prebuilt/Android-x86_64/include/proj/coordinateoperation.hpp +0 -2147
  61. package/dist/prebuilt/Android-x86_64/include/proj/coordinates.hpp +0 -115
  62. package/dist/prebuilt/Android-x86_64/include/proj/coordinatesystem.hpp +0 -892
  63. package/dist/prebuilt/Android-x86_64/include/proj/crs.hpp +0 -1595
  64. package/dist/prebuilt/Android-x86_64/include/proj/datum.hpp +0 -860
  65. package/dist/prebuilt/Android-x86_64/include/proj/io.hpp +0 -1397
  66. package/dist/prebuilt/Android-x86_64/include/proj/metadata.hpp +0 -470
  67. package/dist/prebuilt/Android-x86_64/include/proj/nn.hpp +0 -385
  68. package/dist/prebuilt/Android-x86_64/include/proj/util.hpp +0 -781
  69. package/dist/prebuilt/Android-x86_64/include/proj.h +0 -2231
  70. package/dist/prebuilt/Android-x86_64/include/proj_constants.h +0 -879
  71. package/dist/prebuilt/Android-x86_64/include/proj_experimental.h +0 -52
  72. package/dist/prebuilt/Android-x86_64/include/proj_symbol_rename.h +0 -434
  73. package/dist/prebuilt/Android-x86_64/lib/cmake/proj/proj-config-version.cmake +0 -52
  74. package/dist/prebuilt/Android-x86_64/lib/cmake/proj/proj-config.cmake +0 -79
  75. package/dist/prebuilt/Android-x86_64/lib/cmake/proj/proj-targets-release.cmake +0 -19
  76. package/dist/prebuilt/Android-x86_64/lib/cmake/proj/proj-targets.cmake +0 -106
  77. package/dist/prebuilt/Android-x86_64/lib/cmake/proj/proj4-targets-release.cmake +0 -19
  78. package/dist/prebuilt/Android-x86_64/lib/cmake/proj/proj4-targets.cmake +0 -106
  79. package/dist/prebuilt/Android-x86_64/lib/cmake/proj4/proj-targets-release.cmake +0 -19
  80. package/dist/prebuilt/Android-x86_64/lib/cmake/proj4/proj-targets.cmake +0 -106
  81. package/dist/prebuilt/Android-x86_64/lib/cmake/proj4/proj4-config-version.cmake +0 -52
  82. package/dist/prebuilt/Android-x86_64/lib/cmake/proj4/proj4-config.cmake +0 -79
  83. package/dist/prebuilt/Android-x86_64/lib/cmake/proj4/proj4-targets-release.cmake +0 -19
  84. package/dist/prebuilt/Android-x86_64/lib/cmake/proj4/proj4-targets.cmake +0 -106
  85. package/dist/prebuilt/Android-x86_64/lib/libproj.so +0 -0
  86. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/proj.pc +0 -14
  87. package/dist/prebuilt/Android-x86_64/share/doc/proj/AUTHORS.md +0 -33
  88. package/dist/prebuilt/Android-x86_64/share/doc/proj/COPYING +0 -34
  89. package/dist/prebuilt/Android-x86_64/share/doc/proj/NEWS.md +0 -3084
  90. package/dist/prebuilt/Android-x86_64/share/man/man1/cct.1 +0 -370
  91. package/dist/prebuilt/Android-x86_64/share/man/man1/cs2cs.1 +0 -537
  92. package/dist/prebuilt/Android-x86_64/share/man/man1/geod.1 +0 -263
  93. package/dist/prebuilt/Android-x86_64/share/man/man1/gie.1 +0 -524
  94. package/dist/prebuilt/Android-x86_64/share/man/man1/proj.1 +0 -326
  95. package/dist/prebuilt/Android-x86_64/share/man/man1/projinfo.1 +0 -856
  96. package/dist/prebuilt/Android-x86_64/share/man/man1/projsync.1 +0 -227
  97. package/dist/prebuilt/Android-x86_64/share/proj/CH +0 -22
  98. package/dist/prebuilt/Android-x86_64/share/proj/GL27 +0 -23
  99. package/dist/prebuilt/Android-x86_64/share/proj/ITRF2000 +0 -24
  100. package/dist/prebuilt/Android-x86_64/share/proj/ITRF2008 +0 -94
  101. package/dist/prebuilt/Android-x86_64/share/proj/ITRF2014 +0 -55
  102. package/dist/prebuilt/Android-x86_64/share/proj/ITRF2020 +0 -91
  103. package/dist/prebuilt/Android-x86_64/share/proj/deformation_model.schema.json +0 -582
  104. package/dist/prebuilt/Android-x86_64/share/proj/nad.lst +0 -142
  105. package/dist/prebuilt/Android-x86_64/share/proj/nad27 +0 -810
  106. package/dist/prebuilt/Android-x86_64/share/proj/nad83 +0 -745
  107. package/dist/prebuilt/Android-x86_64/share/proj/other.extra +0 -53
  108. package/dist/prebuilt/Android-x86_64/share/proj/proj.db +0 -0
  109. package/dist/prebuilt/Android-x86_64/share/proj/proj.ini +0 -51
  110. package/dist/prebuilt/Android-x86_64/share/proj/projjson.schema.json +0 -1174
  111. package/dist/prebuilt/Android-x86_64/share/proj/triangulation.schema.json +0 -214
  112. package/dist/prebuilt/Android-x86_64/share/proj/world +0 -214
  113. package/dist/prebuilt/CMakeLists.txt +0 -44
  114. package/dist/prebuilt/Emscripten-x86_64/include/geodesic.h +0 -837
  115. package/dist/prebuilt/Emscripten-x86_64/include/proj/common.hpp +0 -489
  116. package/dist/prebuilt/Emscripten-x86_64/include/proj/coordinateoperation.hpp +0 -2147
  117. package/dist/prebuilt/Emscripten-x86_64/include/proj/coordinates.hpp +0 -115
  118. package/dist/prebuilt/Emscripten-x86_64/include/proj/coordinatesystem.hpp +0 -892
  119. package/dist/prebuilt/Emscripten-x86_64/include/proj/crs.hpp +0 -1595
  120. package/dist/prebuilt/Emscripten-x86_64/include/proj/datum.hpp +0 -860
  121. package/dist/prebuilt/Emscripten-x86_64/include/proj/io.hpp +0 -1397
  122. package/dist/prebuilt/Emscripten-x86_64/include/proj/metadata.hpp +0 -470
  123. package/dist/prebuilt/Emscripten-x86_64/include/proj/nn.hpp +0 -385
  124. package/dist/prebuilt/Emscripten-x86_64/include/proj/util.hpp +0 -781
  125. package/dist/prebuilt/Emscripten-x86_64/include/proj.h +0 -2231
  126. package/dist/prebuilt/Emscripten-x86_64/include/proj_constants.h +0 -879
  127. package/dist/prebuilt/Emscripten-x86_64/include/proj_experimental.h +0 -52
  128. package/dist/prebuilt/Emscripten-x86_64/include/proj_symbol_rename.h +0 -434
  129. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj/proj-config-version.cmake +0 -52
  130. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj/proj-config.cmake +0 -79
  131. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj/proj-targets-release.cmake +0 -19
  132. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj/proj-targets.cmake +0 -107
  133. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj/proj4-targets-release.cmake +0 -19
  134. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj/proj4-targets.cmake +0 -107
  135. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj4/proj-targets-release.cmake +0 -19
  136. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj4/proj-targets.cmake +0 -107
  137. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj4/proj4-config-version.cmake +0 -52
  138. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj4/proj4-config.cmake +0 -79
  139. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj4/proj4-targets-release.cmake +0 -19
  140. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/proj4/proj4-targets.cmake +0 -107
  141. package/dist/prebuilt/Emscripten-x86_64/lib/libproj.a +0 -0
  142. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/proj.pc +0 -14
  143. package/dist/prebuilt/Emscripten-x86_64/share/doc/proj/AUTHORS.md +0 -33
  144. package/dist/prebuilt/Emscripten-x86_64/share/doc/proj/COPYING +0 -34
  145. package/dist/prebuilt/Emscripten-x86_64/share/doc/proj/NEWS.md +0 -3084
  146. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/cct.1 +0 -370
  147. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/cs2cs.1 +0 -537
  148. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/geod.1 +0 -263
  149. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/gie.1 +0 -524
  150. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/proj.1 +0 -326
  151. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/projinfo.1 +0 -856
  152. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/projsync.1 +0 -227
  153. package/dist/prebuilt/Emscripten-x86_64/share/proj/CH +0 -22
  154. package/dist/prebuilt/Emscripten-x86_64/share/proj/GL27 +0 -23
  155. package/dist/prebuilt/Emscripten-x86_64/share/proj/ITRF2000 +0 -24
  156. package/dist/prebuilt/Emscripten-x86_64/share/proj/ITRF2008 +0 -94
  157. package/dist/prebuilt/Emscripten-x86_64/share/proj/ITRF2014 +0 -55
  158. package/dist/prebuilt/Emscripten-x86_64/share/proj/ITRF2020 +0 -91
  159. package/dist/prebuilt/Emscripten-x86_64/share/proj/deformation_model.schema.json +0 -582
  160. package/dist/prebuilt/Emscripten-x86_64/share/proj/nad.lst +0 -142
  161. package/dist/prebuilt/Emscripten-x86_64/share/proj/nad27 +0 -810
  162. package/dist/prebuilt/Emscripten-x86_64/share/proj/nad83 +0 -745
  163. package/dist/prebuilt/Emscripten-x86_64/share/proj/other.extra +0 -53
  164. package/dist/prebuilt/Emscripten-x86_64/share/proj/proj.db +0 -0
  165. package/dist/prebuilt/Emscripten-x86_64/share/proj/proj.ini +0 -51
  166. package/dist/prebuilt/Emscripten-x86_64/share/proj/projjson.schema.json +0 -1174
  167. package/dist/prebuilt/Emscripten-x86_64/share/proj/triangulation.schema.json +0 -214
  168. package/dist/prebuilt/Emscripten-x86_64/share/proj/world +0 -214
  169. package/dist/prebuilt/iOS-iphoneos/include/geodesic.h +0 -837
  170. package/dist/prebuilt/iOS-iphoneos/include/proj/common.hpp +0 -489
  171. package/dist/prebuilt/iOS-iphoneos/include/proj/coordinateoperation.hpp +0 -2147
  172. package/dist/prebuilt/iOS-iphoneos/include/proj/coordinates.hpp +0 -115
  173. package/dist/prebuilt/iOS-iphoneos/include/proj/coordinatesystem.hpp +0 -892
  174. package/dist/prebuilt/iOS-iphoneos/include/proj/crs.hpp +0 -1595
  175. package/dist/prebuilt/iOS-iphoneos/include/proj/datum.hpp +0 -860
  176. package/dist/prebuilt/iOS-iphoneos/include/proj/io.hpp +0 -1397
  177. package/dist/prebuilt/iOS-iphoneos/include/proj/metadata.hpp +0 -470
  178. package/dist/prebuilt/iOS-iphoneos/include/proj/nn.hpp +0 -385
  179. package/dist/prebuilt/iOS-iphoneos/include/proj/util.hpp +0 -781
  180. package/dist/prebuilt/iOS-iphoneos/include/proj.h +0 -2231
  181. package/dist/prebuilt/iOS-iphoneos/include/proj_constants.h +0 -879
  182. package/dist/prebuilt/iOS-iphoneos/include/proj_experimental.h +0 -52
  183. package/dist/prebuilt/iOS-iphoneos/include/proj_symbol_rename.h +0 -434
  184. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj/proj-config-version.cmake +0 -52
  185. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj/proj-config.cmake +0 -79
  186. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj/proj-targets-release.cmake +0 -19
  187. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj/proj-targets.cmake +0 -108
  188. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj/proj4-targets-release.cmake +0 -19
  189. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj/proj4-targets.cmake +0 -108
  190. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj4/proj-targets-release.cmake +0 -19
  191. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj4/proj-targets.cmake +0 -108
  192. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj4/proj4-config-version.cmake +0 -52
  193. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj4/proj4-config.cmake +0 -79
  194. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj4/proj4-targets-release.cmake +0 -19
  195. package/dist/prebuilt/iOS-iphoneos/lib/cmake/proj4/proj4-targets.cmake +0 -108
  196. package/dist/prebuilt/iOS-iphoneos/lib/libproj.a +0 -0
  197. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/proj.pc +0 -14
  198. package/dist/prebuilt/iOS-iphoneos/share/doc/proj/AUTHORS.md +0 -33
  199. package/dist/prebuilt/iOS-iphoneos/share/doc/proj/COPYING +0 -34
  200. package/dist/prebuilt/iOS-iphoneos/share/doc/proj/NEWS.md +0 -3084
  201. package/dist/prebuilt/iOS-iphoneos/share/man/man1/cct.1 +0 -370
  202. package/dist/prebuilt/iOS-iphoneos/share/man/man1/cs2cs.1 +0 -537
  203. package/dist/prebuilt/iOS-iphoneos/share/man/man1/geod.1 +0 -263
  204. package/dist/prebuilt/iOS-iphoneos/share/man/man1/gie.1 +0 -524
  205. package/dist/prebuilt/iOS-iphoneos/share/man/man1/proj.1 +0 -326
  206. package/dist/prebuilt/iOS-iphoneos/share/man/man1/projinfo.1 +0 -856
  207. package/dist/prebuilt/iOS-iphoneos/share/man/man1/projsync.1 +0 -227
  208. package/dist/prebuilt/iOS-iphoneos/share/proj/CH +0 -22
  209. package/dist/prebuilt/iOS-iphoneos/share/proj/GL27 +0 -23
  210. package/dist/prebuilt/iOS-iphoneos/share/proj/ITRF2000 +0 -24
  211. package/dist/prebuilt/iOS-iphoneos/share/proj/ITRF2008 +0 -94
  212. package/dist/prebuilt/iOS-iphoneos/share/proj/ITRF2014 +0 -55
  213. package/dist/prebuilt/iOS-iphoneos/share/proj/ITRF2020 +0 -91
  214. package/dist/prebuilt/iOS-iphoneos/share/proj/deformation_model.schema.json +0 -582
  215. package/dist/prebuilt/iOS-iphoneos/share/proj/nad.lst +0 -142
  216. package/dist/prebuilt/iOS-iphoneos/share/proj/nad27 +0 -810
  217. package/dist/prebuilt/iOS-iphoneos/share/proj/nad83 +0 -745
  218. package/dist/prebuilt/iOS-iphoneos/share/proj/other.extra +0 -53
  219. package/dist/prebuilt/iOS-iphoneos/share/proj/proj.db +0 -0
  220. package/dist/prebuilt/iOS-iphoneos/share/proj/proj.ini +0 -51
  221. package/dist/prebuilt/iOS-iphoneos/share/proj/projjson.schema.json +0 -1174
  222. package/dist/prebuilt/iOS-iphoneos/share/proj/triangulation.schema.json +0 -214
  223. package/dist/prebuilt/iOS-iphoneos/share/proj/world +0 -214
  224. package/dist/prebuilt/iOS-iphonesimulator/include/geodesic.h +0 -837
  225. package/dist/prebuilt/iOS-iphonesimulator/include/proj/common.hpp +0 -489
  226. package/dist/prebuilt/iOS-iphonesimulator/include/proj/coordinateoperation.hpp +0 -2147
  227. package/dist/prebuilt/iOS-iphonesimulator/include/proj/coordinates.hpp +0 -115
  228. package/dist/prebuilt/iOS-iphonesimulator/include/proj/coordinatesystem.hpp +0 -892
  229. package/dist/prebuilt/iOS-iphonesimulator/include/proj/crs.hpp +0 -1595
  230. package/dist/prebuilt/iOS-iphonesimulator/include/proj/datum.hpp +0 -860
  231. package/dist/prebuilt/iOS-iphonesimulator/include/proj/io.hpp +0 -1397
  232. package/dist/prebuilt/iOS-iphonesimulator/include/proj/metadata.hpp +0 -470
  233. package/dist/prebuilt/iOS-iphonesimulator/include/proj/nn.hpp +0 -385
  234. package/dist/prebuilt/iOS-iphonesimulator/include/proj/util.hpp +0 -781
  235. package/dist/prebuilt/iOS-iphonesimulator/include/proj.h +0 -2231
  236. package/dist/prebuilt/iOS-iphonesimulator/include/proj_constants.h +0 -879
  237. package/dist/prebuilt/iOS-iphonesimulator/include/proj_experimental.h +0 -52
  238. package/dist/prebuilt/iOS-iphonesimulator/include/proj_symbol_rename.h +0 -434
  239. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj/proj-config-version.cmake +0 -52
  240. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj/proj-config.cmake +0 -79
  241. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj/proj-targets-release.cmake +0 -19
  242. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj/proj-targets.cmake +0 -108
  243. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj/proj4-targets-release.cmake +0 -19
  244. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj/proj4-targets.cmake +0 -108
  245. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj4/proj-targets-release.cmake +0 -19
  246. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj4/proj-targets.cmake +0 -108
  247. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj4/proj4-config-version.cmake +0 -52
  248. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj4/proj4-config.cmake +0 -79
  249. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj4/proj4-targets-release.cmake +0 -19
  250. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/proj4/proj4-targets.cmake +0 -108
  251. package/dist/prebuilt/iOS-iphonesimulator/lib/libproj.a +0 -0
  252. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/proj.pc +0 -14
  253. package/dist/prebuilt/iOS-iphonesimulator/share/doc/proj/AUTHORS.md +0 -33
  254. package/dist/prebuilt/iOS-iphonesimulator/share/doc/proj/COPYING +0 -34
  255. package/dist/prebuilt/iOS-iphonesimulator/share/doc/proj/NEWS.md +0 -3084
  256. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/cct.1 +0 -370
  257. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/cs2cs.1 +0 -537
  258. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/geod.1 +0 -263
  259. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/gie.1 +0 -524
  260. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/proj.1 +0 -326
  261. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/projinfo.1 +0 -856
  262. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/projsync.1 +0 -227
  263. package/dist/prebuilt/iOS-iphonesimulator/share/proj/CH +0 -22
  264. package/dist/prebuilt/iOS-iphonesimulator/share/proj/GL27 +0 -23
  265. package/dist/prebuilt/iOS-iphonesimulator/share/proj/ITRF2000 +0 -24
  266. package/dist/prebuilt/iOS-iphonesimulator/share/proj/ITRF2008 +0 -94
  267. package/dist/prebuilt/iOS-iphonesimulator/share/proj/ITRF2014 +0 -55
  268. package/dist/prebuilt/iOS-iphonesimulator/share/proj/ITRF2020 +0 -91
  269. package/dist/prebuilt/iOS-iphonesimulator/share/proj/deformation_model.schema.json +0 -582
  270. package/dist/prebuilt/iOS-iphonesimulator/share/proj/nad.lst +0 -142
  271. package/dist/prebuilt/iOS-iphonesimulator/share/proj/nad27 +0 -810
  272. package/dist/prebuilt/iOS-iphonesimulator/share/proj/nad83 +0 -745
  273. package/dist/prebuilt/iOS-iphonesimulator/share/proj/other.extra +0 -53
  274. package/dist/prebuilt/iOS-iphonesimulator/share/proj/proj.db +0 -0
  275. package/dist/prebuilt/iOS-iphonesimulator/share/proj/proj.ini +0 -51
  276. package/dist/prebuilt/iOS-iphonesimulator/share/proj/projjson.schema.json +0 -1174
  277. package/dist/prebuilt/iOS-iphonesimulator/share/proj/triangulation.schema.json +0 -214
  278. package/dist/prebuilt/iOS-iphonesimulator/share/proj/world +0 -214
  279. package/proj.xcframework/Info.plist +0 -50
  280. package/proj.xcframework/ios-arm64_arm64e/Headers/geodesic.h +0 -837
  281. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/common.hpp +0 -489
  282. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/coordinateoperation.hpp +0 -2147
  283. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/coordinates.hpp +0 -115
  284. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/coordinatesystem.hpp +0 -892
  285. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/crs.hpp +0 -1595
  286. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/datum.hpp +0 -860
  287. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/io.hpp +0 -1397
  288. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/metadata.hpp +0 -470
  289. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/nn.hpp +0 -385
  290. package/proj.xcframework/ios-arm64_arm64e/Headers/proj/util.hpp +0 -781
  291. package/proj.xcframework/ios-arm64_arm64e/Headers/proj.h +0 -2231
  292. package/proj.xcframework/ios-arm64_arm64e/Headers/proj_constants.h +0 -879
  293. package/proj.xcframework/ios-arm64_arm64e/Headers/proj_experimental.h +0 -52
  294. package/proj.xcframework/ios-arm64_arm64e/Headers/proj_symbol_rename.h +0 -434
  295. package/proj.xcframework/ios-arm64_arm64e/libproj.a +0 -0
  296. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geodesic.h +0 -837
  297. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/common.hpp +0 -489
  298. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/coordinateoperation.hpp +0 -2147
  299. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/coordinates.hpp +0 -115
  300. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/coordinatesystem.hpp +0 -892
  301. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/crs.hpp +0 -1595
  302. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/datum.hpp +0 -860
  303. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/io.hpp +0 -1397
  304. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/metadata.hpp +0 -470
  305. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/nn.hpp +0 -385
  306. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj/util.hpp +0 -781
  307. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj.h +0 -2231
  308. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj_constants.h +0 -879
  309. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj_experimental.h +0 -52
  310. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/proj_symbol_rename.h +0 -434
  311. package/proj.xcframework/ios-arm64_arm64e_x86_64-simulator/libproj.a +0 -0
@@ -1,2231 +0,0 @@
1
- /******************************************************************************
2
- * Project: PROJ.4
3
- * Purpose: Revised, experimental API for PROJ.4, intended as the foundation
4
- * for added geodetic functionality.
5
- *
6
- * The original proj API (defined previously in projects.h) has grown
7
- * organically over the years, but it has also grown somewhat messy.
8
- *
9
- * The same has happened with the newer high level API (defined in
10
- * proj_api.h): To support various historical objectives, proj_api.h
11
- * contains a rather complex combination of conditional defines and
12
- * typedefs. Probably for good (historical) reasons, which are not
13
- * always evident from today's perspective.
14
- *
15
- * This is an evolving attempt at creating a re-rationalized API
16
- * with primary design goals focused on sanitizing the namespaces.
17
- * Hence, all symbols exposed are being moved to the proj_ namespace,
18
- * while all data types are being moved to the PJ_ namespace.
19
- *
20
- * Please note that this API is *orthogonal* to the previous APIs:
21
- * Apart from some inclusion guards, projects.h and proj_api.h are not
22
- * touched - if you do not include proj.h, the projects and proj_api
23
- * APIs should work as they always have.
24
- *
25
- * A few implementation details:
26
- *
27
- * Apart from the namespacing efforts, I'm trying to eliminate three
28
- * proj_api elements, which I have found especially confusing.
29
- *
30
- * FIRST and foremost, I try to avoid typedef'ing away pointer
31
- * semantics. I agree that it can be occasionally useful, but I
32
- * prefer having the pointer nature of function arguments being
33
- * explicitly visible.
34
- *
35
- * Hence, projCtx has been replaced by PJ_CONTEXT *.
36
- * and projPJ has been replaced by PJ *
37
- *
38
- * SECOND, I try to eliminate cases of information hiding implemented
39
- * by redefining data types to void pointers.
40
- *
41
- * I prefer using a combination of forward declarations and typedefs.
42
- * Hence:
43
- * typedef void *projCtx;
44
- * Has been replaced by:
45
- * struct projCtx_t;
46
- * typedef struct projCtx_t PJ_CONTEXT;
47
- * This makes it possible for the calling program to know that the
48
- * PJ_CONTEXT data type exists, and handle pointers to that data type
49
- * without having any idea about its internals.
50
- *
51
- * (obviously, in this example, struct projCtx_t should also be
52
- * renamed struct pj_ctx some day, but for backwards compatibility
53
- * it remains as-is for now).
54
- *
55
- * THIRD, I try to eliminate implicit type punning. Hence this API
56
- * introduces the PJ_COORD union data type, for generic 4D coordinate
57
- * handling.
58
- *
59
- * PJ_COORD makes it possible to make explicit the previously used
60
- * "implicit type punning", where a XY is turned into a LP by
61
- * re#defining both as UV, behind the back of the user.
62
- *
63
- * The PJ_COORD union is used for storing 1D, 2D, 3D and 4D
64
- *coordinates.
65
- *
66
- * The bare essentials API presented here follows the PROJ.4
67
- * convention of sailing the coordinate to be reprojected, up on
68
- * the stack ("call by value"), and symmetrically returning the
69
- * result on the stack. Although the PJ_COORD object is twice as large
70
- * as the traditional XY and LP objects, timing results have shown the
71
- * overhead to be very reasonable.
72
- *
73
- * Contexts and thread safety
74
- * --------------------------
75
- *
76
- * After a year of experiments (and previous experience from the
77
- * trlib transformation library) it has become clear that the
78
- * context subsystem is unavoidable in a multi-threaded world.
79
- * Hence, instead of hiding it away, we move it into the limelight,
80
- * highly recommending (but not formally requiring) the bracketing
81
- * of any code block calling PROJ.4 functions with calls to
82
- * proj_context_create(...)/proj_context_destroy()
83
- *
84
- * Legacy single threaded code need not do anything, but *may*
85
- * implement a bit of future compatibility by using the backward
86
- * compatible call proj_context_create(0), which will not create
87
- * a new context, but simply provide a pointer to the default one.
88
- *
89
- * See proj_4D_api_test.c for examples of how to use the API.
90
- *
91
- * Author: Thomas Knudsen, <thokn@sdfe.dk>
92
- * Benefitting from a large number of comments and suggestions
93
- * by (primarily) Kristian Evers and Even Rouault.
94
- *
95
- ******************************************************************************
96
- * Copyright (c) 2016, 2017, Thomas Knudsen / SDFE
97
- * Copyright (c) 2018, Even Rouault
98
- *
99
- * Permission is hereby granted, free of charge, to any person obtaining a
100
- * copy of this software and associated documentation files (the "Software"),
101
- * to deal in the Software without restriction, including without limitation
102
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
103
- * and/or sell copies of the Software, and to permit persons to whom the
104
- * Software is furnished to do so, subject to the following conditions:
105
- *
106
- * The above copyright notice and this permission notice shall be included
107
- * in all copies or substantial portions of the Software.
108
- *
109
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
110
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
111
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO COORD SHALL
112
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
113
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
114
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
115
- * DEALINGS IN THE SOFTWARE.
116
- *****************************************************************************/
117
-
118
- #ifndef PROJ_H
119
- #define PROJ_H
120
-
121
- #include <stddef.h> /* For size_t */
122
-
123
- #ifdef ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
124
- #error "The proj_api.h header has been removed from PROJ with version 8.0.0"
125
- #endif
126
-
127
- #ifdef PROJ_RENAME_SYMBOLS
128
- #include "proj_symbol_rename.h"
129
- #endif
130
-
131
- #ifdef __cplusplus
132
- extern "C" {
133
- #endif
134
-
135
- /**
136
- * \file proj.h
137
- *
138
- * C API new generation
139
- */
140
-
141
- /*! @cond Doxygen_Suppress */
142
-
143
- #ifndef PROJ_DLL
144
- #if defined(_MSC_VER)
145
- #ifdef PROJ_MSVC_DLL_EXPORT
146
- #define PROJ_DLL __declspec(dllexport)
147
- #else
148
- #define PROJ_DLL __declspec(dllimport)
149
- #endif
150
- #elif defined(__GNUC__)
151
- #define PROJ_DLL __attribute__((visibility("default")))
152
- #else
153
- #define PROJ_DLL
154
- #endif
155
- #endif
156
-
157
- #ifdef PROJ_SUPPRESS_DEPRECATION_MESSAGE
158
- #define PROJ_DEPRECATED(decl, msg) decl
159
- #elif defined(__has_extension)
160
- #if __has_extension(attribute_deprecated_with_message)
161
- #define PROJ_DEPRECATED(decl, msg) decl __attribute__((deprecated(msg)))
162
- #elif defined(__GNUC__)
163
- #define PROJ_DEPRECATED(decl, msg) decl __attribute__((deprecated))
164
- #else
165
- #define PROJ_DEPRECATED(decl, msg) decl
166
- #endif
167
- #elif defined(__GNUC__)
168
- #define PROJ_DEPRECATED(decl, msg) decl __attribute__((deprecated))
169
- #elif defined(_MSVC_VER)
170
- #define PROJ_DEPRECATED(decl, msg) __declspec(deprecated(msg)) decl
171
- #else
172
- #define PROJ_DEPRECATED(decl, msg) decl
173
- #endif
174
-
175
- /* The version numbers should be updated with every release! **/
176
- #define PROJ_VERSION_MAJOR 9
177
- #define PROJ_VERSION_MINOR 5
178
- #define PROJ_VERSION_PATCH 1
179
-
180
- /* Note: the following 3 defines have been introduced in PROJ 8.0.1 */
181
- /* Macro to compute a PROJ version number from its components */
182
- #define PROJ_COMPUTE_VERSION(maj, min, patch) \
183
- ((maj)*10000 + (min)*100 + (patch))
184
-
185
- /* Current PROJ version from the above version numbers */
186
- #define PROJ_VERSION_NUMBER \
187
- PROJ_COMPUTE_VERSION(PROJ_VERSION_MAJOR, PROJ_VERSION_MINOR, \
188
- PROJ_VERSION_PATCH)
189
-
190
- /* Macro that returns true if the current PROJ version is at least the version
191
- * specified by (maj,min,patch) */
192
- #define PROJ_AT_LEAST_VERSION(maj, min, patch) \
193
- (PROJ_VERSION_NUMBER >= PROJ_COMPUTE_VERSION(maj, min, patch))
194
-
195
- extern char const PROJ_DLL pj_release[]; /* global release id string */
196
-
197
- /* first forward declare everything needed */
198
-
199
- /* Data type for generic geodetic 3D data plus epoch information */
200
- union PJ_COORD;
201
- typedef union PJ_COORD PJ_COORD;
202
-
203
- struct PJ_AREA;
204
- typedef struct PJ_AREA PJ_AREA;
205
-
206
- struct P5_FACTORS { /* Common designation */
207
- double meridional_scale; /* h */
208
- double parallel_scale; /* k */
209
- double areal_scale; /* s */
210
-
211
- double angular_distortion; /* omega */
212
- double meridian_parallel_angle; /* theta-prime */
213
- double meridian_convergence; /* alpha */
214
-
215
- double tissot_semimajor; /* a */
216
- double tissot_semiminor; /* b */
217
-
218
- double dx_dlam, dx_dphi;
219
- double dy_dlam, dy_dphi;
220
- };
221
- typedef struct P5_FACTORS PJ_FACTORS;
222
-
223
- /* Data type for projection/transformation information */
224
- struct PJconsts;
225
- typedef struct PJconsts PJ; /* the PJ object herself */
226
-
227
- /* Data type for library level information */
228
- struct PJ_INFO;
229
- typedef struct PJ_INFO PJ_INFO;
230
-
231
- struct PJ_PROJ_INFO;
232
- typedef struct PJ_PROJ_INFO PJ_PROJ_INFO;
233
-
234
- struct PJ_GRID_INFO;
235
- typedef struct PJ_GRID_INFO PJ_GRID_INFO;
236
-
237
- struct PJ_INIT_INFO;
238
- typedef struct PJ_INIT_INFO PJ_INIT_INFO;
239
-
240
- /* Data types for list of operations, ellipsoids, datums and units used in
241
- * PROJ.4 */
242
- struct PJ_LIST {
243
- const char *id; /* projection keyword */
244
- PJ *(*proj)(PJ *); /* projection entry point */
245
- const char *const *descr; /* description text */
246
- };
247
-
248
- typedef struct PJ_LIST PJ_OPERATIONS;
249
-
250
- struct PJ_ELLPS {
251
- const char *id; /* ellipse keyword name */
252
- const char *major; /* a= value */
253
- const char *ell; /* elliptical parameter */
254
- const char *name; /* comments */
255
- };
256
- typedef struct PJ_ELLPS PJ_ELLPS;
257
-
258
- struct PJ_UNITS {
259
- const char *id; /* units keyword */
260
- const char *to_meter; /* multiply by value to get meters */
261
- const char *name; /* comments */
262
- double factor; /* to_meter factor in actual numbers */
263
- };
264
- typedef struct PJ_UNITS PJ_UNITS;
265
-
266
- struct PJ_PRIME_MERIDIANS {
267
- const char *id; /* prime meridian keyword */
268
- const char *defn; /* offset from greenwich in DMS format. */
269
- };
270
- typedef struct PJ_PRIME_MERIDIANS PJ_PRIME_MERIDIANS;
271
-
272
- /* Geodetic, mostly spatiotemporal coordinate types */
273
- typedef struct {
274
- double x, y, z, t;
275
- } PJ_XYZT;
276
- typedef struct {
277
- double u, v, w, t;
278
- } PJ_UVWT;
279
- typedef struct {
280
- double lam, phi, z, t;
281
- } PJ_LPZT;
282
- typedef struct {
283
- double o, p, k;
284
- } PJ_OPK; /* Rotations: omega, phi, kappa */
285
- typedef struct {
286
- double e, n, u;
287
- } PJ_ENU; /* East, North, Up */
288
- typedef struct {
289
- double s, a1, a2;
290
- } PJ_GEOD; /* Geodesic length, fwd azi, rev azi */
291
-
292
- /* Classic proj.4 pair/triplet types - moved into the PJ_ name space */
293
- typedef struct {
294
- double u, v;
295
- } PJ_UV;
296
- typedef struct {
297
- double x, y;
298
- } PJ_XY;
299
- typedef struct {
300
- double lam, phi;
301
- } PJ_LP;
302
-
303
- typedef struct {
304
- double x, y, z;
305
- } PJ_XYZ;
306
- typedef struct {
307
- double u, v, w;
308
- } PJ_UVW;
309
- typedef struct {
310
- double lam, phi, z;
311
- } PJ_LPZ;
312
-
313
- /* Avoid preprocessor renaming and implicit type-punning: Use a union to make it
314
- * explicit */
315
- union PJ_COORD {
316
- double v[4]; /* First and foremost, it really is "just 4 numbers in a
317
- vector" */
318
- PJ_XYZT xyzt;
319
- PJ_UVWT uvwt;
320
- PJ_LPZT lpzt;
321
- PJ_GEOD geod;
322
- PJ_OPK opk;
323
- PJ_ENU enu;
324
- PJ_XYZ xyz;
325
- PJ_UVW uvw;
326
- PJ_LPZ lpz;
327
- PJ_XY xy;
328
- PJ_UV uv;
329
- PJ_LP lp;
330
- };
331
-
332
- struct PJ_INFO {
333
- int major; /* Major release number */
334
- int minor; /* Minor release number */
335
- int patch; /* Patch level */
336
- const char *release; /* Release info. Version + date */
337
- const char *version; /* Full version number */
338
- const char *searchpath; /* Paths where init and grid files are */
339
- /* looked for. Paths are separated by */
340
- /* semi-colons on Windows, and colons */
341
- /* on non-Windows platforms. */
342
- const char *const *paths;
343
- size_t path_count;
344
- };
345
-
346
- struct PJ_PROJ_INFO {
347
- const char *id; /* Name of the projection in question */
348
- const char *description; /* Description of the projection */
349
- const char *definition; /* Projection definition */
350
- int has_inverse; /* 1 if an inverse mapping exists, 0 otherwise */
351
- double
352
- accuracy; /* Expected accuracy of the transformation. -1 if unknown. */
353
- };
354
-
355
- struct PJ_GRID_INFO {
356
- char gridname[32]; /* name of grid */
357
- char filename[260]; /* full path to grid */
358
- char format[8]; /* file format of grid */
359
- PJ_LP lowerleft; /* Coordinates of lower left corner */
360
- PJ_LP upperright; /* Coordinates of upper right corner */
361
- int n_lon, n_lat; /* Grid size */
362
- double cs_lon, cs_lat; /* Cell size of grid */
363
- };
364
-
365
- struct PJ_INIT_INFO {
366
- char name[32]; /* name of init file */
367
- char filename[260]; /* full path to the init file. */
368
- char version[32]; /* version of the init file */
369
- char origin[32]; /* origin of the file, e.g. EPSG */
370
- char lastupdate[16]; /* Date of last update in YYYY-MM-DD format */
371
- };
372
-
373
- typedef enum PJ_LOG_LEVEL {
374
- PJ_LOG_NONE = 0,
375
- PJ_LOG_ERROR = 1,
376
- PJ_LOG_DEBUG = 2,
377
- PJ_LOG_TRACE = 3,
378
- PJ_LOG_TELL = 4,
379
- PJ_LOG_DEBUG_MAJOR = 2, /* for proj_api.h compatibility */
380
- PJ_LOG_DEBUG_MINOR = 3 /* for proj_api.h compatibility */
381
- } PJ_LOG_LEVEL;
382
-
383
- typedef void (*PJ_LOG_FUNCTION)(void *, int, const char *);
384
-
385
- /* The context type - properly namespaced synonym for pj_ctx */
386
- struct pj_ctx;
387
- typedef struct pj_ctx PJ_CONTEXT;
388
-
389
- /* A P I */
390
-
391
- /**
392
- * The objects returned by the functions defined in this section have minimal
393
- * interaction with the functions of the
394
- * \ref iso19111_functions section, and vice versa. See its introduction
395
- * paragraph for more details.
396
- */
397
-
398
- /* Functionality for handling thread contexts */
399
- #ifdef __cplusplus
400
- #define PJ_DEFAULT_CTX nullptr
401
- #else
402
- #define PJ_DEFAULT_CTX 0
403
- #endif
404
- PJ_CONTEXT PROJ_DLL *proj_context_create(void);
405
- PJ_CONTEXT PROJ_DLL *proj_context_destroy(PJ_CONTEXT *ctx);
406
- PJ_CONTEXT PROJ_DLL *proj_context_clone(PJ_CONTEXT *ctx);
407
-
408
- /** Callback to resolve a filename to a full path */
409
- typedef const char *(*proj_file_finder)(PJ_CONTEXT *ctx, const char *,
410
- void *user_data);
411
- /*! @endcond */
412
-
413
- void PROJ_DLL proj_context_set_file_finder(PJ_CONTEXT *ctx,
414
- proj_file_finder finder,
415
- void *user_data);
416
- void PROJ_DLL proj_context_set_search_paths(PJ_CONTEXT *ctx, int count_paths,
417
- const char *const *paths);
418
- void PROJ_DLL proj_context_set_ca_bundle_path(PJ_CONTEXT *ctx,
419
- const char *path);
420
- /*! @cond Doxygen_Suppress */
421
- void PROJ_DLL proj_context_use_proj4_init_rules(PJ_CONTEXT *ctx, int enable);
422
- int PROJ_DLL proj_context_get_use_proj4_init_rules(PJ_CONTEXT *ctx,
423
- int from_legacy_code_path);
424
-
425
- /*! @endcond */
426
-
427
- /** Opaque structure for PROJ for a file handle. Implementations might cast it
428
- * to their structure/class of choice. */
429
- typedef struct PROJ_FILE_HANDLE PROJ_FILE_HANDLE;
430
-
431
- /** Open access / mode */
432
- typedef enum PROJ_OPEN_ACCESS {
433
- /** Read-only access. Equivalent to "rb" */
434
- PROJ_OPEN_ACCESS_READ_ONLY,
435
-
436
- /** Read-update access. File should be created if not existing. Equivalent
437
- to "r+b" */
438
- PROJ_OPEN_ACCESS_READ_UPDATE,
439
-
440
- /** Create access. File should be truncated to 0-byte if already existing.
441
- Equivalent to "w+b" */
442
- PROJ_OPEN_ACCESS_CREATE
443
- } PROJ_OPEN_ACCESS;
444
-
445
- /** File API callbacks */
446
- typedef struct PROJ_FILE_API {
447
- /** Version of this structure. Should be set to 1 currently. */
448
- int version;
449
-
450
- /** Open file. Return NULL if error */
451
- PROJ_FILE_HANDLE *(*open_cbk)(PJ_CONTEXT *ctx, const char *filename,
452
- PROJ_OPEN_ACCESS access, void *user_data);
453
-
454
- /** Read sizeBytes into buffer from current position and return number of
455
- * bytes read */
456
- size_t (*read_cbk)(PJ_CONTEXT *ctx, PROJ_FILE_HANDLE *, void *buffer,
457
- size_t sizeBytes, void *user_data);
458
-
459
- /** Write sizeBytes into buffer from current position and return number of
460
- * bytes written */
461
- size_t (*write_cbk)(PJ_CONTEXT *ctx, PROJ_FILE_HANDLE *, const void *buffer,
462
- size_t sizeBytes, void *user_data);
463
-
464
- /** Seek to offset using whence=SEEK_SET/SEEK_CUR/SEEK_END. Return TRUE in
465
- * case of success */
466
- int (*seek_cbk)(PJ_CONTEXT *ctx, PROJ_FILE_HANDLE *, long long offset,
467
- int whence, void *user_data);
468
-
469
- /** Return current file position */
470
- unsigned long long (*tell_cbk)(PJ_CONTEXT *ctx, PROJ_FILE_HANDLE *,
471
- void *user_data);
472
-
473
- /** Close file */
474
- void (*close_cbk)(PJ_CONTEXT *ctx, PROJ_FILE_HANDLE *, void *user_data);
475
-
476
- /** Return TRUE if a file exists */
477
- int (*exists_cbk)(PJ_CONTEXT *ctx, const char *filename, void *user_data);
478
-
479
- /** Return TRUE if directory exists or could be created */
480
- int (*mkdir_cbk)(PJ_CONTEXT *ctx, const char *filename, void *user_data);
481
-
482
- /** Return TRUE if file could be removed */
483
- int (*unlink_cbk)(PJ_CONTEXT *ctx, const char *filename, void *user_data);
484
-
485
- /** Return TRUE if file could be renamed */
486
- int (*rename_cbk)(PJ_CONTEXT *ctx, const char *oldPath, const char *newPath,
487
- void *user_data);
488
- } PROJ_FILE_API;
489
-
490
- int PROJ_DLL proj_context_set_fileapi(PJ_CONTEXT *ctx,
491
- const PROJ_FILE_API *fileapi,
492
- void *user_data);
493
-
494
- void PROJ_DLL proj_context_set_sqlite3_vfs_name(PJ_CONTEXT *ctx,
495
- const char *name);
496
-
497
- /** Opaque structure for PROJ for a network handle. Implementations might cast
498
- * it to their structure/class of choice. */
499
- typedef struct PROJ_NETWORK_HANDLE PROJ_NETWORK_HANDLE;
500
-
501
- /** Network access: open callback
502
- *
503
- * Should try to read the size_to_read first bytes at the specified offset of
504
- * the file given by URL url,
505
- * and write them to buffer. *out_size_read should be updated with the actual
506
- * amount of bytes read (== size_to_read if the file is larger than
507
- * size_to_read). During this read, the implementation should make sure to store
508
- * the HTTP headers from the server response to be able to respond to
509
- * proj_network_get_header_value_cbk_type callback.
510
- *
511
- * error_string_max_size should be the maximum size that can be written into
512
- * the out_error_string buffer (including terminating nul character).
513
- *
514
- * @return a non-NULL opaque handle in case of success.
515
- */
516
- typedef PROJ_NETWORK_HANDLE *(*proj_network_open_cbk_type)(
517
- PJ_CONTEXT *ctx, const char *url, unsigned long long offset,
518
- size_t size_to_read, void *buffer, size_t *out_size_read,
519
- size_t error_string_max_size, char *out_error_string, void *user_data);
520
-
521
- /** Network access: close callback */
522
- typedef void (*proj_network_close_cbk_type)(PJ_CONTEXT *ctx,
523
- PROJ_NETWORK_HANDLE *handle,
524
- void *user_data);
525
-
526
- /** Network access: get HTTP headers */
527
- typedef const char *(*proj_network_get_header_value_cbk_type)(
528
- PJ_CONTEXT *ctx, PROJ_NETWORK_HANDLE *handle, const char *header_name,
529
- void *user_data);
530
-
531
- /** Network access: read range
532
- *
533
- * Read size_to_read bytes from handle, starting at offset, into
534
- * buffer.
535
- * During this read, the implementation should make sure to store the HTTP
536
- * headers from the server response to be able to respond to
537
- * proj_network_get_header_value_cbk_type callback.
538
- *
539
- * error_string_max_size should be the maximum size that can be written into
540
- * the out_error_string buffer (including terminating nul character).
541
- *
542
- * @return the number of bytes actually read (0 in case of error)
543
- */
544
- typedef size_t (*proj_network_read_range_type)(
545
- PJ_CONTEXT *ctx, PROJ_NETWORK_HANDLE *handle, unsigned long long offset,
546
- size_t size_to_read, void *buffer, size_t error_string_max_size,
547
- char *out_error_string, void *user_data);
548
-
549
- int PROJ_DLL proj_context_set_network_callbacks(
550
- PJ_CONTEXT *ctx, proj_network_open_cbk_type open_cbk,
551
- proj_network_close_cbk_type close_cbk,
552
- proj_network_get_header_value_cbk_type get_header_value_cbk,
553
- proj_network_read_range_type read_range_cbk, void *user_data);
554
-
555
- int PROJ_DLL proj_context_set_enable_network(PJ_CONTEXT *ctx, int enabled);
556
-
557
- int PROJ_DLL proj_context_is_network_enabled(PJ_CONTEXT *ctx);
558
-
559
- void PROJ_DLL proj_context_set_url_endpoint(PJ_CONTEXT *ctx, const char *url);
560
-
561
- const char PROJ_DLL *proj_context_get_url_endpoint(PJ_CONTEXT *ctx);
562
-
563
- const char PROJ_DLL *proj_context_get_user_writable_directory(PJ_CONTEXT *ctx,
564
- int create);
565
-
566
- void PROJ_DLL proj_context_set_user_writable_directory(PJ_CONTEXT *ctx,
567
- const char *path,
568
- int create);
569
-
570
- void PROJ_DLL proj_grid_cache_set_enable(PJ_CONTEXT *ctx, int enabled);
571
-
572
- void PROJ_DLL proj_grid_cache_set_filename(PJ_CONTEXT *ctx,
573
- const char *fullname);
574
-
575
- void PROJ_DLL proj_grid_cache_set_max_size(PJ_CONTEXT *ctx, int max_size_MB);
576
-
577
- void PROJ_DLL proj_grid_cache_set_ttl(PJ_CONTEXT *ctx, int ttl_seconds);
578
-
579
- void PROJ_DLL proj_grid_cache_clear(PJ_CONTEXT *ctx);
580
-
581
- int PROJ_DLL proj_is_download_needed(PJ_CONTEXT *ctx,
582
- const char *url_or_filename,
583
- int ignore_ttl_setting);
584
- int PROJ_DLL proj_download_file(PJ_CONTEXT *ctx, const char *url_or_filename,
585
- int ignore_ttl_setting,
586
- int (*progress_cbk)(PJ_CONTEXT *, double pct,
587
- void *user_data),
588
- void *user_data);
589
-
590
- /*! @cond Doxygen_Suppress */
591
-
592
- /* Manage the transformation definition object PJ */
593
- PJ PROJ_DLL *proj_create(PJ_CONTEXT *ctx, const char *definition);
594
- PJ PROJ_DLL *proj_create_argv(PJ_CONTEXT *ctx, int argc, char **argv);
595
- PJ PROJ_DLL *proj_create_crs_to_crs(PJ_CONTEXT *ctx, const char *source_crs,
596
- const char *target_crs, PJ_AREA *area);
597
- PJ PROJ_DLL *proj_create_crs_to_crs_from_pj(PJ_CONTEXT *ctx,
598
- const PJ *source_crs,
599
- const PJ *target_crs, PJ_AREA *area,
600
- const char *const *options);
601
- /*! @endcond */
602
- PJ PROJ_DLL *proj_normalize_for_visualization(PJ_CONTEXT *ctx, const PJ *obj);
603
- /*! @cond Doxygen_Suppress */
604
- void PROJ_DLL proj_assign_context(PJ *pj, PJ_CONTEXT *ctx);
605
- PJ PROJ_DLL *proj_destroy(PJ *P);
606
-
607
- PJ_AREA PROJ_DLL *proj_area_create(void);
608
- void PROJ_DLL proj_area_set_bbox(PJ_AREA *area, double west_lon_degree,
609
- double south_lat_degree,
610
- double east_lon_degree,
611
- double north_lat_degree);
612
- void PROJ_DLL proj_area_set_name(PJ_AREA *area, const char *name);
613
- void PROJ_DLL proj_area_destroy(PJ_AREA *area);
614
-
615
- /* Apply transformation to observation - in forward or inverse direction */
616
- enum PJ_DIRECTION {
617
- PJ_FWD = 1, /* Forward */
618
- PJ_IDENT = 0, /* Do nothing */
619
- PJ_INV = -1 /* Inverse */
620
- };
621
- typedef enum PJ_DIRECTION PJ_DIRECTION;
622
-
623
- int PROJ_DLL proj_angular_input(PJ *P, enum PJ_DIRECTION dir);
624
- int PROJ_DLL proj_angular_output(PJ *P, enum PJ_DIRECTION dir);
625
-
626
- int PROJ_DLL proj_degree_input(PJ *P, enum PJ_DIRECTION dir);
627
- int PROJ_DLL proj_degree_output(PJ *P, enum PJ_DIRECTION dir);
628
-
629
- PJ_COORD PROJ_DLL proj_trans(PJ *P, PJ_DIRECTION direction, PJ_COORD coord);
630
- PJ PROJ_DLL *proj_trans_get_last_used_operation(PJ *P);
631
- int PROJ_DLL proj_trans_array(PJ *P, PJ_DIRECTION direction, size_t n,
632
- PJ_COORD *coord);
633
- size_t PROJ_DLL proj_trans_generic(PJ *P, PJ_DIRECTION direction, double *x,
634
- size_t sx, size_t nx, double *y, size_t sy,
635
- size_t ny, double *z, size_t sz, size_t nz,
636
- double *t, size_t st, size_t nt);
637
- /*! @endcond */
638
- int PROJ_DLL proj_trans_bounds(PJ_CONTEXT *context, PJ *P,
639
- PJ_DIRECTION direction, double xmin, double ymin,
640
- double xmax, double ymax, double *out_xmin,
641
- double *out_ymin, double *out_xmax,
642
- double *out_ymax, int densify_pts);
643
- /*! @cond Doxygen_Suppress */
644
-
645
- /* Initializers */
646
- PJ_COORD PROJ_DLL proj_coord(double x, double y, double z, double t);
647
-
648
- /* Measure internal consistency - in forward or inverse direction */
649
- double PROJ_DLL proj_roundtrip(PJ *P, PJ_DIRECTION direction, int n,
650
- PJ_COORD *coord);
651
-
652
- /* Geodesic distance between two points with angular 2D coordinates */
653
- double PROJ_DLL proj_lp_dist(const PJ *P, PJ_COORD a, PJ_COORD b);
654
-
655
- /* The geodesic distance AND the vertical offset */
656
- double PROJ_DLL proj_lpz_dist(const PJ *P, PJ_COORD a, PJ_COORD b);
657
-
658
- /* Euclidean distance between two points with linear 2D coordinates */
659
- double PROJ_DLL proj_xy_dist(PJ_COORD a, PJ_COORD b);
660
-
661
- /* Euclidean distance between two points with linear 3D coordinates */
662
- double PROJ_DLL proj_xyz_dist(PJ_COORD a, PJ_COORD b);
663
-
664
- /* Geodesic distance (in meter) + fwd and rev azimuth between two points on the
665
- * ellipsoid */
666
- PJ_COORD PROJ_DLL proj_geod(const PJ *P, PJ_COORD a, PJ_COORD b);
667
-
668
- /* PROJ error codes */
669
-
670
- /** Error codes typically related to coordinate operation initialization
671
- * Note: some of them can also be emitted during coordinate transformation,
672
- * like PROJ_ERR_INVALID_OP_FILE_NOT_FOUND_OR_INVALID in case the resource
673
- * loading is deferred until it is really needed.
674
- */
675
- #define PROJ_ERR_INVALID_OP \
676
- 1024 /* other/unspecified error related to coordinate operation \
677
- initialization */
678
- #define PROJ_ERR_INVALID_OP_WRONG_SYNTAX \
679
- (PROJ_ERR_INVALID_OP + \
680
- 1) /* invalid pipeline structure, missing +proj argument, etc */
681
- #define PROJ_ERR_INVALID_OP_MISSING_ARG \
682
- (PROJ_ERR_INVALID_OP + 2) /* missing required operation parameter */
683
- #define PROJ_ERR_INVALID_OP_ILLEGAL_ARG_VALUE \
684
- (PROJ_ERR_INVALID_OP + \
685
- 3) /* one of the operation parameter has an illegal value */
686
- #define PROJ_ERR_INVALID_OP_MUTUALLY_EXCLUSIVE_ARGS \
687
- (PROJ_ERR_INVALID_OP + 4) /* mutually exclusive arguments */
688
- #define PROJ_ERR_INVALID_OP_FILE_NOT_FOUND_OR_INVALID \
689
- (PROJ_ERR_INVALID_OP + 5) /* file not found (particular case of \
690
- PROJ_ERR_INVALID_OP_ILLEGAL_ARG_VALUE) */
691
-
692
- /** Error codes related to transformation on a specific coordinate */
693
- #define PROJ_ERR_COORD_TRANSFM \
694
- 2048 /* other error related to coordinate transformation */
695
- #define PROJ_ERR_COORD_TRANSFM_INVALID_COORD \
696
- (PROJ_ERR_COORD_TRANSFM + 1) /* for e.g lat > 90deg */
697
- #define PROJ_ERR_COORD_TRANSFM_OUTSIDE_PROJECTION_DOMAIN \
698
- (PROJ_ERR_COORD_TRANSFM + \
699
- 2) /* coordinate is outside of the projection domain. e.g approximate \
700
- mercator with |longitude - lon_0| > 90deg, or iterative convergence \
701
- method failed */
702
- #define PROJ_ERR_COORD_TRANSFM_NO_OPERATION \
703
- (PROJ_ERR_COORD_TRANSFM + \
704
- 3) /* no operation found, e.g if no match the required accuracy, or if \
705
- ballpark transformations were asked to not be used and they would \
706
- be only such candidate */
707
- #define PROJ_ERR_COORD_TRANSFM_OUTSIDE_GRID \
708
- (PROJ_ERR_COORD_TRANSFM + \
709
- 4) /* point to transform falls outside grid or subgrid */
710
- #define PROJ_ERR_COORD_TRANSFM_GRID_AT_NODATA \
711
- (PROJ_ERR_COORD_TRANSFM + \
712
- 5) /* point to transform falls in a grid cell that evaluates to nodata */
713
- #define PROJ_ERR_COORD_TRANSFM_NO_CONVERGENCE \
714
- (PROJ_ERR_COORD_TRANSFM + 6) /* iterative convergence method fail */
715
- #define PROJ_ERR_COORD_TRANSFM_MISSING_TIME \
716
- (PROJ_ERR_COORD_TRANSFM + 7) /* operation requires time, but not provided \
717
- */
718
-
719
- /** Other type of errors */
720
- #define PROJ_ERR_OTHER 4096
721
- #define PROJ_ERR_OTHER_API_MISUSE \
722
- (PROJ_ERR_OTHER + 1) /* error related to a misuse of PROJ API */
723
- #define PROJ_ERR_OTHER_NO_INVERSE_OP \
724
- (PROJ_ERR_OTHER + 2) /* no inverse method available */
725
- #define PROJ_ERR_OTHER_NETWORK_ERROR \
726
- (PROJ_ERR_OTHER + 3) /* failure when accessing a network resource */
727
-
728
- /* Set or read error level */
729
- int PROJ_DLL proj_context_errno(PJ_CONTEXT *ctx);
730
- int PROJ_DLL proj_errno(const PJ *P);
731
- int PROJ_DLL proj_errno_set(const PJ *P, int err);
732
- int PROJ_DLL proj_errno_reset(const PJ *P);
733
- int PROJ_DLL proj_errno_restore(const PJ *P, int err);
734
- const char PROJ_DLL *
735
- proj_errno_string(int err); /* deprecated. use proj_context_errno_string() */
736
- const char PROJ_DLL *proj_context_errno_string(PJ_CONTEXT *ctx, int err);
737
-
738
- PJ_LOG_LEVEL PROJ_DLL proj_log_level(PJ_CONTEXT *ctx, PJ_LOG_LEVEL log_level);
739
- void PROJ_DLL proj_log_func(PJ_CONTEXT *ctx, void *app_data,
740
- PJ_LOG_FUNCTION logf);
741
-
742
- /* Scaling and angular distortion factors */
743
- PJ_FACTORS PROJ_DLL proj_factors(PJ *P, PJ_COORD lp);
744
-
745
- /* Info functions - get information about various PROJ.4 entities */
746
- PJ_INFO PROJ_DLL proj_info(void);
747
- PJ_PROJ_INFO PROJ_DLL proj_pj_info(PJ *P);
748
- PJ_GRID_INFO PROJ_DLL proj_grid_info(const char *gridname);
749
- PJ_INIT_INFO PROJ_DLL proj_init_info(const char *initname);
750
-
751
- /* List functions: */
752
- /* Get lists of operations, ellipsoids, units and prime meridians. */
753
- const PJ_OPERATIONS PROJ_DLL *proj_list_operations(void);
754
- const PJ_ELLPS PROJ_DLL *proj_list_ellps(void);
755
- PROJ_DEPRECATED(const PJ_UNITS PROJ_DLL *proj_list_units(void),
756
- "Deprecated by proj_get_units_from_database");
757
- PROJ_DEPRECATED(const PJ_UNITS PROJ_DLL *proj_list_angular_units(void),
758
- "Deprecated by proj_get_units_from_database");
759
- const PJ_PRIME_MERIDIANS PROJ_DLL *proj_list_prime_meridians(void);
760
-
761
- /* These are trivial, and while occasionally useful in real code, primarily here
762
- * to */
763
- /* simplify demo code, and in acknowledgement of the proj-internal discrepancy
764
- * between */
765
- /* angular units expected by classical proj, and by Charles Karney's geodesics
766
- * subsystem */
767
- double PROJ_DLL proj_torad(double angle_in_degrees);
768
- double PROJ_DLL proj_todeg(double angle_in_radians);
769
-
770
- double PROJ_DLL proj_dmstor(const char *is, char **rs);
771
- PROJ_DEPRECATED(char PROJ_DLL *proj_rtodms(char *s, double r, int pos, int neg),
772
- "Deprecated by proj_rtodms2");
773
- char PROJ_DLL *proj_rtodms2(char *s, size_t sizeof_s, double r, int pos,
774
- int neg);
775
-
776
- void PROJ_DLL proj_cleanup(void);
777
-
778
- /*! @endcond */
779
-
780
- /* ------------------------------------------------------------------------- */
781
- /* Binding in C of C++ API */
782
- /* ------------------------------------------------------------------------- */
783
-
784
- /** @defgroup iso19111_types Data types for ISO19111 C API
785
- * Data types for ISO19111 C API
786
- * @{
787
- */
788
-
789
- /** \brief Type representing a NULL terminated list of NULL-terminate strings.
790
- */
791
- typedef char **PROJ_STRING_LIST;
792
-
793
- /** \brief Guessed WKT "dialect". */
794
- typedef enum {
795
- /** \ref WKT2_2019 */
796
- PJ_GUESSED_WKT2_2019,
797
-
798
- /** Deprecated alias for PJ_GUESSED_WKT2_2019 */
799
- PJ_GUESSED_WKT2_2018 = PJ_GUESSED_WKT2_2019,
800
-
801
- /** \ref WKT2_2015 */
802
- PJ_GUESSED_WKT2_2015,
803
-
804
- /** \ref WKT1 */
805
- PJ_GUESSED_WKT1_GDAL,
806
-
807
- /** ESRI variant of WKT1 */
808
- PJ_GUESSED_WKT1_ESRI,
809
-
810
- /** Not WKT / unrecognized */
811
- PJ_GUESSED_NOT_WKT
812
- } PJ_GUESSED_WKT_DIALECT;
813
-
814
- /** \brief Object category. */
815
- typedef enum {
816
- PJ_CATEGORY_ELLIPSOID,
817
- PJ_CATEGORY_PRIME_MERIDIAN,
818
- PJ_CATEGORY_DATUM,
819
- PJ_CATEGORY_CRS,
820
- PJ_CATEGORY_COORDINATE_OPERATION,
821
- PJ_CATEGORY_DATUM_ENSEMBLE
822
- } PJ_CATEGORY;
823
-
824
- /** \brief Object type. */
825
- typedef enum {
826
- PJ_TYPE_UNKNOWN,
827
-
828
- PJ_TYPE_ELLIPSOID,
829
-
830
- PJ_TYPE_PRIME_MERIDIAN,
831
-
832
- PJ_TYPE_GEODETIC_REFERENCE_FRAME,
833
- PJ_TYPE_DYNAMIC_GEODETIC_REFERENCE_FRAME,
834
- PJ_TYPE_VERTICAL_REFERENCE_FRAME,
835
- PJ_TYPE_DYNAMIC_VERTICAL_REFERENCE_FRAME,
836
- PJ_TYPE_DATUM_ENSEMBLE,
837
-
838
- /** Abstract type, not returned by proj_get_type() */
839
- PJ_TYPE_CRS,
840
-
841
- PJ_TYPE_GEODETIC_CRS,
842
- PJ_TYPE_GEOCENTRIC_CRS,
843
-
844
- /** proj_get_type() will never return that type, but
845
- * PJ_TYPE_GEOGRAPHIC_2D_CRS or PJ_TYPE_GEOGRAPHIC_3D_CRS. */
846
- PJ_TYPE_GEOGRAPHIC_CRS,
847
-
848
- PJ_TYPE_GEOGRAPHIC_2D_CRS,
849
- PJ_TYPE_GEOGRAPHIC_3D_CRS,
850
- PJ_TYPE_VERTICAL_CRS,
851
- PJ_TYPE_PROJECTED_CRS,
852
- PJ_TYPE_COMPOUND_CRS,
853
- PJ_TYPE_TEMPORAL_CRS,
854
- PJ_TYPE_ENGINEERING_CRS,
855
- PJ_TYPE_BOUND_CRS,
856
- PJ_TYPE_OTHER_CRS,
857
-
858
- PJ_TYPE_CONVERSION,
859
- PJ_TYPE_TRANSFORMATION,
860
- PJ_TYPE_CONCATENATED_OPERATION,
861
- PJ_TYPE_OTHER_COORDINATE_OPERATION,
862
-
863
- PJ_TYPE_TEMPORAL_DATUM,
864
- PJ_TYPE_ENGINEERING_DATUM,
865
- PJ_TYPE_PARAMETRIC_DATUM,
866
-
867
- PJ_TYPE_DERIVED_PROJECTED_CRS,
868
-
869
- PJ_TYPE_COORDINATE_METADATA,
870
- } PJ_TYPE;
871
-
872
- /** Comparison criterion. */
873
- typedef enum {
874
- /** All properties are identical. */
875
- PJ_COMP_STRICT,
876
-
877
- /** The objects are equivalent for the purpose of coordinate
878
- * operations. They can differ by the name of their objects,
879
- * identifiers, other metadata.
880
- * Parameters may be expressed in different units, provided that the
881
- * value is (with some tolerance) the same once expressed in a
882
- * common unit.
883
- */
884
- PJ_COMP_EQUIVALENT,
885
-
886
- /** Same as EQUIVALENT, relaxed with an exception that the axis order
887
- * of the base CRS of a DerivedCRS/ProjectedCRS or the axis order of
888
- * a GeographicCRS is ignored. Only to be used
889
- * with DerivedCRS/ProjectedCRS/GeographicCRS */
890
- PJ_COMP_EQUIVALENT_EXCEPT_AXIS_ORDER_GEOGCRS,
891
- } PJ_COMPARISON_CRITERION;
892
-
893
- /** \brief WKT version. */
894
- typedef enum {
895
- /** cf osgeo::proj::io::WKTFormatter::Convention::WKT2 */
896
- PJ_WKT2_2015,
897
- /** cf osgeo::proj::io::WKTFormatter::Convention::WKT2_SIMPLIFIED */
898
- PJ_WKT2_2015_SIMPLIFIED,
899
- /** cf osgeo::proj::io::WKTFormatter::Convention::WKT2_2019 */
900
- PJ_WKT2_2019,
901
- /** Deprecated alias for PJ_WKT2_2019 */
902
- PJ_WKT2_2018 = PJ_WKT2_2019,
903
- /** cf osgeo::proj::io::WKTFormatter::Convention::WKT2_2019_SIMPLIFIED */
904
- PJ_WKT2_2019_SIMPLIFIED,
905
- /** Deprecated alias for PJ_WKT2_2019 */
906
- PJ_WKT2_2018_SIMPLIFIED = PJ_WKT2_2019_SIMPLIFIED,
907
- /** cf osgeo::proj::io::WKTFormatter::Convention::WKT1_GDAL */
908
- PJ_WKT1_GDAL,
909
- /** cf osgeo::proj::io::WKTFormatter::Convention::WKT1_ESRI */
910
- PJ_WKT1_ESRI
911
- } PJ_WKT_TYPE;
912
-
913
- /** Specify how source and target CRS extent should be used to restrict
914
- * candidate operations (only taken into account if no explicit area of
915
- * interest is specified. */
916
- typedef enum {
917
- /** Ignore CRS extent */
918
- PJ_CRS_EXTENT_NONE,
919
-
920
- /** Test coordinate operation extent against both CRS extent. */
921
- PJ_CRS_EXTENT_BOTH,
922
-
923
- /** Test coordinate operation extent against the intersection of both
924
- CRS extent. */
925
- PJ_CRS_EXTENT_INTERSECTION,
926
-
927
- /** Test coordinate operation against the smallest of both CRS extent. */
928
- PJ_CRS_EXTENT_SMALLEST
929
- } PROJ_CRS_EXTENT_USE;
930
-
931
- /** Describe how grid availability is used. */
932
- typedef enum {
933
- /** Grid availability is only used for sorting results. Operations
934
- * where some grids are missing will be sorted last. */
935
- PROJ_GRID_AVAILABILITY_USED_FOR_SORTING,
936
-
937
- /** Completely discard an operation if a required grid is missing. */
938
- PROJ_GRID_AVAILABILITY_DISCARD_OPERATION_IF_MISSING_GRID,
939
-
940
- /** Ignore grid availability at all. Results will be presented as if
941
- * all grids were available. */
942
- PROJ_GRID_AVAILABILITY_IGNORED,
943
-
944
- /** Results will be presented as if grids known to PROJ (that is
945
- * registered in the grid_alternatives table of its database) were
946
- * available. Used typically when networking is enabled.
947
- */
948
- PROJ_GRID_AVAILABILITY_KNOWN_AVAILABLE,
949
- } PROJ_GRID_AVAILABILITY_USE;
950
-
951
- /** \brief PROJ string version. */
952
- typedef enum {
953
- /** cf osgeo::proj::io::PROJStringFormatter::Convention::PROJ_5 */
954
- PJ_PROJ_5,
955
- /** cf osgeo::proj::io::PROJStringFormatter::Convention::PROJ_4 */
956
- PJ_PROJ_4
957
- } PJ_PROJ_STRING_TYPE;
958
-
959
- /** Spatial criterion to restrict candidate operations. */
960
- typedef enum {
961
- /** The area of validity of transforms should strictly contain the
962
- * are of interest. */
963
- PROJ_SPATIAL_CRITERION_STRICT_CONTAINMENT,
964
-
965
- /** The area of validity of transforms should at least intersect the
966
- * area of interest. */
967
- PROJ_SPATIAL_CRITERION_PARTIAL_INTERSECTION
968
- } PROJ_SPATIAL_CRITERION;
969
-
970
- /** Describe if and how intermediate CRS should be used */
971
- typedef enum {
972
- /** Always search for intermediate CRS. */
973
- PROJ_INTERMEDIATE_CRS_USE_ALWAYS,
974
-
975
- /** Only attempt looking for intermediate CRS if there is no direct
976
- * transformation available. */
977
- PROJ_INTERMEDIATE_CRS_USE_IF_NO_DIRECT_TRANSFORMATION,
978
-
979
- /* Do not attempt looking for intermediate CRS. */
980
- PROJ_INTERMEDIATE_CRS_USE_NEVER,
981
- } PROJ_INTERMEDIATE_CRS_USE;
982
-
983
- /** Type of coordinate system. */
984
- typedef enum {
985
- PJ_CS_TYPE_UNKNOWN,
986
-
987
- PJ_CS_TYPE_CARTESIAN,
988
- PJ_CS_TYPE_ELLIPSOIDAL,
989
- PJ_CS_TYPE_VERTICAL,
990
- PJ_CS_TYPE_SPHERICAL,
991
- PJ_CS_TYPE_ORDINAL,
992
- PJ_CS_TYPE_PARAMETRIC,
993
- PJ_CS_TYPE_DATETIMETEMPORAL,
994
- PJ_CS_TYPE_TEMPORALCOUNT,
995
- PJ_CS_TYPE_TEMPORALMEASURE
996
- } PJ_COORDINATE_SYSTEM_TYPE;
997
-
998
- /** \brief Structure given overall description of a CRS.
999
- *
1000
- * This structure may grow over time, and should not be directly allocated by
1001
- * client code.
1002
- */
1003
- typedef struct {
1004
- /** Authority name. */
1005
- char *auth_name;
1006
- /** Object code. */
1007
- char *code;
1008
- /** Object name. */
1009
- char *name;
1010
- /** Object type. */
1011
- PJ_TYPE type;
1012
- /** Whether the object is deprecated */
1013
- int deprecated;
1014
- /** Whereas the west_lon_degree, south_lat_degree, east_lon_degree and
1015
- * north_lat_degree fields are valid. */
1016
- int bbox_valid;
1017
- /** Western-most longitude of the area of use, in degrees. */
1018
- double west_lon_degree;
1019
- /** Southern-most latitude of the area of use, in degrees. */
1020
- double south_lat_degree;
1021
- /** Eastern-most longitude of the area of use, in degrees. */
1022
- double east_lon_degree;
1023
- /** Northern-most latitude of the area of use, in degrees. */
1024
- double north_lat_degree;
1025
- /** Name of the area of use. */
1026
- char *area_name;
1027
- /** Name of the projection method for a projected CRS. Might be NULL even
1028
- *for projected CRS in some cases. */
1029
- char *projection_method_name;
1030
-
1031
- /** Name of the celestial body of the CRS (e.g. "Earth").
1032
- * @since 8.1
1033
- */
1034
- char *celestial_body_name;
1035
- } PROJ_CRS_INFO;
1036
-
1037
- /** \brief Structure describing optional parameters for proj_get_crs_list();
1038
- *
1039
- * This structure may grow over time, and should not be directly allocated by
1040
- * client code.
1041
- */
1042
- typedef struct {
1043
- /** Array of allowed object types. Should be NULL if all types are allowed*/
1044
- const PJ_TYPE *types;
1045
- /** Size of types. Should be 0 if all types are allowed*/
1046
- size_t typesCount;
1047
-
1048
- /** If TRUE and bbox_valid == TRUE, then only CRS whose area of use
1049
- * entirely contains the specified bounding box will be returned.
1050
- * If FALSE and bbox_valid == TRUE, then only CRS whose area of use
1051
- * intersects the specified bounding box will be returned.
1052
- */
1053
- int crs_area_of_use_contains_bbox;
1054
- /** To set to TRUE so that west_lon_degree, south_lat_degree,
1055
- * east_lon_degree and north_lat_degree fields are taken into account. */
1056
- int bbox_valid;
1057
- /** Western-most longitude of the area of use, in degrees. */
1058
- double west_lon_degree;
1059
- /** Southern-most latitude of the area of use, in degrees. */
1060
- double south_lat_degree;
1061
- /** Eastern-most longitude of the area of use, in degrees. */
1062
- double east_lon_degree;
1063
- /** Northern-most latitude of the area of use, in degrees. */
1064
- double north_lat_degree;
1065
-
1066
- /** Whether deprecated objects are allowed. Default to FALSE. */
1067
- int allow_deprecated;
1068
-
1069
- /** Celestial body of the CRS (e.g. "Earth"). The default value, NULL,
1070
- * means no restriction
1071
- * @since 8.1
1072
- */
1073
- const char *celestial_body_name;
1074
- } PROJ_CRS_LIST_PARAMETERS;
1075
-
1076
- /** \brief Structure given description of a unit.
1077
- *
1078
- * This structure may grow over time, and should not be directly allocated by
1079
- * client code.
1080
- * @since 7.1
1081
- */
1082
- typedef struct {
1083
- /** Authority name. */
1084
- char *auth_name;
1085
-
1086
- /** Object code. */
1087
- char *code;
1088
-
1089
- /** Object name. For example "metre", "US survey foot", etc. */
1090
- char *name;
1091
-
1092
- /** Category of the unit: one of "linear", "linear_per_time", "angular",
1093
- * "angular_per_time", "scale", "scale_per_time" or "time" */
1094
- char *category;
1095
-
1096
- /** Conversion factor to apply to transform from that unit to the
1097
- * corresponding SI unit (metre for "linear", radian for "angular", etc.).
1098
- * It might be 0 in some cases to indicate no known conversion factor. */
1099
- double conv_factor;
1100
-
1101
- /** PROJ short name, like "m", "ft", "us-ft", etc... Might be NULL */
1102
- char *proj_short_name;
1103
-
1104
- /** Whether the object is deprecated */
1105
- int deprecated;
1106
- } PROJ_UNIT_INFO;
1107
-
1108
- /** \brief Structure given description of a celestial body.
1109
- *
1110
- * This structure may grow over time, and should not be directly allocated by
1111
- * client code.
1112
- * @since 8.1
1113
- */
1114
- typedef struct {
1115
- /** Authority name. */
1116
- char *auth_name;
1117
-
1118
- /** Object name. For example "Earth" */
1119
- char *name;
1120
-
1121
- } PROJ_CELESTIAL_BODY_INFO;
1122
-
1123
- /**@}*/
1124
-
1125
- /**
1126
- * \defgroup iso19111_functions Binding in C of basic methods from the C++ API
1127
- * Functions for ISO19111 C API
1128
- *
1129
- * The PJ* objects returned by proj_create_from_wkt(),
1130
- * proj_create_from_database() and other functions in that section
1131
- * will have generally minimal interaction with the functions declared in the
1132
- * upper section of this header file (calling those functions on those objects
1133
- * will either return an error or default/nonsensical values). The exception is
1134
- * for ISO19111 objects of type CoordinateOperation that can be exported as a
1135
- * valid PROJ pipeline. In this case, the PJ objects will work for example with
1136
- * proj_trans_generic().
1137
- * Conversely, objects returned by proj_create() and proj_create_argv(), which
1138
- * are not of type CRS, will return an error when used with functions of this
1139
- * section.
1140
- * @{
1141
- */
1142
-
1143
- /*! @cond Doxygen_Suppress */
1144
- typedef struct PJ_OBJ_LIST PJ_OBJ_LIST;
1145
- /*! @endcond */
1146
-
1147
- void PROJ_DLL proj_string_list_destroy(PROJ_STRING_LIST list);
1148
-
1149
- void PROJ_DLL proj_context_set_autoclose_database(PJ_CONTEXT *ctx,
1150
- int autoclose);
1151
-
1152
- int PROJ_DLL proj_context_set_database_path(PJ_CONTEXT *ctx, const char *dbPath,
1153
- const char *const *auxDbPaths,
1154
- const char *const *options);
1155
-
1156
- const char PROJ_DLL *proj_context_get_database_path(PJ_CONTEXT *ctx);
1157
-
1158
- const char PROJ_DLL *proj_context_get_database_metadata(PJ_CONTEXT *ctx,
1159
- const char *key);
1160
-
1161
- PROJ_STRING_LIST PROJ_DLL proj_context_get_database_structure(
1162
- PJ_CONTEXT *ctx, const char *const *options);
1163
-
1164
- PJ_GUESSED_WKT_DIALECT PROJ_DLL proj_context_guess_wkt_dialect(PJ_CONTEXT *ctx,
1165
- const char *wkt);
1166
-
1167
- PJ PROJ_DLL *proj_create_from_wkt(PJ_CONTEXT *ctx, const char *wkt,
1168
- const char *const *options,
1169
- PROJ_STRING_LIST *out_warnings,
1170
- PROJ_STRING_LIST *out_grammar_errors);
1171
-
1172
- PJ PROJ_DLL *proj_create_from_database(PJ_CONTEXT *ctx, const char *auth_name,
1173
- const char *code, PJ_CATEGORY category,
1174
- int usePROJAlternativeGridNames,
1175
- const char *const *options);
1176
-
1177
- int PROJ_DLL proj_uom_get_info_from_database(
1178
- PJ_CONTEXT *ctx, const char *auth_name, const char *code,
1179
- const char **out_name, double *out_conv_factor, const char **out_category);
1180
-
1181
- int PROJ_DLL proj_grid_get_info_from_database(
1182
- PJ_CONTEXT *ctx, const char *grid_name, const char **out_full_name,
1183
- const char **out_package_name, const char **out_url,
1184
- int *out_direct_download, int *out_open_license, int *out_available);
1185
-
1186
- PJ PROJ_DLL *proj_clone(PJ_CONTEXT *ctx, const PJ *obj);
1187
-
1188
- PJ_OBJ_LIST PROJ_DLL *
1189
- proj_create_from_name(PJ_CONTEXT *ctx, const char *auth_name,
1190
- const char *searchedName, const PJ_TYPE *types,
1191
- size_t typesCount, int approximateMatch,
1192
- size_t limitResultCount, const char *const *options);
1193
-
1194
- PJ_TYPE PROJ_DLL proj_get_type(const PJ *obj);
1195
-
1196
- int PROJ_DLL proj_is_deprecated(const PJ *obj);
1197
-
1198
- PJ_OBJ_LIST PROJ_DLL *proj_get_non_deprecated(PJ_CONTEXT *ctx, const PJ *obj);
1199
-
1200
- int PROJ_DLL proj_is_equivalent_to(const PJ *obj, const PJ *other,
1201
- PJ_COMPARISON_CRITERION criterion);
1202
-
1203
- int PROJ_DLL proj_is_equivalent_to_with_ctx(PJ_CONTEXT *ctx, const PJ *obj,
1204
- const PJ *other,
1205
- PJ_COMPARISON_CRITERION criterion);
1206
-
1207
- int PROJ_DLL proj_is_crs(const PJ *obj);
1208
-
1209
- const char PROJ_DLL *proj_get_name(const PJ *obj);
1210
-
1211
- const char PROJ_DLL *proj_get_id_auth_name(const PJ *obj, int index);
1212
-
1213
- const char PROJ_DLL *proj_get_id_code(const PJ *obj, int index);
1214
-
1215
- const char PROJ_DLL *proj_get_remarks(const PJ *obj);
1216
-
1217
- int PROJ_DLL proj_get_domain_count(const PJ *obj);
1218
-
1219
- const char PROJ_DLL *proj_get_scope(const PJ *obj);
1220
-
1221
- const char PROJ_DLL *proj_get_scope_ex(const PJ *obj, int domainIdx);
1222
-
1223
- int PROJ_DLL proj_get_area_of_use(PJ_CONTEXT *ctx, const PJ *obj,
1224
- double *out_west_lon_degree,
1225
- double *out_south_lat_degree,
1226
- double *out_east_lon_degree,
1227
- double *out_north_lat_degree,
1228
- const char **out_area_name);
1229
-
1230
- int PROJ_DLL proj_get_area_of_use_ex(PJ_CONTEXT *ctx, const PJ *obj,
1231
- int domainIdx, double *out_west_lon_degree,
1232
- double *out_south_lat_degree,
1233
- double *out_east_lon_degree,
1234
- double *out_north_lat_degree,
1235
- const char **out_area_name);
1236
-
1237
- const char PROJ_DLL *proj_as_wkt(PJ_CONTEXT *ctx, const PJ *obj,
1238
- PJ_WKT_TYPE type, const char *const *options);
1239
-
1240
- const char PROJ_DLL *proj_as_proj_string(PJ_CONTEXT *ctx, const PJ *obj,
1241
- PJ_PROJ_STRING_TYPE type,
1242
- const char *const *options);
1243
-
1244
- const char PROJ_DLL *proj_as_projjson(PJ_CONTEXT *ctx, const PJ *obj,
1245
- const char *const *options);
1246
-
1247
- PJ PROJ_DLL *proj_get_source_crs(PJ_CONTEXT *ctx, const PJ *obj);
1248
-
1249
- PJ PROJ_DLL *proj_get_target_crs(PJ_CONTEXT *ctx, const PJ *obj);
1250
-
1251
- PJ_OBJ_LIST PROJ_DLL *proj_identify(PJ_CONTEXT *ctx, const PJ *obj,
1252
- const char *auth_name,
1253
- const char *const *options,
1254
- int **out_confidence);
1255
-
1256
- PROJ_STRING_LIST PROJ_DLL proj_get_geoid_models_from_database(
1257
- PJ_CONTEXT *ctx, const char *auth_name, const char *code,
1258
- const char *const *options);
1259
-
1260
- void PROJ_DLL proj_int_list_destroy(int *list);
1261
-
1262
- /* ------------------------------------------------------------------------- */
1263
-
1264
- PROJ_STRING_LIST PROJ_DLL proj_get_authorities_from_database(PJ_CONTEXT *ctx);
1265
-
1266
- PROJ_STRING_LIST PROJ_DLL proj_get_codes_from_database(PJ_CONTEXT *ctx,
1267
- const char *auth_name,
1268
- PJ_TYPE type,
1269
- int allow_deprecated);
1270
-
1271
- PROJ_CELESTIAL_BODY_INFO PROJ_DLL **proj_get_celestial_body_list_from_database(
1272
- PJ_CONTEXT *ctx, const char *auth_name, int *out_result_count);
1273
-
1274
- void PROJ_DLL proj_celestial_body_list_destroy(PROJ_CELESTIAL_BODY_INFO **list);
1275
-
1276
- PROJ_CRS_LIST_PARAMETERS PROJ_DLL *proj_get_crs_list_parameters_create(void);
1277
-
1278
- void PROJ_DLL
1279
- proj_get_crs_list_parameters_destroy(PROJ_CRS_LIST_PARAMETERS *params);
1280
-
1281
- PROJ_CRS_INFO PROJ_DLL **
1282
- proj_get_crs_info_list_from_database(PJ_CONTEXT *ctx, const char *auth_name,
1283
- const PROJ_CRS_LIST_PARAMETERS *params,
1284
- int *out_result_count);
1285
-
1286
- void PROJ_DLL proj_crs_info_list_destroy(PROJ_CRS_INFO **list);
1287
-
1288
- PROJ_UNIT_INFO PROJ_DLL **proj_get_units_from_database(PJ_CONTEXT *ctx,
1289
- const char *auth_name,
1290
- const char *category,
1291
- int allow_deprecated,
1292
- int *out_result_count);
1293
-
1294
- void PROJ_DLL proj_unit_list_destroy(PROJ_UNIT_INFO **list);
1295
-
1296
- /* ------------------------------------------------------------------------- */
1297
- /*! @cond Doxygen_Suppress */
1298
- typedef struct PJ_INSERT_SESSION PJ_INSERT_SESSION;
1299
- /*! @endcond */
1300
-
1301
- PJ_INSERT_SESSION PROJ_DLL *proj_insert_object_session_create(PJ_CONTEXT *ctx);
1302
-
1303
- void PROJ_DLL proj_insert_object_session_destroy(PJ_CONTEXT *ctx,
1304
- PJ_INSERT_SESSION *session);
1305
-
1306
- PROJ_STRING_LIST PROJ_DLL proj_get_insert_statements(
1307
- PJ_CONTEXT *ctx, PJ_INSERT_SESSION *session, const PJ *object,
1308
- const char *authority, const char *code, int numeric_codes,
1309
- const char *const *allowed_authorities, const char *const *options);
1310
-
1311
- char PROJ_DLL *proj_suggests_code_for(PJ_CONTEXT *ctx, const PJ *object,
1312
- const char *authority, int numeric_code,
1313
- const char *const *options);
1314
-
1315
- void PROJ_DLL proj_string_destroy(char *str);
1316
-
1317
- /* ------------------------------------------------------------------------- */
1318
- /*! @cond Doxygen_Suppress */
1319
- typedef struct PJ_OPERATION_FACTORY_CONTEXT PJ_OPERATION_FACTORY_CONTEXT;
1320
- /*! @endcond */
1321
-
1322
- PJ_OPERATION_FACTORY_CONTEXT PROJ_DLL *
1323
- proj_create_operation_factory_context(PJ_CONTEXT *ctx, const char *authority);
1324
-
1325
- void PROJ_DLL
1326
- proj_operation_factory_context_destroy(PJ_OPERATION_FACTORY_CONTEXT *ctx);
1327
-
1328
- void PROJ_DLL proj_operation_factory_context_set_desired_accuracy(
1329
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1330
- double accuracy);
1331
-
1332
- void PROJ_DLL proj_operation_factory_context_set_area_of_interest(
1333
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1334
- double west_lon_degree, double south_lat_degree, double east_lon_degree,
1335
- double north_lat_degree);
1336
-
1337
- void PROJ_DLL proj_operation_factory_context_set_area_of_interest_name(
1338
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1339
- const char *area_name);
1340
-
1341
- void PROJ_DLL proj_operation_factory_context_set_crs_extent_use(
1342
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1343
- PROJ_CRS_EXTENT_USE use);
1344
-
1345
- void PROJ_DLL proj_operation_factory_context_set_spatial_criterion(
1346
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1347
- PROJ_SPATIAL_CRITERION criterion);
1348
-
1349
- void PROJ_DLL proj_operation_factory_context_set_grid_availability_use(
1350
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1351
- PROJ_GRID_AVAILABILITY_USE use);
1352
-
1353
- void PROJ_DLL
1354
- proj_operation_factory_context_set_use_proj_alternative_grid_names(
1355
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1356
- int usePROJNames);
1357
-
1358
- void PROJ_DLL proj_operation_factory_context_set_allow_use_intermediate_crs(
1359
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1360
- PROJ_INTERMEDIATE_CRS_USE use);
1361
-
1362
- void PROJ_DLL proj_operation_factory_context_set_allowed_intermediate_crs(
1363
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx,
1364
- const char *const *list_of_auth_name_codes);
1365
-
1366
- void PROJ_DLL proj_operation_factory_context_set_discard_superseded(
1367
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx, int discard);
1368
-
1369
- void PROJ_DLL proj_operation_factory_context_set_allow_ballpark_transformations(
1370
- PJ_CONTEXT *ctx, PJ_OPERATION_FACTORY_CONTEXT *factory_ctx, int allow);
1371
-
1372
- /* ------------------------------------------------------------------------- */
1373
-
1374
- PJ_OBJ_LIST PROJ_DLL *
1375
- proj_create_operations(PJ_CONTEXT *ctx, const PJ *source_crs,
1376
- const PJ *target_crs,
1377
- const PJ_OPERATION_FACTORY_CONTEXT *operationContext);
1378
-
1379
- int PROJ_DLL proj_list_get_count(const PJ_OBJ_LIST *result);
1380
-
1381
- PJ PROJ_DLL *proj_list_get(PJ_CONTEXT *ctx, const PJ_OBJ_LIST *result,
1382
- int index);
1383
-
1384
- void PROJ_DLL proj_list_destroy(PJ_OBJ_LIST *result);
1385
-
1386
- int PROJ_DLL proj_get_suggested_operation(PJ_CONTEXT *ctx,
1387
- PJ_OBJ_LIST *operations,
1388
- PJ_DIRECTION direction,
1389
- PJ_COORD coord);
1390
-
1391
- /* ------------------------------------------------------------------------- */
1392
-
1393
- int PROJ_DLL proj_crs_is_derived(PJ_CONTEXT *ctx, const PJ *crs);
1394
-
1395
- PJ PROJ_DLL *proj_crs_get_geodetic_crs(PJ_CONTEXT *ctx, const PJ *crs);
1396
-
1397
- PJ PROJ_DLL *proj_crs_get_horizontal_datum(PJ_CONTEXT *ctx, const PJ *crs);
1398
-
1399
- PJ PROJ_DLL *proj_crs_get_sub_crs(PJ_CONTEXT *ctx, const PJ *crs, int index);
1400
-
1401
- PJ PROJ_DLL *proj_crs_get_datum(PJ_CONTEXT *ctx, const PJ *crs);
1402
-
1403
- PJ PROJ_DLL *proj_crs_get_datum_ensemble(PJ_CONTEXT *ctx, const PJ *crs);
1404
-
1405
- PJ PROJ_DLL *proj_crs_get_datum_forced(PJ_CONTEXT *ctx, const PJ *crs);
1406
-
1407
- int PROJ_DLL proj_crs_has_point_motion_operation(PJ_CONTEXT *ctx,
1408
- const PJ *crs);
1409
-
1410
- int PROJ_DLL proj_datum_ensemble_get_member_count(PJ_CONTEXT *ctx,
1411
- const PJ *datum_ensemble);
1412
-
1413
- double PROJ_DLL proj_datum_ensemble_get_accuracy(PJ_CONTEXT *ctx,
1414
- const PJ *datum_ensemble);
1415
-
1416
- PJ PROJ_DLL *proj_datum_ensemble_get_member(PJ_CONTEXT *ctx,
1417
- const PJ *datum_ensemble,
1418
- int member_index);
1419
-
1420
- double PROJ_DLL proj_dynamic_datum_get_frame_reference_epoch(PJ_CONTEXT *ctx,
1421
- const PJ *datum);
1422
-
1423
- PJ PROJ_DLL *proj_crs_get_coordinate_system(PJ_CONTEXT *ctx, const PJ *crs);
1424
-
1425
- PJ_COORDINATE_SYSTEM_TYPE PROJ_DLL proj_cs_get_type(PJ_CONTEXT *ctx,
1426
- const PJ *cs);
1427
-
1428
- int PROJ_DLL proj_cs_get_axis_count(PJ_CONTEXT *ctx, const PJ *cs);
1429
-
1430
- int PROJ_DLL proj_cs_get_axis_info(
1431
- PJ_CONTEXT *ctx, const PJ *cs, int index, const char **out_name,
1432
- const char **out_abbrev, const char **out_direction,
1433
- double *out_unit_conv_factor, const char **out_unit_name,
1434
- const char **out_unit_auth_name, const char **out_unit_code);
1435
-
1436
- PJ PROJ_DLL *proj_get_ellipsoid(PJ_CONTEXT *ctx, const PJ *obj);
1437
-
1438
- int PROJ_DLL proj_ellipsoid_get_parameters(PJ_CONTEXT *ctx, const PJ *ellipsoid,
1439
- double *out_semi_major_metre,
1440
- double *out_semi_minor_metre,
1441
- int *out_is_semi_minor_computed,
1442
- double *out_inv_flattening);
1443
-
1444
- const char PROJ_DLL *proj_get_celestial_body_name(PJ_CONTEXT *ctx,
1445
- const PJ *obj);
1446
-
1447
- PJ PROJ_DLL *proj_get_prime_meridian(PJ_CONTEXT *ctx, const PJ *obj);
1448
-
1449
- int PROJ_DLL proj_prime_meridian_get_parameters(PJ_CONTEXT *ctx,
1450
- const PJ *prime_meridian,
1451
- double *out_longitude,
1452
- double *out_unit_conv_factor,
1453
- const char **out_unit_name);
1454
-
1455
- PJ PROJ_DLL *proj_crs_get_coordoperation(PJ_CONTEXT *ctx, const PJ *crs);
1456
-
1457
- int PROJ_DLL proj_coordoperation_get_method_info(
1458
- PJ_CONTEXT *ctx, const PJ *coordoperation, const char **out_method_name,
1459
- const char **out_method_auth_name, const char **out_method_code);
1460
-
1461
- int PROJ_DLL proj_coordoperation_is_instantiable(PJ_CONTEXT *ctx,
1462
- const PJ *coordoperation);
1463
-
1464
- int PROJ_DLL proj_coordoperation_has_ballpark_transformation(
1465
- PJ_CONTEXT *ctx, const PJ *coordoperation);
1466
-
1467
- int PROJ_DLL proj_coordoperation_requires_per_coordinate_input_time(
1468
- PJ_CONTEXT *ctx, const PJ *coordoperation);
1469
-
1470
- int PROJ_DLL proj_coordoperation_get_param_count(PJ_CONTEXT *ctx,
1471
- const PJ *coordoperation);
1472
-
1473
- int PROJ_DLL proj_coordoperation_get_param_index(PJ_CONTEXT *ctx,
1474
- const PJ *coordoperation,
1475
- const char *name);
1476
-
1477
- int PROJ_DLL proj_coordoperation_get_param(
1478
- PJ_CONTEXT *ctx, const PJ *coordoperation, int index, const char **out_name,
1479
- const char **out_auth_name, const char **out_code, double *out_value,
1480
- const char **out_value_string, double *out_unit_conv_factor,
1481
- const char **out_unit_name, const char **out_unit_auth_name,
1482
- const char **out_unit_code, const char **out_unit_category);
1483
-
1484
- int PROJ_DLL proj_coordoperation_get_grid_used_count(PJ_CONTEXT *ctx,
1485
- const PJ *coordoperation);
1486
-
1487
- int PROJ_DLL proj_coordoperation_get_grid_used(
1488
- PJ_CONTEXT *ctx, const PJ *coordoperation, int index,
1489
- const char **out_short_name, const char **out_full_name,
1490
- const char **out_package_name, const char **out_url,
1491
- int *out_direct_download, int *out_open_license, int *out_available);
1492
-
1493
- double PROJ_DLL proj_coordoperation_get_accuracy(PJ_CONTEXT *ctx,
1494
- const PJ *obj);
1495
-
1496
- int PROJ_DLL proj_coordoperation_get_towgs84_values(
1497
- PJ_CONTEXT *ctx, const PJ *coordoperation, double *out_values,
1498
- int value_count, int emit_error_if_incompatible);
1499
-
1500
- PJ PROJ_DLL *proj_coordoperation_create_inverse(PJ_CONTEXT *ctx, const PJ *obj);
1501
-
1502
- int PROJ_DLL proj_concatoperation_get_step_count(PJ_CONTEXT *ctx,
1503
- const PJ *concatoperation);
1504
-
1505
- PJ PROJ_DLL *proj_concatoperation_get_step(PJ_CONTEXT *ctx,
1506
- const PJ *concatoperation,
1507
- int i_step);
1508
-
1509
- PJ PROJ_DLL *proj_coordinate_metadata_create(PJ_CONTEXT *ctx, const PJ *crs,
1510
- double epoch);
1511
-
1512
- double PROJ_DLL proj_coordinate_metadata_get_epoch(PJ_CONTEXT *ctx,
1513
- const PJ *obj);
1514
-
1515
- /**@}*/
1516
-
1517
- /* ------------------------------------------------------------------------- */
1518
- /* Binding in C of advanced methods from the C++ API */
1519
- /* */
1520
- /* Manual construction of CRS objects. */
1521
- /* ------------------------------------------------------------------------- */
1522
-
1523
- /**
1524
- * \defgroup iso19111_advanced_types C types for advanced methods from the C++
1525
- * API
1526
- * @{
1527
- */
1528
-
1529
- /** Type of unit of measure. */
1530
- typedef enum {
1531
- /** Angular unit of measure */
1532
- PJ_UT_ANGULAR,
1533
- /** Linear unit of measure */
1534
- PJ_UT_LINEAR,
1535
- /** Scale unit of measure */
1536
- PJ_UT_SCALE,
1537
- /** Time unit of measure */
1538
- PJ_UT_TIME,
1539
- /** Parametric unit of measure */
1540
- PJ_UT_PARAMETRIC
1541
- } PJ_UNIT_TYPE;
1542
-
1543
- /** \brief Axis description.
1544
- */
1545
- typedef struct {
1546
- /** Axis name. */
1547
- char *name;
1548
-
1549
- /** Axis abbreviation. */
1550
- char *abbreviation;
1551
-
1552
- /** Axis direction. */
1553
- char *direction;
1554
-
1555
- /** Axis unit name. */
1556
- char *unit_name;
1557
-
1558
- /** Conversion factor to SI of the unit. */
1559
- double unit_conv_factor;
1560
-
1561
- /** Type of unit */
1562
- PJ_UNIT_TYPE unit_type;
1563
- } PJ_AXIS_DESCRIPTION;
1564
-
1565
- /** Type of Cartesian 2D coordinate system. */
1566
- typedef enum {
1567
- /** Easting-Norting */
1568
- PJ_CART2D_EASTING_NORTHING,
1569
- /** Northing-Easting */
1570
- PJ_CART2D_NORTHING_EASTING,
1571
- /** North Pole Easting/SOUTH-Norting/SOUTH */
1572
- PJ_CART2D_NORTH_POLE_EASTING_SOUTH_NORTHING_SOUTH,
1573
- /** South Pole Easting/NORTH-Norting/NORTH */
1574
- PJ_CART2D_SOUTH_POLE_EASTING_NORTH_NORTHING_NORTH,
1575
- /** Westing-southing */
1576
- PJ_CART2D_WESTING_SOUTHING,
1577
- } PJ_CARTESIAN_CS_2D_TYPE;
1578
-
1579
- /** Type of Ellipsoidal 2D coordinate system. */
1580
- typedef enum {
1581
- /** Longitude-Latitude */
1582
- PJ_ELLPS2D_LONGITUDE_LATITUDE,
1583
- /** Latitude-Longitude */
1584
- PJ_ELLPS2D_LATITUDE_LONGITUDE,
1585
- } PJ_ELLIPSOIDAL_CS_2D_TYPE;
1586
-
1587
- /** Type of Ellipsoidal 3D coordinate system. */
1588
- typedef enum {
1589
- /** Longitude-Latitude-Height(up) */
1590
- PJ_ELLPS3D_LONGITUDE_LATITUDE_HEIGHT,
1591
- /** Latitude-Longitude-Height(up) */
1592
- PJ_ELLPS3D_LATITUDE_LONGITUDE_HEIGHT,
1593
- } PJ_ELLIPSOIDAL_CS_3D_TYPE;
1594
-
1595
- /** \brief Description of a parameter value for a Conversion.
1596
- */
1597
- typedef struct {
1598
- /** Parameter name. */
1599
- const char *name;
1600
-
1601
- /** Parameter authority name. */
1602
- const char *auth_name;
1603
-
1604
- /** Parameter code. */
1605
- const char *code;
1606
-
1607
- /** Parameter value. */
1608
- double value;
1609
-
1610
- /** Name of unit in which parameter value is expressed. */
1611
- const char *unit_name;
1612
-
1613
- /** Conversion factor to SI of the unit. */
1614
- double unit_conv_factor;
1615
-
1616
- /** Type of unit */
1617
- PJ_UNIT_TYPE unit_type;
1618
- } PJ_PARAM_DESCRIPTION;
1619
-
1620
- /**@}*/
1621
-
1622
- /**
1623
- * \defgroup iso19111_advanced_functions Binding in C of advanced methods from
1624
- * the C++ API
1625
- * @{
1626
- */
1627
-
1628
- PJ PROJ_DLL *proj_create_cs(PJ_CONTEXT *ctx, PJ_COORDINATE_SYSTEM_TYPE type,
1629
- int axis_count, const PJ_AXIS_DESCRIPTION *axis);
1630
-
1631
- PJ PROJ_DLL *proj_create_cartesian_2D_cs(PJ_CONTEXT *ctx,
1632
- PJ_CARTESIAN_CS_2D_TYPE type,
1633
- const char *unit_name,
1634
- double unit_conv_factor);
1635
-
1636
- PJ PROJ_DLL *proj_create_ellipsoidal_2D_cs(PJ_CONTEXT *ctx,
1637
- PJ_ELLIPSOIDAL_CS_2D_TYPE type,
1638
- const char *unit_name,
1639
- double unit_conv_factor);
1640
-
1641
- PJ PROJ_DLL *
1642
- proj_create_ellipsoidal_3D_cs(PJ_CONTEXT *ctx, PJ_ELLIPSOIDAL_CS_3D_TYPE type,
1643
- const char *horizontal_angular_unit_name,
1644
- double horizontal_angular_unit_conv_factor,
1645
- const char *vertical_linear_unit_name,
1646
- double vertical_linear_unit_conv_factor);
1647
-
1648
- PJ_OBJ_LIST PROJ_DLL *proj_query_geodetic_crs_from_datum(
1649
- PJ_CONTEXT *ctx, const char *crs_auth_name, const char *datum_auth_name,
1650
- const char *datum_code, const char *crs_type);
1651
-
1652
- PJ PROJ_DLL *proj_create_geographic_crs(
1653
- PJ_CONTEXT *ctx, const char *crs_name, const char *datum_name,
1654
- const char *ellps_name, double semi_major_metre, double inv_flattening,
1655
- const char *prime_meridian_name, double prime_meridian_offset,
1656
- const char *pm_angular_units, double pm_units_conv,
1657
- const PJ *ellipsoidal_cs);
1658
-
1659
- PJ PROJ_DLL *
1660
- proj_create_geographic_crs_from_datum(PJ_CONTEXT *ctx, const char *crs_name,
1661
- const PJ *datum_or_datum_ensemble,
1662
- const PJ *ellipsoidal_cs);
1663
-
1664
- PJ PROJ_DLL *proj_create_geocentric_crs(
1665
- PJ_CONTEXT *ctx, const char *crs_name, const char *datum_name,
1666
- const char *ellps_name, double semi_major_metre, double inv_flattening,
1667
- const char *prime_meridian_name, double prime_meridian_offset,
1668
- const char *angular_units, double angular_units_conv,
1669
- const char *linear_units, double linear_units_conv);
1670
-
1671
- PJ PROJ_DLL *proj_create_geocentric_crs_from_datum(
1672
- PJ_CONTEXT *ctx, const char *crs_name, const PJ *datum_or_datum_ensemble,
1673
- const char *linear_units, double linear_units_conv);
1674
-
1675
- PJ PROJ_DLL *proj_create_derived_geographic_crs(PJ_CONTEXT *ctx,
1676
- const char *crs_name,
1677
- const PJ *base_geographic_crs,
1678
- const PJ *conversion,
1679
- const PJ *ellipsoidal_cs);
1680
-
1681
- int PROJ_DLL proj_is_derived_crs(PJ_CONTEXT *ctx, const PJ *crs);
1682
-
1683
- PJ PROJ_DLL *proj_alter_name(PJ_CONTEXT *ctx, const PJ *obj, const char *name);
1684
-
1685
- PJ PROJ_DLL *proj_alter_id(PJ_CONTEXT *ctx, const PJ *obj,
1686
- const char *auth_name, const char *code);
1687
-
1688
- PJ PROJ_DLL *proj_crs_alter_geodetic_crs(PJ_CONTEXT *ctx, const PJ *obj,
1689
- const PJ *new_geod_crs);
1690
-
1691
- PJ PROJ_DLL *proj_crs_alter_cs_angular_unit(PJ_CONTEXT *ctx, const PJ *obj,
1692
- const char *angular_units,
1693
- double angular_units_conv,
1694
- const char *unit_auth_name,
1695
- const char *unit_code);
1696
-
1697
- PJ PROJ_DLL *proj_crs_alter_cs_linear_unit(PJ_CONTEXT *ctx, const PJ *obj,
1698
- const char *linear_units,
1699
- double linear_units_conv,
1700
- const char *unit_auth_name,
1701
- const char *unit_code);
1702
-
1703
- PJ PROJ_DLL *proj_crs_alter_parameters_linear_unit(
1704
- PJ_CONTEXT *ctx, const PJ *obj, const char *linear_units,
1705
- double linear_units_conv, const char *unit_auth_name, const char *unit_code,
1706
- int convert_to_new_unit);
1707
-
1708
- PJ PROJ_DLL *proj_crs_promote_to_3D(PJ_CONTEXT *ctx, const char *crs_3D_name,
1709
- const PJ *crs_2D);
1710
-
1711
- PJ PROJ_DLL *
1712
- proj_crs_create_projected_3D_crs_from_2D(PJ_CONTEXT *ctx, const char *crs_name,
1713
- const PJ *projected_2D_crs,
1714
- const PJ *geog_3D_crs);
1715
-
1716
- PJ PROJ_DLL *proj_crs_demote_to_2D(PJ_CONTEXT *ctx, const char *crs_2D_name,
1717
- const PJ *crs_3D);
1718
-
1719
- PJ PROJ_DLL *proj_create_engineering_crs(PJ_CONTEXT *ctx, const char *crsName);
1720
-
1721
- PJ PROJ_DLL *proj_create_vertical_crs(PJ_CONTEXT *ctx, const char *crs_name,
1722
- const char *datum_name,
1723
- const char *linear_units,
1724
- double linear_units_conv);
1725
-
1726
- PJ PROJ_DLL *proj_create_vertical_crs_ex(
1727
- PJ_CONTEXT *ctx, const char *crs_name, const char *datum_name,
1728
- const char *datum_auth_name, const char *datum_code,
1729
- const char *linear_units, double linear_units_conv,
1730
- const char *geoid_model_name, const char *geoid_model_auth_name,
1731
- const char *geoid_model_code, const PJ *geoid_geog_crs,
1732
- const char *const *options);
1733
-
1734
- PJ PROJ_DLL *proj_create_compound_crs(PJ_CONTEXT *ctx, const char *crs_name,
1735
- const PJ *horiz_crs, const PJ *vert_crs);
1736
-
1737
- PJ PROJ_DLL *proj_create_conversion(PJ_CONTEXT *ctx, const char *name,
1738
- const char *auth_name, const char *code,
1739
- const char *method_name,
1740
- const char *method_auth_name,
1741
- const char *method_code, int param_count,
1742
- const PJ_PARAM_DESCRIPTION *params);
1743
-
1744
- PJ PROJ_DLL *proj_create_transformation(
1745
- PJ_CONTEXT *ctx, const char *name, const char *auth_name, const char *code,
1746
- const PJ *source_crs, const PJ *target_crs, const PJ *interpolation_crs,
1747
- const char *method_name, const char *method_auth_name,
1748
- const char *method_code, int param_count,
1749
- const PJ_PARAM_DESCRIPTION *params, double accuracy);
1750
-
1751
- PJ PROJ_DLL *
1752
- proj_convert_conversion_to_other_method(PJ_CONTEXT *ctx, const PJ *conversion,
1753
- int new_method_epsg_code,
1754
- const char *new_method_name);
1755
-
1756
- PJ PROJ_DLL *proj_create_projected_crs(PJ_CONTEXT *ctx, const char *crs_name,
1757
- const PJ *geodetic_crs,
1758
- const PJ *conversion,
1759
- const PJ *coordinate_system);
1760
-
1761
- PJ PROJ_DLL *proj_crs_create_bound_crs(PJ_CONTEXT *ctx, const PJ *base_crs,
1762
- const PJ *hub_crs,
1763
- const PJ *transformation);
1764
-
1765
- PJ PROJ_DLL *proj_crs_create_bound_crs_to_WGS84(PJ_CONTEXT *ctx, const PJ *crs,
1766
- const char *const *options);
1767
-
1768
- PJ PROJ_DLL *proj_crs_create_bound_vertical_crs(PJ_CONTEXT *ctx,
1769
- const PJ *vert_crs,
1770
- const PJ *hub_geographic_3D_crs,
1771
- const char *grid_name);
1772
-
1773
- /* BEGIN: Generated by scripts/create_c_api_projections.py*/
1774
- PJ PROJ_DLL *proj_create_conversion_utm(PJ_CONTEXT *ctx, int zone, int north);
1775
-
1776
- PJ PROJ_DLL *proj_create_conversion_transverse_mercator(
1777
- PJ_CONTEXT *ctx, double center_lat, double center_long, double scale,
1778
- double false_easting, double false_northing, const char *ang_unit_name,
1779
- double ang_unit_conv_factor, const char *linear_unit_name,
1780
- double linear_unit_conv_factor);
1781
-
1782
- PJ PROJ_DLL *proj_create_conversion_gauss_schreiber_transverse_mercator(
1783
- PJ_CONTEXT *ctx, double center_lat, double center_long, double scale,
1784
- double false_easting, double false_northing, const char *ang_unit_name,
1785
- double ang_unit_conv_factor, const char *linear_unit_name,
1786
- double linear_unit_conv_factor);
1787
-
1788
- PJ PROJ_DLL *proj_create_conversion_transverse_mercator_south_oriented(
1789
- PJ_CONTEXT *ctx, double center_lat, double center_long, double scale,
1790
- double false_easting, double false_northing, const char *ang_unit_name,
1791
- double ang_unit_conv_factor, const char *linear_unit_name,
1792
- double linear_unit_conv_factor);
1793
-
1794
- PJ PROJ_DLL *proj_create_conversion_two_point_equidistant(
1795
- PJ_CONTEXT *ctx, double latitude_first_point, double longitude_first_point,
1796
- double latitude_second_point, double longitude_secon_point,
1797
- double false_easting, double false_northing, const char *ang_unit_name,
1798
- double ang_unit_conv_factor, const char *linear_unit_name,
1799
- double linear_unit_conv_factor);
1800
-
1801
- PJ PROJ_DLL *proj_create_conversion_tunisia_mapping_grid(
1802
- PJ_CONTEXT *ctx, double center_lat, double center_long,
1803
- double false_easting, double false_northing, const char *ang_unit_name,
1804
- double ang_unit_conv_factor, const char *linear_unit_name,
1805
- double linear_unit_conv_factor);
1806
-
1807
- PJ PROJ_DLL *proj_create_conversion_tunisia_mining_grid(
1808
- PJ_CONTEXT *ctx, double center_lat, double center_long,
1809
- double false_easting, double false_northing, const char *ang_unit_name,
1810
- double ang_unit_conv_factor, const char *linear_unit_name,
1811
- double linear_unit_conv_factor);
1812
-
1813
- PJ PROJ_DLL *proj_create_conversion_albers_equal_area(
1814
- PJ_CONTEXT *ctx, double latitude_false_origin,
1815
- double longitude_false_origin, double latitude_first_parallel,
1816
- double latitude_second_parallel, double easting_false_origin,
1817
- double northing_false_origin, const char *ang_unit_name,
1818
- double ang_unit_conv_factor, const char *linear_unit_name,
1819
- double linear_unit_conv_factor);
1820
-
1821
- PJ PROJ_DLL *proj_create_conversion_lambert_conic_conformal_1sp(
1822
- PJ_CONTEXT *ctx, double center_lat, double center_long, double scale,
1823
- double false_easting, double false_northing, const char *ang_unit_name,
1824
- double ang_unit_conv_factor, const char *linear_unit_name,
1825
- double linear_unit_conv_factor);
1826
-
1827
- PJ PROJ_DLL *proj_create_conversion_lambert_conic_conformal_1sp_variant_b(
1828
- PJ_CONTEXT *ctx, double latitude_nat_origin, double scale,
1829
- double latitude_false_origin, double longitude_false_origin,
1830
- double easting_false_origin, double northing_false_origin,
1831
- const char *ang_unit_name, double ang_unit_conv_factor,
1832
- const char *linear_unit_name, double linear_unit_conv_factor);
1833
-
1834
- PJ PROJ_DLL *proj_create_conversion_lambert_conic_conformal_2sp(
1835
- PJ_CONTEXT *ctx, double latitude_false_origin,
1836
- double longitude_false_origin, double latitude_first_parallel,
1837
- double latitude_second_parallel, double easting_false_origin,
1838
- double northing_false_origin, const char *ang_unit_name,
1839
- double ang_unit_conv_factor, const char *linear_unit_name,
1840
- double linear_unit_conv_factor);
1841
-
1842
- PJ PROJ_DLL *proj_create_conversion_lambert_conic_conformal_2sp_michigan(
1843
- PJ_CONTEXT *ctx, double latitude_false_origin,
1844
- double longitude_false_origin, double latitude_first_parallel,
1845
- double latitude_second_parallel, double easting_false_origin,
1846
- double northing_false_origin, double ellipsoid_scaling_factor,
1847
- const char *ang_unit_name, double ang_unit_conv_factor,
1848
- const char *linear_unit_name, double linear_unit_conv_factor);
1849
-
1850
- PJ PROJ_DLL *proj_create_conversion_lambert_conic_conformal_2sp_belgium(
1851
- PJ_CONTEXT *ctx, double latitude_false_origin,
1852
- double longitude_false_origin, double latitude_first_parallel,
1853
- double latitude_second_parallel, double easting_false_origin,
1854
- double northing_false_origin, const char *ang_unit_name,
1855
- double ang_unit_conv_factor, const char *linear_unit_name,
1856
- double linear_unit_conv_factor);
1857
-
1858
- PJ PROJ_DLL *proj_create_conversion_azimuthal_equidistant(
1859
- PJ_CONTEXT *ctx, double latitude_nat_origin, double longitude_nat_origin,
1860
- double false_easting, double false_northing, const char *ang_unit_name,
1861
- double ang_unit_conv_factor, const char *linear_unit_name,
1862
- double linear_unit_conv_factor);
1863
-
1864
- PJ PROJ_DLL *proj_create_conversion_guam_projection(
1865
- PJ_CONTEXT *ctx, double latitude_nat_origin, double longitude_nat_origin,
1866
- double false_easting, double false_northing, const char *ang_unit_name,
1867
- double ang_unit_conv_factor, const char *linear_unit_name,
1868
- double linear_unit_conv_factor);
1869
-
1870
- PJ PROJ_DLL *proj_create_conversion_bonne(
1871
- PJ_CONTEXT *ctx, double latitude_nat_origin, double longitude_nat_origin,
1872
- double false_easting, double false_northing, const char *ang_unit_name,
1873
- double ang_unit_conv_factor, const char *linear_unit_name,
1874
- double linear_unit_conv_factor);
1875
-
1876
- PJ PROJ_DLL *proj_create_conversion_lambert_cylindrical_equal_area_spherical(
1877
- PJ_CONTEXT *ctx, double latitude_first_parallel,
1878
- double longitude_nat_origin, double false_easting, double false_northing,
1879
- const char *ang_unit_name, double ang_unit_conv_factor,
1880
- const char *linear_unit_name, double linear_unit_conv_factor);
1881
-
1882
- PJ PROJ_DLL *proj_create_conversion_lambert_cylindrical_equal_area(
1883
- PJ_CONTEXT *ctx, double latitude_first_parallel,
1884
- double longitude_nat_origin, double false_easting, double false_northing,
1885
- const char *ang_unit_name, double ang_unit_conv_factor,
1886
- const char *linear_unit_name, double linear_unit_conv_factor);
1887
-
1888
- PJ PROJ_DLL *proj_create_conversion_cassini_soldner(
1889
- PJ_CONTEXT *ctx, double center_lat, double center_long,
1890
- double false_easting, double false_northing, const char *ang_unit_name,
1891
- double ang_unit_conv_factor, const char *linear_unit_name,
1892
- double linear_unit_conv_factor);
1893
-
1894
- PJ PROJ_DLL *proj_create_conversion_equidistant_conic(
1895
- PJ_CONTEXT *ctx, double center_lat, double center_long,
1896
- double latitude_first_parallel, double latitude_second_parallel,
1897
- double false_easting, double false_northing, const char *ang_unit_name,
1898
- double ang_unit_conv_factor, const char *linear_unit_name,
1899
- double linear_unit_conv_factor);
1900
-
1901
- PJ PROJ_DLL *proj_create_conversion_eckert_i(
1902
- PJ_CONTEXT *ctx, double center_long, double false_easting,
1903
- double false_northing, const char *ang_unit_name,
1904
- double ang_unit_conv_factor, const char *linear_unit_name,
1905
- double linear_unit_conv_factor);
1906
-
1907
- PJ PROJ_DLL *proj_create_conversion_eckert_ii(
1908
- PJ_CONTEXT *ctx, double center_long, double false_easting,
1909
- double false_northing, const char *ang_unit_name,
1910
- double ang_unit_conv_factor, const char *linear_unit_name,
1911
- double linear_unit_conv_factor);
1912
-
1913
- PJ PROJ_DLL *proj_create_conversion_eckert_iii(
1914
- PJ_CONTEXT *ctx, double center_long, double false_easting,
1915
- double false_northing, const char *ang_unit_name,
1916
- double ang_unit_conv_factor, const char *linear_unit_name,
1917
- double linear_unit_conv_factor);
1918
-
1919
- PJ PROJ_DLL *proj_create_conversion_eckert_iv(
1920
- PJ_CONTEXT *ctx, double center_long, double false_easting,
1921
- double false_northing, const char *ang_unit_name,
1922
- double ang_unit_conv_factor, const char *linear_unit_name,
1923
- double linear_unit_conv_factor);
1924
-
1925
- PJ PROJ_DLL *proj_create_conversion_eckert_v(
1926
- PJ_CONTEXT *ctx, double center_long, double false_easting,
1927
- double false_northing, const char *ang_unit_name,
1928
- double ang_unit_conv_factor, const char *linear_unit_name,
1929
- double linear_unit_conv_factor);
1930
-
1931
- PJ PROJ_DLL *proj_create_conversion_eckert_vi(
1932
- PJ_CONTEXT *ctx, double center_long, double false_easting,
1933
- double false_northing, const char *ang_unit_name,
1934
- double ang_unit_conv_factor, const char *linear_unit_name,
1935
- double linear_unit_conv_factor);
1936
-
1937
- PJ PROJ_DLL *proj_create_conversion_equidistant_cylindrical(
1938
- PJ_CONTEXT *ctx, double latitude_first_parallel,
1939
- double longitude_nat_origin, double false_easting, double false_northing,
1940
- const char *ang_unit_name, double ang_unit_conv_factor,
1941
- const char *linear_unit_name, double linear_unit_conv_factor);
1942
-
1943
- PJ PROJ_DLL *proj_create_conversion_equidistant_cylindrical_spherical(
1944
- PJ_CONTEXT *ctx, double latitude_first_parallel,
1945
- double longitude_nat_origin, double false_easting, double false_northing,
1946
- const char *ang_unit_name, double ang_unit_conv_factor,
1947
- const char *linear_unit_name, double linear_unit_conv_factor);
1948
-
1949
- PJ PROJ_DLL *proj_create_conversion_gall(PJ_CONTEXT *ctx, double center_long,
1950
- double false_easting,
1951
- double false_northing,
1952
- const char *ang_unit_name,
1953
- double ang_unit_conv_factor,
1954
- const char *linear_unit_name,
1955
- double linear_unit_conv_factor);
1956
-
1957
- PJ PROJ_DLL *proj_create_conversion_goode_homolosine(
1958
- PJ_CONTEXT *ctx, double center_long, double false_easting,
1959
- double false_northing, const char *ang_unit_name,
1960
- double ang_unit_conv_factor, const char *linear_unit_name,
1961
- double linear_unit_conv_factor);
1962
-
1963
- PJ PROJ_DLL *proj_create_conversion_interrupted_goode_homolosine(
1964
- PJ_CONTEXT *ctx, double center_long, double false_easting,
1965
- double false_northing, const char *ang_unit_name,
1966
- double ang_unit_conv_factor, const char *linear_unit_name,
1967
- double linear_unit_conv_factor);
1968
-
1969
- PJ PROJ_DLL *proj_create_conversion_geostationary_satellite_sweep_x(
1970
- PJ_CONTEXT *ctx, double center_long, double height, double false_easting,
1971
- double false_northing, const char *ang_unit_name,
1972
- double ang_unit_conv_factor, const char *linear_unit_name,
1973
- double linear_unit_conv_factor);
1974
-
1975
- PJ PROJ_DLL *proj_create_conversion_geostationary_satellite_sweep_y(
1976
- PJ_CONTEXT *ctx, double center_long, double height, double false_easting,
1977
- double false_northing, const char *ang_unit_name,
1978
- double ang_unit_conv_factor, const char *linear_unit_name,
1979
- double linear_unit_conv_factor);
1980
-
1981
- PJ PROJ_DLL *proj_create_conversion_gnomonic(
1982
- PJ_CONTEXT *ctx, double center_lat, double center_long,
1983
- double false_easting, double false_northing, const char *ang_unit_name,
1984
- double ang_unit_conv_factor, const char *linear_unit_name,
1985
- double linear_unit_conv_factor);
1986
-
1987
- PJ PROJ_DLL *proj_create_conversion_hotine_oblique_mercator_variant_a(
1988
- PJ_CONTEXT *ctx, double latitude_projection_centre,
1989
- double longitude_projection_centre, double azimuth_initial_line,
1990
- double angle_from_rectified_to_skrew_grid, double scale,
1991
- double false_easting, double false_northing, const char *ang_unit_name,
1992
- double ang_unit_conv_factor, const char *linear_unit_name,
1993
- double linear_unit_conv_factor);
1994
-
1995
- PJ PROJ_DLL *proj_create_conversion_hotine_oblique_mercator_variant_b(
1996
- PJ_CONTEXT *ctx, double latitude_projection_centre,
1997
- double longitude_projection_centre, double azimuth_initial_line,
1998
- double angle_from_rectified_to_skrew_grid, double scale,
1999
- double easting_projection_centre, double northing_projection_centre,
2000
- const char *ang_unit_name, double ang_unit_conv_factor,
2001
- const char *linear_unit_name, double linear_unit_conv_factor);
2002
-
2003
- PJ PROJ_DLL *
2004
- proj_create_conversion_hotine_oblique_mercator_two_point_natural_origin(
2005
- PJ_CONTEXT *ctx, double latitude_projection_centre, double latitude_point1,
2006
- double longitude_point1, double latitude_point2, double longitude_point2,
2007
- double scale, double easting_projection_centre,
2008
- double northing_projection_centre, const char *ang_unit_name,
2009
- double ang_unit_conv_factor, const char *linear_unit_name,
2010
- double linear_unit_conv_factor);
2011
-
2012
- PJ PROJ_DLL *proj_create_conversion_laborde_oblique_mercator(
2013
- PJ_CONTEXT *ctx, double latitude_projection_centre,
2014
- double longitude_projection_centre, double azimuth_initial_line,
2015
- double scale, double false_easting, double false_northing,
2016
- const char *ang_unit_name, double ang_unit_conv_factor,
2017
- const char *linear_unit_name, double linear_unit_conv_factor);
2018
-
2019
- PJ PROJ_DLL *proj_create_conversion_international_map_world_polyconic(
2020
- PJ_CONTEXT *ctx, double center_long, double latitude_first_parallel,
2021
- double latitude_second_parallel, double false_easting,
2022
- double false_northing, const char *ang_unit_name,
2023
- double ang_unit_conv_factor, const char *linear_unit_name,
2024
- double linear_unit_conv_factor);
2025
-
2026
- PJ PROJ_DLL *proj_create_conversion_krovak_north_oriented(
2027
- PJ_CONTEXT *ctx, double latitude_projection_centre,
2028
- double longitude_of_origin, double colatitude_cone_axis,
2029
- double latitude_pseudo_standard_parallel,
2030
- double scale_factor_pseudo_standard_parallel, double false_easting,
2031
- double false_northing, const char *ang_unit_name,
2032
- double ang_unit_conv_factor, const char *linear_unit_name,
2033
- double linear_unit_conv_factor);
2034
-
2035
- PJ PROJ_DLL *proj_create_conversion_krovak(
2036
- PJ_CONTEXT *ctx, double latitude_projection_centre,
2037
- double longitude_of_origin, double colatitude_cone_axis,
2038
- double latitude_pseudo_standard_parallel,
2039
- double scale_factor_pseudo_standard_parallel, double false_easting,
2040
- double false_northing, const char *ang_unit_name,
2041
- double ang_unit_conv_factor, const char *linear_unit_name,
2042
- double linear_unit_conv_factor);
2043
-
2044
- PJ PROJ_DLL *proj_create_conversion_lambert_azimuthal_equal_area(
2045
- PJ_CONTEXT *ctx, double latitude_nat_origin, double longitude_nat_origin,
2046
- double false_easting, double false_northing, const char *ang_unit_name,
2047
- double ang_unit_conv_factor, const char *linear_unit_name,
2048
- double linear_unit_conv_factor);
2049
-
2050
- PJ PROJ_DLL *proj_create_conversion_miller_cylindrical(
2051
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2052
- double false_northing, const char *ang_unit_name,
2053
- double ang_unit_conv_factor, const char *linear_unit_name,
2054
- double linear_unit_conv_factor);
2055
-
2056
- PJ PROJ_DLL *proj_create_conversion_mercator_variant_a(
2057
- PJ_CONTEXT *ctx, double center_lat, double center_long, double scale,
2058
- double false_easting, double false_northing, const char *ang_unit_name,
2059
- double ang_unit_conv_factor, const char *linear_unit_name,
2060
- double linear_unit_conv_factor);
2061
-
2062
- PJ PROJ_DLL *proj_create_conversion_mercator_variant_b(
2063
- PJ_CONTEXT *ctx, double latitude_first_parallel, double center_long,
2064
- double false_easting, double false_northing, const char *ang_unit_name,
2065
- double ang_unit_conv_factor, const char *linear_unit_name,
2066
- double linear_unit_conv_factor);
2067
-
2068
- PJ PROJ_DLL *proj_create_conversion_popular_visualisation_pseudo_mercator(
2069
- PJ_CONTEXT *ctx, double center_lat, double center_long,
2070
- double false_easting, double false_northing, const char *ang_unit_name,
2071
- double ang_unit_conv_factor, const char *linear_unit_name,
2072
- double linear_unit_conv_factor);
2073
-
2074
- PJ PROJ_DLL *proj_create_conversion_mollweide(
2075
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2076
- double false_northing, const char *ang_unit_name,
2077
- double ang_unit_conv_factor, const char *linear_unit_name,
2078
- double linear_unit_conv_factor);
2079
-
2080
- PJ PROJ_DLL *proj_create_conversion_new_zealand_mapping_grid(
2081
- PJ_CONTEXT *ctx, double center_lat, double center_long,
2082
- double false_easting, double false_northing, const char *ang_unit_name,
2083
- double ang_unit_conv_factor, const char *linear_unit_name,
2084
- double linear_unit_conv_factor);
2085
-
2086
- PJ PROJ_DLL *proj_create_conversion_oblique_stereographic(
2087
- PJ_CONTEXT *ctx, double center_lat, double center_long, double scale,
2088
- double false_easting, double false_northing, const char *ang_unit_name,
2089
- double ang_unit_conv_factor, const char *linear_unit_name,
2090
- double linear_unit_conv_factor);
2091
-
2092
- PJ PROJ_DLL *proj_create_conversion_orthographic(
2093
- PJ_CONTEXT *ctx, double center_lat, double center_long,
2094
- double false_easting, double false_northing, const char *ang_unit_name,
2095
- double ang_unit_conv_factor, const char *linear_unit_name,
2096
- double linear_unit_conv_factor);
2097
-
2098
- PJ PROJ_DLL *proj_create_conversion_local_orthographic(
2099
- PJ_CONTEXT *ctx, double center_lat, double center_long, double azimuth,
2100
- double scale, double false_easting, double false_northing,
2101
- const char *ang_unit_name, double ang_unit_conv_factor,
2102
- const char *linear_unit_name, double linear_unit_conv_factor);
2103
-
2104
- PJ PROJ_DLL *proj_create_conversion_american_polyconic(
2105
- PJ_CONTEXT *ctx, double center_lat, double center_long,
2106
- double false_easting, double false_northing, const char *ang_unit_name,
2107
- double ang_unit_conv_factor, const char *linear_unit_name,
2108
- double linear_unit_conv_factor);
2109
-
2110
- PJ PROJ_DLL *proj_create_conversion_polar_stereographic_variant_a(
2111
- PJ_CONTEXT *ctx, double center_lat, double center_long, double scale,
2112
- double false_easting, double false_northing, const char *ang_unit_name,
2113
- double ang_unit_conv_factor, const char *linear_unit_name,
2114
- double linear_unit_conv_factor);
2115
-
2116
- PJ PROJ_DLL *proj_create_conversion_polar_stereographic_variant_b(
2117
- PJ_CONTEXT *ctx, double latitude_standard_parallel,
2118
- double longitude_of_origin, double false_easting, double false_northing,
2119
- const char *ang_unit_name, double ang_unit_conv_factor,
2120
- const char *linear_unit_name, double linear_unit_conv_factor);
2121
-
2122
- PJ PROJ_DLL *proj_create_conversion_robinson(
2123
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2124
- double false_northing, const char *ang_unit_name,
2125
- double ang_unit_conv_factor, const char *linear_unit_name,
2126
- double linear_unit_conv_factor);
2127
-
2128
- PJ PROJ_DLL *proj_create_conversion_sinusoidal(
2129
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2130
- double false_northing, const char *ang_unit_name,
2131
- double ang_unit_conv_factor, const char *linear_unit_name,
2132
- double linear_unit_conv_factor);
2133
-
2134
- PJ PROJ_DLL *proj_create_conversion_stereographic(
2135
- PJ_CONTEXT *ctx, double center_lat, double center_long, double scale,
2136
- double false_easting, double false_northing, const char *ang_unit_name,
2137
- double ang_unit_conv_factor, const char *linear_unit_name,
2138
- double linear_unit_conv_factor);
2139
-
2140
- PJ PROJ_DLL *proj_create_conversion_van_der_grinten(
2141
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2142
- double false_northing, const char *ang_unit_name,
2143
- double ang_unit_conv_factor, const char *linear_unit_name,
2144
- double linear_unit_conv_factor);
2145
-
2146
- PJ PROJ_DLL *proj_create_conversion_wagner_i(
2147
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2148
- double false_northing, const char *ang_unit_name,
2149
- double ang_unit_conv_factor, const char *linear_unit_name,
2150
- double linear_unit_conv_factor);
2151
-
2152
- PJ PROJ_DLL *proj_create_conversion_wagner_ii(
2153
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2154
- double false_northing, const char *ang_unit_name,
2155
- double ang_unit_conv_factor, const char *linear_unit_name,
2156
- double linear_unit_conv_factor);
2157
-
2158
- PJ PROJ_DLL *proj_create_conversion_wagner_iii(
2159
- PJ_CONTEXT *ctx, double latitude_true_scale, double center_long,
2160
- double false_easting, double false_northing, const char *ang_unit_name,
2161
- double ang_unit_conv_factor, const char *linear_unit_name,
2162
- double linear_unit_conv_factor);
2163
-
2164
- PJ PROJ_DLL *proj_create_conversion_wagner_iv(
2165
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2166
- double false_northing, const char *ang_unit_name,
2167
- double ang_unit_conv_factor, const char *linear_unit_name,
2168
- double linear_unit_conv_factor);
2169
-
2170
- PJ PROJ_DLL *proj_create_conversion_wagner_v(
2171
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2172
- double false_northing, const char *ang_unit_name,
2173
- double ang_unit_conv_factor, const char *linear_unit_name,
2174
- double linear_unit_conv_factor);
2175
-
2176
- PJ PROJ_DLL *proj_create_conversion_wagner_vi(
2177
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2178
- double false_northing, const char *ang_unit_name,
2179
- double ang_unit_conv_factor, const char *linear_unit_name,
2180
- double linear_unit_conv_factor);
2181
-
2182
- PJ PROJ_DLL *proj_create_conversion_wagner_vii(
2183
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2184
- double false_northing, const char *ang_unit_name,
2185
- double ang_unit_conv_factor, const char *linear_unit_name,
2186
- double linear_unit_conv_factor);
2187
-
2188
- PJ PROJ_DLL *proj_create_conversion_quadrilateralized_spherical_cube(
2189
- PJ_CONTEXT *ctx, double center_lat, double center_long,
2190
- double false_easting, double false_northing, const char *ang_unit_name,
2191
- double ang_unit_conv_factor, const char *linear_unit_name,
2192
- double linear_unit_conv_factor);
2193
-
2194
- PJ PROJ_DLL *proj_create_conversion_spherical_cross_track_height(
2195
- PJ_CONTEXT *ctx, double peg_point_lat, double peg_point_long,
2196
- double peg_point_heading, double peg_point_height,
2197
- const char *ang_unit_name, double ang_unit_conv_factor,
2198
- const char *linear_unit_name, double linear_unit_conv_factor);
2199
-
2200
- PJ PROJ_DLL *proj_create_conversion_equal_earth(
2201
- PJ_CONTEXT *ctx, double center_long, double false_easting,
2202
- double false_northing, const char *ang_unit_name,
2203
- double ang_unit_conv_factor, const char *linear_unit_name,
2204
- double linear_unit_conv_factor);
2205
-
2206
- PJ PROJ_DLL *proj_create_conversion_vertical_perspective(
2207
- PJ_CONTEXT *ctx, double topo_origin_lat, double topo_origin_long,
2208
- double topo_origin_height, double view_point_height, double false_easting,
2209
- double false_northing, const char *ang_unit_name,
2210
- double ang_unit_conv_factor, const char *linear_unit_name,
2211
- double linear_unit_conv_factor);
2212
-
2213
- PJ PROJ_DLL *proj_create_conversion_pole_rotation_grib_convention(
2214
- PJ_CONTEXT *ctx, double south_pole_lat_in_unrotated_crs,
2215
- double south_pole_long_in_unrotated_crs, double axis_rotation,
2216
- const char *ang_unit_name, double ang_unit_conv_factor);
2217
-
2218
- PJ PROJ_DLL *proj_create_conversion_pole_rotation_netcdf_cf_convention(
2219
- PJ_CONTEXT *ctx, double grid_north_pole_latitude,
2220
- double grid_north_pole_longitude, double north_pole_grid_longitude,
2221
- const char *ang_unit_name, double ang_unit_conv_factor);
2222
-
2223
- /* END: Generated by scripts/create_c_api_projections.py*/
2224
-
2225
- /**@}*/
2226
-
2227
- #ifdef __cplusplus
2228
- }
2229
- #endif
2230
-
2231
- #endif /* ndef PROJ_H */