@cpp.js/package-geotiff 1.0.0 → 2.0.0-beta.2

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 (198) hide show
  1. package/cppjs.build.js +7 -0
  2. package/cppjs.config.js +11 -19
  3. package/package.json +10 -17
  4. package/dist/prebuilt/Android-arm64-v8a/include/cpl_serv.h +0 -258
  5. package/dist/prebuilt/Android-arm64-v8a/include/epsg_datum.inc +0 -174
  6. package/dist/prebuilt/Android-arm64-v8a/include/epsg_ellipse.inc +0 -48
  7. package/dist/prebuilt/Android-arm64-v8a/include/epsg_gcs.inc +0 -193
  8. package/dist/prebuilt/Android-arm64-v8a/include/epsg_pcs.inc +0 -1012
  9. package/dist/prebuilt/Android-arm64-v8a/include/epsg_pm.inc +0 -22
  10. package/dist/prebuilt/Android-arm64-v8a/include/epsg_proj.inc +0 -443
  11. package/dist/prebuilt/Android-arm64-v8a/include/epsg_units.inc +0 -35
  12. package/dist/prebuilt/Android-arm64-v8a/include/epsg_vertcs.inc +0 -46
  13. package/dist/prebuilt/Android-arm64-v8a/include/geo_config.h +0 -10
  14. package/dist/prebuilt/Android-arm64-v8a/include/geo_ctrans.inc +0 -84
  15. package/dist/prebuilt/Android-arm64-v8a/include/geo_keyp.h +0 -128
  16. package/dist/prebuilt/Android-arm64-v8a/include/geo_normalize.h +0 -259
  17. package/dist/prebuilt/Android-arm64-v8a/include/geo_simpletags.h +0 -73
  18. package/dist/prebuilt/Android-arm64-v8a/include/geo_tiffp.h +0 -109
  19. package/dist/prebuilt/Android-arm64-v8a/include/geokeys.h +0 -52
  20. package/dist/prebuilt/Android-arm64-v8a/include/geokeys.inc +0 -78
  21. package/dist/prebuilt/Android-arm64-v8a/include/geokeys_v1_1.inc +0 -85
  22. package/dist/prebuilt/Android-arm64-v8a/include/geonames.h +0 -149
  23. package/dist/prebuilt/Android-arm64-v8a/include/geotiff.h +0 -177
  24. package/dist/prebuilt/Android-arm64-v8a/include/geotiffio.h +0 -20
  25. package/dist/prebuilt/Android-arm64-v8a/include/geovalues.h +0 -115
  26. package/dist/prebuilt/Android-arm64-v8a/include/xtiffio.h +0 -101
  27. package/dist/prebuilt/Android-arm64-v8a/lib/libgeotiff.la +0 -41
  28. package/dist/prebuilt/Android-arm64-v8a/lib/libgeotiff.so +0 -0
  29. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libgeotiff.pc +0 -11
  30. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/applygeo.1 +0 -31
  31. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/geotifcp.1 +0 -156
  32. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/listgeo.1 +0 -51
  33. package/dist/prebuilt/Android-x86_64/include/cpl_serv.h +0 -258
  34. package/dist/prebuilt/Android-x86_64/include/epsg_datum.inc +0 -174
  35. package/dist/prebuilt/Android-x86_64/include/epsg_ellipse.inc +0 -48
  36. package/dist/prebuilt/Android-x86_64/include/epsg_gcs.inc +0 -193
  37. package/dist/prebuilt/Android-x86_64/include/epsg_pcs.inc +0 -1012
  38. package/dist/prebuilt/Android-x86_64/include/epsg_pm.inc +0 -22
  39. package/dist/prebuilt/Android-x86_64/include/epsg_proj.inc +0 -443
  40. package/dist/prebuilt/Android-x86_64/include/epsg_units.inc +0 -35
  41. package/dist/prebuilt/Android-x86_64/include/epsg_vertcs.inc +0 -46
  42. package/dist/prebuilt/Android-x86_64/include/geo_config.h +0 -10
  43. package/dist/prebuilt/Android-x86_64/include/geo_ctrans.inc +0 -84
  44. package/dist/prebuilt/Android-x86_64/include/geo_keyp.h +0 -128
  45. package/dist/prebuilt/Android-x86_64/include/geo_normalize.h +0 -259
  46. package/dist/prebuilt/Android-x86_64/include/geo_simpletags.h +0 -73
  47. package/dist/prebuilt/Android-x86_64/include/geo_tiffp.h +0 -109
  48. package/dist/prebuilt/Android-x86_64/include/geokeys.h +0 -52
  49. package/dist/prebuilt/Android-x86_64/include/geokeys.inc +0 -78
  50. package/dist/prebuilt/Android-x86_64/include/geokeys_v1_1.inc +0 -85
  51. package/dist/prebuilt/Android-x86_64/include/geonames.h +0 -149
  52. package/dist/prebuilt/Android-x86_64/include/geotiff.h +0 -177
  53. package/dist/prebuilt/Android-x86_64/include/geotiffio.h +0 -20
  54. package/dist/prebuilt/Android-x86_64/include/geovalues.h +0 -115
  55. package/dist/prebuilt/Android-x86_64/include/xtiffio.h +0 -101
  56. package/dist/prebuilt/Android-x86_64/lib/libgeotiff.la +0 -41
  57. package/dist/prebuilt/Android-x86_64/lib/libgeotiff.so +0 -0
  58. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/libgeotiff.pc +0 -11
  59. package/dist/prebuilt/Android-x86_64/share/man/man1/applygeo.1 +0 -31
  60. package/dist/prebuilt/Android-x86_64/share/man/man1/geotifcp.1 +0 -156
  61. package/dist/prebuilt/Android-x86_64/share/man/man1/listgeo.1 +0 -51
  62. package/dist/prebuilt/CMakeLists.txt +0 -44
  63. package/dist/prebuilt/Emscripten-x86_64/include/cpl_serv.h +0 -258
  64. package/dist/prebuilt/Emscripten-x86_64/include/epsg_datum.inc +0 -174
  65. package/dist/prebuilt/Emscripten-x86_64/include/epsg_ellipse.inc +0 -48
  66. package/dist/prebuilt/Emscripten-x86_64/include/epsg_gcs.inc +0 -193
  67. package/dist/prebuilt/Emscripten-x86_64/include/epsg_pcs.inc +0 -1012
  68. package/dist/prebuilt/Emscripten-x86_64/include/epsg_pm.inc +0 -22
  69. package/dist/prebuilt/Emscripten-x86_64/include/epsg_proj.inc +0 -443
  70. package/dist/prebuilt/Emscripten-x86_64/include/epsg_units.inc +0 -35
  71. package/dist/prebuilt/Emscripten-x86_64/include/epsg_vertcs.inc +0 -46
  72. package/dist/prebuilt/Emscripten-x86_64/include/geo_config.h +0 -10
  73. package/dist/prebuilt/Emscripten-x86_64/include/geo_ctrans.inc +0 -84
  74. package/dist/prebuilt/Emscripten-x86_64/include/geo_keyp.h +0 -128
  75. package/dist/prebuilt/Emscripten-x86_64/include/geo_normalize.h +0 -259
  76. package/dist/prebuilt/Emscripten-x86_64/include/geo_simpletags.h +0 -73
  77. package/dist/prebuilt/Emscripten-x86_64/include/geo_tiffp.h +0 -109
  78. package/dist/prebuilt/Emscripten-x86_64/include/geokeys.h +0 -52
  79. package/dist/prebuilt/Emscripten-x86_64/include/geokeys.inc +0 -78
  80. package/dist/prebuilt/Emscripten-x86_64/include/geokeys_v1_1.inc +0 -85
  81. package/dist/prebuilt/Emscripten-x86_64/include/geonames.h +0 -149
  82. package/dist/prebuilt/Emscripten-x86_64/include/geotiff.h +0 -177
  83. package/dist/prebuilt/Emscripten-x86_64/include/geotiffio.h +0 -20
  84. package/dist/prebuilt/Emscripten-x86_64/include/geovalues.h +0 -115
  85. package/dist/prebuilt/Emscripten-x86_64/include/xtiffio.h +0 -101
  86. package/dist/prebuilt/Emscripten-x86_64/lib/libgeotiff.a +0 -0
  87. package/dist/prebuilt/Emscripten-x86_64/lib/libgeotiff.la +0 -41
  88. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libgeotiff.pc +0 -11
  89. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/applygeo.1 +0 -31
  90. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/geotifcp.1 +0 -156
  91. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/listgeo.1 +0 -51
  92. package/dist/prebuilt/iOS-iphoneos/include/cpl_serv.h +0 -258
  93. package/dist/prebuilt/iOS-iphoneos/include/epsg_datum.inc +0 -174
  94. package/dist/prebuilt/iOS-iphoneos/include/epsg_ellipse.inc +0 -48
  95. package/dist/prebuilt/iOS-iphoneos/include/epsg_gcs.inc +0 -193
  96. package/dist/prebuilt/iOS-iphoneos/include/epsg_pcs.inc +0 -1012
  97. package/dist/prebuilt/iOS-iphoneos/include/epsg_pm.inc +0 -22
  98. package/dist/prebuilt/iOS-iphoneos/include/epsg_proj.inc +0 -443
  99. package/dist/prebuilt/iOS-iphoneos/include/epsg_units.inc +0 -35
  100. package/dist/prebuilt/iOS-iphoneos/include/epsg_vertcs.inc +0 -46
  101. package/dist/prebuilt/iOS-iphoneos/include/geo_config.h +0 -10
  102. package/dist/prebuilt/iOS-iphoneos/include/geo_ctrans.inc +0 -84
  103. package/dist/prebuilt/iOS-iphoneos/include/geo_keyp.h +0 -128
  104. package/dist/prebuilt/iOS-iphoneos/include/geo_normalize.h +0 -259
  105. package/dist/prebuilt/iOS-iphoneos/include/geo_simpletags.h +0 -73
  106. package/dist/prebuilt/iOS-iphoneos/include/geo_tiffp.h +0 -109
  107. package/dist/prebuilt/iOS-iphoneos/include/geokeys.h +0 -52
  108. package/dist/prebuilt/iOS-iphoneos/include/geokeys.inc +0 -78
  109. package/dist/prebuilt/iOS-iphoneos/include/geokeys_v1_1.inc +0 -85
  110. package/dist/prebuilt/iOS-iphoneos/include/geonames.h +0 -149
  111. package/dist/prebuilt/iOS-iphoneos/include/geotiff.h +0 -177
  112. package/dist/prebuilt/iOS-iphoneos/include/geotiffio.h +0 -20
  113. package/dist/prebuilt/iOS-iphoneos/include/geovalues.h +0 -115
  114. package/dist/prebuilt/iOS-iphoneos/include/xtiffio.h +0 -101
  115. package/dist/prebuilt/iOS-iphoneos/lib/libgeotiff.a +0 -0
  116. package/dist/prebuilt/iOS-iphoneos/lib/libgeotiff.la +0 -41
  117. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libgeotiff.pc +0 -11
  118. package/dist/prebuilt/iOS-iphoneos/share/man/man1/applygeo.1 +0 -31
  119. package/dist/prebuilt/iOS-iphoneos/share/man/man1/geotifcp.1 +0 -156
  120. package/dist/prebuilt/iOS-iphoneos/share/man/man1/listgeo.1 +0 -51
  121. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_serv.h +0 -258
  122. package/dist/prebuilt/iOS-iphonesimulator/include/epsg_datum.inc +0 -174
  123. package/dist/prebuilt/iOS-iphonesimulator/include/epsg_ellipse.inc +0 -48
  124. package/dist/prebuilt/iOS-iphonesimulator/include/epsg_gcs.inc +0 -193
  125. package/dist/prebuilt/iOS-iphonesimulator/include/epsg_pcs.inc +0 -1012
  126. package/dist/prebuilt/iOS-iphonesimulator/include/epsg_pm.inc +0 -22
  127. package/dist/prebuilt/iOS-iphonesimulator/include/epsg_proj.inc +0 -443
  128. package/dist/prebuilt/iOS-iphonesimulator/include/epsg_units.inc +0 -35
  129. package/dist/prebuilt/iOS-iphonesimulator/include/epsg_vertcs.inc +0 -46
  130. package/dist/prebuilt/iOS-iphonesimulator/include/geo_config.h +0 -10
  131. package/dist/prebuilt/iOS-iphonesimulator/include/geo_ctrans.inc +0 -84
  132. package/dist/prebuilt/iOS-iphonesimulator/include/geo_keyp.h +0 -128
  133. package/dist/prebuilt/iOS-iphonesimulator/include/geo_normalize.h +0 -259
  134. package/dist/prebuilt/iOS-iphonesimulator/include/geo_simpletags.h +0 -73
  135. package/dist/prebuilt/iOS-iphonesimulator/include/geo_tiffp.h +0 -109
  136. package/dist/prebuilt/iOS-iphonesimulator/include/geokeys.h +0 -52
  137. package/dist/prebuilt/iOS-iphonesimulator/include/geokeys.inc +0 -78
  138. package/dist/prebuilt/iOS-iphonesimulator/include/geokeys_v1_1.inc +0 -85
  139. package/dist/prebuilt/iOS-iphonesimulator/include/geonames.h +0 -149
  140. package/dist/prebuilt/iOS-iphonesimulator/include/geotiff.h +0 -177
  141. package/dist/prebuilt/iOS-iphonesimulator/include/geotiffio.h +0 -20
  142. package/dist/prebuilt/iOS-iphonesimulator/include/geovalues.h +0 -115
  143. package/dist/prebuilt/iOS-iphonesimulator/include/xtiffio.h +0 -101
  144. package/dist/prebuilt/iOS-iphonesimulator/lib/libgeotiff.a +0 -0
  145. package/dist/prebuilt/iOS-iphonesimulator/lib/libgeotiff.la +0 -41
  146. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libgeotiff.pc +0 -11
  147. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/applygeo.1 +0 -31
  148. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/geotifcp.1 +0 -156
  149. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/listgeo.1 +0 -51
  150. package/geotiff.xcframework/Info.plist +0 -50
  151. package/geotiff.xcframework/ios-arm64_arm64e/Headers/cpl_serv.h +0 -258
  152. package/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_datum.inc +0 -174
  153. package/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_ellipse.inc +0 -48
  154. package/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_gcs.inc +0 -193
  155. package/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_pcs.inc +0 -1012
  156. package/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_pm.inc +0 -22
  157. package/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_proj.inc +0 -443
  158. package/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_units.inc +0 -35
  159. package/geotiff.xcframework/ios-arm64_arm64e/Headers/epsg_vertcs.inc +0 -46
  160. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_config.h +0 -10
  161. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_ctrans.inc +0 -84
  162. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_keyp.h +0 -128
  163. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_normalize.h +0 -259
  164. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_simpletags.h +0 -73
  165. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geo_tiffp.h +0 -109
  166. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geokeys.h +0 -52
  167. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geokeys.inc +0 -78
  168. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geokeys_v1_1.inc +0 -85
  169. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geonames.h +0 -149
  170. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geotiff.h +0 -177
  171. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geotiffio.h +0 -20
  172. package/geotiff.xcframework/ios-arm64_arm64e/Headers/geovalues.h +0 -115
  173. package/geotiff.xcframework/ios-arm64_arm64e/Headers/xtiffio.h +0 -101
  174. package/geotiff.xcframework/ios-arm64_arm64e/libgeotiff.a +0 -0
  175. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_serv.h +0 -258
  176. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_datum.inc +0 -174
  177. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_ellipse.inc +0 -48
  178. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_gcs.inc +0 -193
  179. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_pcs.inc +0 -1012
  180. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_pm.inc +0 -22
  181. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_proj.inc +0 -443
  182. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_units.inc +0 -35
  183. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/epsg_vertcs.inc +0 -46
  184. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_config.h +0 -10
  185. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_ctrans.inc +0 -84
  186. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_keyp.h +0 -128
  187. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_normalize.h +0 -259
  188. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_simpletags.h +0 -73
  189. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geo_tiffp.h +0 -109
  190. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geokeys.h +0 -52
  191. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geokeys.inc +0 -78
  192. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geokeys_v1_1.inc +0 -85
  193. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geonames.h +0 -149
  194. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geotiff.h +0 -177
  195. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geotiffio.h +0 -20
  196. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/geovalues.h +0 -115
  197. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/xtiffio.h +0 -101
  198. package/geotiff.xcframework/ios-arm64_arm64e_x86_64-simulator/libgeotiff.a +0 -0
@@ -1,101 +0,0 @@
1
- /*
2
- * xtiffio.h -- Public interface to Extended GEO TIFF tags
3
- *
4
- * written by: Niles D. Ritter
5
- */
6
-
7
- #ifndef LIBGEOTIFF_XTIFFIO_H_
8
- #define LIBGEOTIFF_XTIFFIO_H_
9
-
10
- #include "tiffio.h"
11
- #include "geo_config.h"
12
-
13
- /**
14
- * \file xtiffio.h
15
- *
16
- * Definitions relating GeoTIFF functions from geotiff.h to the TIFF
17
- * library (usually libtiff).
18
- */
19
-
20
- /*
21
- * Define public Tag names and values here
22
- */
23
-
24
- /* tags 33550 is a private tag registered to SoftDesk, Inc */
25
- #define TIFFTAG_GEOPIXELSCALE 33550
26
- /* tags 33920-33921 are private tags registered to Intergraph, Inc */
27
- #define TIFFTAG_INTERGRAPH_MATRIX 33920 /* $use TIFFTAG_GEOTRANSMATRIX ! */
28
- #define TIFFTAG_GEOTIEPOINTS 33922
29
- /* tags 34263-34264 are private tags registered to NASA-JPL Carto Group */
30
- #ifdef JPL_TAG_SUPPORT
31
- #define TIFFTAG_JPL_CARTO_IFD 34263 /* $use GeoProjectionInfo ! */
32
- #endif
33
- #define TIFFTAG_GEOTRANSMATRIX 34264 /* New Matrix Tag replaces 33920 */
34
- /* tags 34735-3438 are private tags registered to SPOT Image, Inc */
35
- #define TIFFTAG_GEOKEYDIRECTORY 34735
36
- #define TIFFTAG_GEODOUBLEPARAMS 34736
37
- #define TIFFTAG_GEOASCIIPARAMS 34737
38
-
39
- /*
40
- * Define Printing method flags. These
41
- * flags may be passed in to TIFFPrintDirectory() to
42
- * indicate that those particular field values should
43
- * be printed out in full, rather than just an indicator
44
- * of whether they are present or not.
45
- */
46
- #define TIFFPRINT_GEOKEYDIRECTORY 0x80000000
47
- #define TIFFPRINT_GEOKEYPARAMS 0x40000000
48
-
49
- /**********************************************************************
50
- * Nothing below this line should need to be changed by the user.
51
- **********************************************************************/
52
-
53
- #if defined(__cplusplus)
54
- extern "C" {
55
- #endif
56
-
57
- /**********************************************************************
58
- * Do we want to build as a DLL on windows?
59
- **********************************************************************/
60
- #if !defined(GTIF_DLL)
61
- # if defined(_WIN32) && defined(BUILD_AS_DLL)
62
- # define GTIF_DLL __declspec(dllexport)
63
- # else
64
- # define GTIF_DLL
65
- # endif
66
- #endif
67
-
68
- extern void GTIF_DLL XTIFFInitialize(void);
69
- extern TIFF GTIF_DLL * XTIFFOpen(const char* name, const char* mode);
70
- extern TIFF GTIF_DLL * XTIFFFdOpen(int fd, const char* name, const char* mode);
71
- extern void GTIF_DLL XTIFFClose(TIFF *tif);
72
-
73
- extern TIFF GTIF_DLL * XTIFFClientOpen(const char* name, const char* mode,
74
- thandle_t thehandle,
75
- TIFFReadWriteProc, TIFFReadWriteProc,
76
- TIFFSeekProc, TIFFCloseProc,
77
- TIFFSizeProc,
78
- TIFFMapFileProc, TIFFUnmapFileProc);
79
-
80
- #if TIFFLIB_VERSION > 20220520
81
- /* TIFFClientOpenExt() available in libtiff >= 4.5.0, which is strictly later after 20220520 */
82
- #define HAVE_TIFFClientOpenExt
83
- #endif
84
-
85
- #ifdef HAVE_TIFFClientOpenExt
86
- extern TIFF GTIF_DLL * XTIFFOpenExt(const char* name, const char* mode, TIFFOpenOptions* opts);
87
- extern TIFF GTIF_DLL * XTIFFFdOpenExt(int fd, const char* name, const char* mode, TIFFOpenOptions* opts);
88
- extern TIFF GTIF_DLL * XTIFFClientOpenExt(const char* name, const char* mode,
89
- thandle_t thehandle,
90
- TIFFReadWriteProc, TIFFReadWriteProc,
91
- TIFFSeekProc, TIFFCloseProc,
92
- TIFFSizeProc,
93
- TIFFMapFileProc, TIFFUnmapFileProc,
94
- TIFFOpenOptions* opts);
95
- #endif
96
-
97
- #if defined(__cplusplus)
98
- }
99
- #endif
100
-
101
- #endif /* LIBGEOTIFF_XTIFFIO_H_ */
@@ -1,41 +0,0 @@
1
- # libgeotiff.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-14
3
- #
4
- # Please DO NOT delete this file!
5
- # It is necessary for linking the library.
6
-
7
- # The name that we can dlopen(3).
8
- dlname='libgeotiff.so'
9
-
10
- # Names of this library.
11
- library_names='libgeotiff.so'
12
-
13
- # The name of the static archive.
14
- old_library=''
15
-
16
- # Linker flags that cannot go in dependency_libs.
17
- inherited_linker_flags=''
18
-
19
- # Libraries that this one depends upon.
20
- dependency_libs=' -L/tmp/cppjs/live/packages/cppjs-package-proj/dist/prebuilt/Android-arm64-v8a/lib -L/tmp/cppjs/live/packages/cppjs-package-tiff/dist/prebuilt/Android-arm64-v8a/lib -L/tmp/cppjs/live/packages/cppjs-package-zlib/dist/prebuilt/Android-arm64-v8a/lib -L/tmp/cppjs/live/packages/cppjs-package-sqlite3/dist/prebuilt/Android-arm64-v8a/lib -lproj -ltiff -lz -lm -lstdc++'
21
-
22
- # Names of additional weak libraries provided by this library
23
- weak_library_names=''
24
-
25
- # Version information for libgeotiff.
26
- current=7
27
- age=2
28
- revision=3
29
-
30
- # Is this an already installed library?
31
- installed=yes
32
-
33
- # Should we warn about portability when linking against -modules?
34
- shouldnotlink=no
35
-
36
- # Files to dlopen/dlpreopen
37
- dlopen=''
38
- dlpreopen=''
39
-
40
- # Directory that this library needs to be installed in:
41
- libdir='/tmp/cppjs/live/packages/cppjs-package-geotiff/.cppjs/build/Source-Release/prebuilt/Android-arm64-v8a/lib'
@@ -1,11 +0,0 @@
1
- prefix=/tmp/cppjs/live/packages/cppjs-package-geotiff/.cppjs/build/Source-Release/prebuilt/Android-arm64-v8a
2
- exec_prefix=${prefix}
3
- libdir=${exec_prefix}/lib
4
- includedir=${prefix}/include
5
-
6
- Name: libgeotiff
7
- Description: GeoTIFF file format library
8
- Version: 1.7.3
9
- Libs: -L${libdir} -lgeotiff
10
- Cflags: -I${includedir}
11
- Requires.private: proj, libtiff-4
@@ -1,31 +0,0 @@
1
- \" TITLE: applygeo Man Pages
2
- \" AUTHOR: Bas Couwenberg <sebastic@debian.org>
3
- \"
4
- .TH APPLYGEO "1" "August 2016" "libgeotiff 1.4.1" "libgeotiff Manual Pages"
5
- .SH NAME
6
- applygeo \- apply georeferencing to an existing file
7
-
8
- .SH SYNOPSIS
9
- .B applygeo
10
- \fIfile.geo\fR \fIfile.tiff\fR
11
- .SH DESCRIPTION
12
-
13
- .PP
14
- .B applygeo
15
- is a utility for applying georeferencing to an existing file.
16
-
17
- .SH OPTIONS
18
- .TP 6
19
- \fIfile.geo\fR
20
- file containing projection (eg. from listgeo)
21
- .TP 6
22
- \fIfile.tiff\fR
23
- TIFF file into which the projection is written
24
-
25
- .SH AUTHORS
26
- jeskynar <jeskynar@hotmail.com> and Frank Warmerdam <warmerdam@pobox.com>.
27
-
28
- .SH "SEE ALSO"
29
- .BR geotifcp (1)
30
- .BR listgeo (1)
31
-
@@ -1,156 +0,0 @@
1
- \" TITLE: libgeotiff Man Pages
2
- \" AUTHOR: Bas Couwenberg <sebastic@debian.org>
3
- \"
4
- .if \n(.g .ds T< \\FC
5
- .if \n(.g .ds T> \\F[\n[.fam]]
6
-
7
- .TH GEOTIFCP "1" "August 2016" "libgeotiff 1.4.1" "libgeotiff Manual Pages"
8
- .SH NAME
9
- geotifcp \- Copy TIFF with updated GeoTIFF Metadata
10
-
11
- .SH SYNOPSIS
12
- .B geotifcp
13
- [\fIoptions\fR] [\fB-e\fR \fIesri_worldfile\fR] [\fB-g\fR \fImetadata\fR] \fIinput\fR \fIoutput\fR
14
- .SH DESCRIPTION
15
-
16
- .PP
17
- \fBgeotifcp\fR is identical in function to the LIBTIFF
18
- program \fBtiffcp\fR, with the additional feature that if
19
- the "\*(T<\fB\-g\fR\*(T>" option is used the GeoTIFF information from
20
- the file will be installed into the output file.
21
- The "\*(T<\fB\-e\fR\*(T> \fIworldfile\fR" option
22
- will override the tiepoint and scale information from the metadata file
23
- based on the contents of the ESRI worldfile.
24
- .PP
25
- If the "\*(T<\fB\-g\fR\*(T>" option is not used the geotiff information
26
- from the source file is preserved in the new output file.
27
- .PP
28
- "\fBgeotifcp\fR" inherits all the other file-transformation
29
- capabilities of the \fBtiffcp\fR program; for help on the
30
- additional parameters give the command:
31
-
32
- .nf
33
- \*(T<
34
- % geotifcp \-h
35
- \*(T>
36
- .fi
37
- .PP
38
- The metadata format is the same as is described in the
39
- \fBlistgeo\fR(1)
40
- program.
41
- Normally metadata files for use with \fBgeotifcp\fR are
42
- generated from a similar file with \fBlistgeo\fR,
43
- and then modified by hand as required.
44
-
45
- .SH OPTIONS
46
- .TP
47
- \*(T<\fB\-g\fR\*(T> \fIfile\fR
48
- install GeoTIFF metadata from \fIfile\fR
49
- .TP
50
- \*(T<\fB\-4\fR\*(T> \fIproj4_str\fR
51
- install GeoTIFF metadata from proj4 string
52
- .TP
53
- \*(T<\fB\-e\fR\*(T> \fIfile\fR
54
- install positioning info from ESRI Worldfile
55
- \fIfile\fR
56
- .TP
57
- \*(T<\fB\-a\fR\*(T>
58
- append to output instead of overwriting
59
- .TP
60
- \*(T<\fB\-8\fR\*(T>
61
- write BigTIFF instead of default ClassicTIFF
62
- .TP
63
- \*(T<\fB\-o\fR\*(T> \fIoffset\fR
64
- set initial directory offset
65
- .TP
66
- \*(T<\fB\-p\fR\*(T> \*(T<contig\*(T>
67
- pack samples contiguously (e.g. RGBRGB...)
68
- .TP
69
- \*(T<\fB\-p\fR\*(T> \*(T<separate\*(T>
70
- store samples separately (e.g. RRR...GGG...BBB...)
71
- .TP
72
- \*(T<\fB\-s\fR\*(T>
73
- write output in strips
74
- .TP
75
- \*(T<\fB\-t\fR\*(T>
76
- write output in tiles
77
- .TP
78
- \*(T<\fB\-i\fR\*(T>
79
- ignore read errors
80
- .TP
81
- \*(T<\fB\-d\fR\*(T>
82
- truncate 8 bitspersample to 4bitspersample
83
- .TP
84
- \*(T<\fB\-r\fR\*(T> \fI#\fR
85
- make each strip have no more than \fI#\fR rows
86
- .TP
87
- \*(T<\fB\-w\fR\*(T> \fI#\fR
88
- set output tile width (pixels)
89
- .TP
90
- \*(T<\fB\-l\fR\*(T> \fI#\fR
91
- set output tile length (pixels)
92
- .TP
93
- \*(T<\fB\-f\fR\*(T> \*(T<lsb2msb\*(T>
94
- force lsb-to-msb FillOrder for output
95
- .TP
96
- \*(T<\fB\-f\fR\*(T> \*(T<msb2lsb\*(T>
97
- force msb-to-lsb FillOrder for output
98
- .TP
99
- \*(T<\fB\-c\fR\*(T> lzw[:opts]
100
- compress output with Lempel-Ziv & Welch encoding
101
- .TP
102
- \*(T<\fB\-c\fR\*(T> zip[:opts]
103
- compress output with deflate encoding
104
- .TP
105
- \*(T<\fB\-c\fR\*(T> jpeg[:opts]
106
- compress output with JPEG encoding
107
- .TP
108
- \*(T<\fB\-c\fR\*(T> packbits
109
- compress output with packbits encoding
110
- .TP
111
- \*(T<\fB\-c\fR\*(T> g3[:opts]
112
- compress output with CCITT Group 3 encoding
113
- .TP
114
- \*(T<\fB\-c\fR\*(T> g4
115
- compress output with CCITT Group 4 encoding
116
- .TP
117
- \*(T<\fB\-c\fR\*(T> none
118
- use no compression algorithm on output
119
- .PP
120
- Group 3 options:
121
- .TP
122
- \*(T<\fB1d\fR\*(T>
123
- use default CCITT Group 3 1D-encoding
124
- .TP
125
- \*(T<\fB2d\fR\*(T>
126
- use optional CCITT Group 3 2D-encoding
127
- .TP
128
- \*(T<\fBfill\fR\*(T>
129
- byte-align EOL codes
130
- .PP
131
- For example, \*(T<\fB\-c\fR\*(T> g3:2d:fill to get G3-2D-encoded data
132
- with byte-aligned EOLs
133
- .PP
134
- JPEG options:
135
- .TP
136
- \*(T<\fB#\fR\*(T>
137
- set compression quality level (0-100, default 75)
138
- .TP
139
- \*(T<\fBr\fR\*(T>
140
- output color image as RGB rather than YCbCr
141
- .PP
142
- For example, \*(T<\fB\-c\fR\*(T> jpeg:r:50 to get JPEG-encoded RGB data
143
- with 50% comp. quality
144
- .PP
145
- LZW and deflate options:
146
- .TP
147
- \*(T<\fB#\fR\*(T>
148
- set predictor value
149
- .PP
150
- For example, \*(T<\fB\-c\fR\*(T> lzw:2 to get LZW-encoded data with
151
- horizontal differencing
152
-
153
- .SH "SEE ALSO"
154
- .BR applygeo (1)
155
- .BR listgeo (1)
156
-
@@ -1,51 +0,0 @@
1
- \" TITLE: libgeotiff Man Pages
2
- \" AUTHOR: Marco Cecchetti <mrc.ildp@gmail.com>
3
- \"
4
- .TH LISTGEO "1" "October 2008" "libgeotiff 1.2.5" "libgeotiff Manual Pages"
5
- .SH NAME
6
- listgeo \- dump geotiff metadata
7
-
8
- .SH SYNOPSIS
9
- .B listgeo
10
- [\-tfw] [\-no_norm] [\-proj4] [\-t \fIDIR\fP] file
11
- .SH DESCRIPTION
12
-
13
- .PP
14
- The program listgeo takes a GeoTIFF file as input and dumps to the standard
15
- output a GeoTIFF "metadata" file, which is human readable, and may also be
16
- used as input to other programs which use the "GTIFImport" routine, such as
17
- geotifcp.
18
-
19
- .SH OPTIONS
20
- listgeo accepts the following options:
21
- .TP 6
22
- .B \-d
23
- report lat/long corners in decimal degrees instead of DMS
24
- .TP 6
25
- .B \-tfw
26
- Generate a .tfw (ESRI TIFF World) file for the target file
27
- .TP 6
28
- .B \-no-norm
29
- Don't report 'normalized' parameter values
30
- .TP 6
31
- .B \-proj4
32
- Report PROJ.4 equivelent projection definition
33
- .TP 6
34
- .B \-t \fIDIR\fP
35
- force to look in \fIDIR\fP for EPSG_CVS files, overriding default behaviour
36
-
37
- .SH OTHER INFO
38
- This program is distributed with libgeotiff software. The home page is located
39
- at https://trac.osgeo.org/geotiff/. Here you can find links about other
40
- related projects. A mailing list about libgeotiff development is currenctly
41
- active at geotiff@lists.maptools.org.
42
-
43
- .SH AUTHORS
44
- Niles Ritter, Frank Warmerdam <warmerdam@pobox.com>,
45
- Derrick J. Brashear <shadow@dementia.org>
46
- and many others contributors.
47
-
48
- .SH "SEE ALSO"
49
- .BR geotifcp (1)
50
- .BR applygeo (1)
51
-
@@ -1,258 +0,0 @@
1
- /******************************************************************************
2
- * Copyright (c) 1998, Frank Warmerdam
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a
5
- * copy of this software and associated documentation files (the "Software"),
6
- * to deal in the Software without restriction, including without limitation
7
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
- * and/or sell copies of the Software, and to permit persons to whom the
9
- * Software is furnished to do so, subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included
12
- * in all copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
- * DEALINGS IN THE SOFTWARE.
21
- ******************************************************************************
22
- *
23
- * cpl_serv.h
24
- *
25
- * This include file derived and simplified from the GDAL Common Portability
26
- * Library.
27
- */
28
-
29
- #ifndef CPL_SERV_H_INCLUDED
30
- #define CPL_SERV_H_INCLUDED
31
-
32
- /* ==================================================================== */
33
- /* Standard include files. */
34
- /* ==================================================================== */
35
-
36
- #include "geo_config.h"
37
- #include <stdio.h>
38
-
39
- #include <math.h>
40
-
41
- #include <string.h>
42
- #if defined(GEOTIFF_HAVE_STRINGS_H) && !defined(_WIN32)
43
- # include <strings.h>
44
- #endif
45
- #include <stdlib.h>
46
-
47
- /**********************************************************************
48
- * Do we want to build as a DLL on windows?
49
- **********************************************************************/
50
- #if !defined(GTIF_DLL)
51
- # if defined(_WIN32) && defined(BUILD_AS_DLL)
52
- # define GTIF_DLL __declspec(dllexport)
53
- # else
54
- # define GTIF_DLL
55
- # endif
56
- #endif
57
-
58
- /* ==================================================================== */
59
- /* Other standard services. */
60
- /* ==================================================================== */
61
- #ifdef __cplusplus
62
- # define CPL_C_START extern "C" {
63
- # define CPL_C_END }
64
- #else
65
- # define CPL_C_START
66
- # define CPL_C_END
67
- #endif
68
-
69
- #ifndef NULL
70
- # define NULL 0
71
- #endif
72
-
73
- #ifndef FALSE
74
- # define FALSE 0
75
- #endif
76
-
77
- #ifndef TRUE
78
- # define TRUE 1
79
- #endif
80
-
81
- #ifndef MAX
82
- # define MIN(a,b) (((a)<(b)) ? (a) : (b))
83
- # define MAX(a,b) (((a)>(b)) ? (a) : (b))
84
- #endif
85
-
86
- #ifndef NULL
87
- #define NULL 0
88
- #endif
89
-
90
- #ifndef ABS
91
- # define ABS(x) (((x)<0) ? (-1*(x)) : (x))
92
- #endif
93
-
94
- #ifndef EQUAL
95
- #if defined(_WIN32) && !defined(__CYGWIN__)
96
- # if (_MSC_FULL_VER >= 15000000)
97
- # define EQUALN(a,b,n) (_strnicmp(a,b,n)==0)
98
- # define EQUAL(a,b) (_stricmp(a,b)==0)
99
- # else
100
- # define EQUALN(a,b,n) (strnicmp(a,b,n)==0)
101
- # define EQUAL(a,b) (stricmp(a,b)==0)
102
- # endif
103
- #else
104
- # define EQUALN(a,b,n) (strncasecmp(a,b,n)==0)
105
- # define EQUAL(a,b) (strcasecmp(a,b)==0)
106
- #endif
107
- #endif
108
-
109
- /* ==================================================================== */
110
- /* VSI Services (just map directly onto Standard C services. */
111
- /* ==================================================================== */
112
-
113
- #define VSIFOpen fopen
114
- #define VSIFClose fclose
115
- #define VSIFEof feof
116
- #define VSIFPrintf fprintf
117
- #define VSIFPuts fputs
118
- #define VSIFPutc fputc
119
- #define VSIFGets fgets
120
- #define VSIRewind rewind
121
- #define VSIFSeek fseek
122
- #define VSIFTell ftell
123
- #define VSIFRead fread
124
-
125
- #ifndef notdef
126
- #define VSICalloc(x,y) _GTIFcalloc((x)*(y))
127
- #define VSIMalloc _GTIFcalloc
128
- #define VSIFree _GTIFFree
129
- #define VSIRealloc _GTIFrealloc
130
- #else
131
- #define VSICalloc(x,y) (((char *) _GTIFcalloc((x)*(y)+4)) + 4)
132
- #define VSIMalloc(x) (((char *) _GTIFcalloc((x)+4)) + 4)
133
- #define VSIFree(x) _GTIFFree(((char *) (x)) - 4)
134
- #define VSIRealloc(p,n) (((char *) _GTIFrealloc(((char *)(p))-4,(n)+4)) + 4)
135
- #endif
136
-
137
-
138
- #if !defined(GTIFAtof)
139
- # define GTIFAtof atof
140
- #endif
141
-
142
-
143
- /* -------------------------------------------------------------------- */
144
- /* Safe malloc() API. Thin cover over VSI functions with fatal */
145
- /* error reporting if memory allocation fails. */
146
- /* -------------------------------------------------------------------- */
147
- CPL_C_START
148
-
149
- #define CPLMalloc gtCPLMalloc
150
- #define CPLCalloc gtCPLCalloc
151
- #define CPLRealloc gtCPLRealloc
152
- #define CPLStrdup gtCPLStrdup
153
-
154
- void GTIF_DLL *CPLMalloc( int );
155
- void GTIF_DLL *CPLCalloc( int, int );
156
- void GTIF_DLL *CPLRealloc( void *, int );
157
- char GTIF_DLL *CPLStrdup( const char * );
158
-
159
- #define CPLFree(x) { if( x != NULL ) VSIFree(x); }
160
-
161
- /* -------------------------------------------------------------------- */
162
- /* Locale insensitive string to float conversion. */
163
- /* -------------------------------------------------------------------- */
164
- /*double GTIFAtof(const char *nptr); */
165
- double GTIFStrtod(const char *nptr, char **endptr);
166
-
167
- /* -------------------------------------------------------------------- */
168
- /* Read a line from a text file, and strip of CR/LF. */
169
- /* -------------------------------------------------------------------- */
170
-
171
- #define CPLReadLine gtCPLReadLine
172
-
173
- const char GTIF_DLL *CPLReadLine( FILE * );
174
-
175
- /*=====================================================================
176
- Error handling functions (cpl_error.c)
177
- =====================================================================*/
178
-
179
- typedef enum
180
- {
181
- CE_None = 0,
182
- CE_Log = 1,
183
- CE_Warning = 2,
184
- CE_Failure = 3,
185
- CE_Fatal = 4
186
- } CPLErr;
187
-
188
- #define CPLError gtCPLError
189
- #define CPLErrorReset gtCPLErrorReset
190
- #define CPLGetLastErrorNo gtCPLGetLastErrorNo
191
- #define CPLGetLastErrorMsg gtCPLGetLastErrorMsg
192
- #define CPLSetErrorHandler gtCPLSetErrorHandler
193
- #define _CPLAssert gt_CPLAssert
194
-
195
- void GTIF_DLL CPLError(CPLErr eErrClass, int err_no, const char *fmt, ...);
196
- void GTIF_DLL CPLErrorReset();
197
- int GTIF_DLL CPLGetLastErrorNo();
198
- const char GTIF_DLL * CPLGetLastErrorMsg();
199
- void GTIF_DLL CPLSetErrorHandler(void(*pfnErrorHandler)(CPLErr,int,
200
- const char *));
201
- void GTIF_DLL _CPLAssert( const char *, const char *, int );
202
-
203
- #ifdef DEBUG
204
- # define CPLAssert(expr) ((expr) ? (void)(0) : _CPLAssert(#expr,__FILE__,__LINE__))
205
- #else
206
- # define CPLAssert(expr)
207
- #endif
208
-
209
- CPL_C_END
210
-
211
- /* ==================================================================== */
212
- /* Well known error codes. */
213
- /* ==================================================================== */
214
-
215
- #define CPLE_AppDefined 1
216
- #define CPLE_OutOfMemory 2
217
- #define CPLE_FileIO 3
218
- #define CPLE_OpenFailed 4
219
- #define CPLE_IllegalArg 5
220
- #define CPLE_NotSupported 6
221
- #define CPLE_AssertionFailed 7
222
- #define CPLE_NoWriteAccess 8
223
-
224
- /*=====================================================================
225
- Stringlist functions (strlist.c)
226
- =====================================================================*/
227
- CPL_C_START
228
-
229
- #define CSLAddString gtCSLAddString
230
- #define CSLCount gtCSLCount
231
- #define CSLGetField gtCSLGetField
232
- #define CSLDestroy gtCSLDestroy
233
- #define CSLDuplicate gtCSLDuplicate
234
- #define CSLTokenizeString gtCSLTokenizeString
235
- #define CSLTokenizeStringComplex gtCSLTokenizeStringComplex
236
-
237
- char GTIF_DLL **CSLAddString(char **papszStrList, const char *pszNewString);
238
- int GTIF_DLL CSLCount(char **papszStrList);
239
- const char GTIF_DLL *CSLGetField( char **, int );
240
- void GTIF_DLL CSLDestroy(char **papszStrList);
241
- char GTIF_DLL **CSLDuplicate(char **papszStrList);
242
-
243
- char GTIF_DLL **CSLTokenizeString(const char *pszString );
244
- char GTIF_DLL **CSLTokenizeStringComplex(const char *pszString,
245
- const char *pszDelimiter,
246
- int bHonourStrings, int bAllowEmptyTokens );
247
-
248
- /*
249
- * The following functions were used up to libgeotiff 1.4.X series, but
250
- * are now no-operation, since there is no longer any CSV use in libgeotiff.
251
- */
252
- #define SetCSVFilenameHook gtSetCSVFilenameHook
253
- void GTIF_DLL SetCSVFilenameHook( const char *(*CSVFileOverride)(const char *) );
254
-
255
-
256
- CPL_C_END
257
-
258
- #endif /* ndef CPL_SERV_H_INCLUDED */