@cpp.js/package-gdal 1.0.0-beta.20 → 1.0.0-beta.22

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 (439) hide show
  1. package/README.md +3 -0
  2. package/cppjs-package-gdal.podspec +1 -1
  3. package/dist/prebuilt/Android-arm64-v8a/include/cpl_atomic_ops.h +1 -17
  4. package/dist/prebuilt/Android-arm64-v8a/include/cpl_auto_close.h +1 -17
  5. package/dist/prebuilt/Android-arm64-v8a/include/cpl_compressor.h +1 -17
  6. package/dist/prebuilt/Android-arm64-v8a/include/cpl_conv.h +1 -17
  7. package/dist/prebuilt/Android-arm64-v8a/include/cpl_csv.h +1 -17
  8. package/dist/prebuilt/Android-arm64-v8a/include/cpl_error.h +18 -22
  9. package/dist/prebuilt/Android-arm64-v8a/include/cpl_hash_set.h +1 -17
  10. package/dist/prebuilt/Android-arm64-v8a/include/cpl_http.h +73 -19
  11. package/dist/prebuilt/Android-arm64-v8a/include/cpl_json.h +1 -17
  12. package/dist/prebuilt/Android-arm64-v8a/include/cpl_list.h +1 -17
  13. package/dist/prebuilt/Android-arm64-v8a/include/cpl_minixml.h +1 -17
  14. package/dist/prebuilt/Android-arm64-v8a/include/cpl_multiproc.h +1 -17
  15. package/dist/prebuilt/Android-arm64-v8a/include/cpl_port.h +13 -17
  16. package/dist/prebuilt/Android-arm64-v8a/include/cpl_progress.h +1 -17
  17. package/dist/prebuilt/Android-arm64-v8a/include/cpl_quad_tree.h +4 -17
  18. package/dist/prebuilt/Android-arm64-v8a/include/cpl_spawn.h +1 -17
  19. package/dist/prebuilt/Android-arm64-v8a/include/cpl_string.h +4 -17
  20. package/dist/prebuilt/Android-arm64-v8a/include/cpl_time.h +1 -17
  21. package/dist/prebuilt/Android-arm64-v8a/include/cpl_virtualmem.h +1 -17
  22. package/dist/prebuilt/Android-arm64-v8a/include/cpl_vsi.h +49 -17
  23. package/dist/prebuilt/Android-arm64-v8a/include/cpl_vsi_error.h +3 -17
  24. package/dist/prebuilt/Android-arm64-v8a/include/cpl_vsi_virtual.h +50 -17
  25. package/dist/prebuilt/Android-arm64-v8a/include/cplkeywordparser.h +1 -17
  26. package/dist/prebuilt/Android-arm64-v8a/include/gdal.h +146 -29
  27. package/dist/prebuilt/Android-arm64-v8a/include/gdal_alg.h +4 -17
  28. package/dist/prebuilt/Android-arm64-v8a/include/gdal_alg_priv.h +4 -17
  29. package/dist/prebuilt/Android-arm64-v8a/include/gdal_csv.h +1 -17
  30. package/dist/prebuilt/Android-arm64-v8a/include/gdal_frmts.h +4 -17
  31. package/dist/prebuilt/Android-arm64-v8a/include/gdal_mdreader.h +1 -17
  32. package/dist/prebuilt/Android-arm64-v8a/include/gdal_pam.h +10 -22
  33. package/dist/prebuilt/Android-arm64-v8a/include/gdal_priv.h +308 -98
  34. package/dist/prebuilt/Android-arm64-v8a/include/gdal_proxy.h +32 -19
  35. package/dist/prebuilt/Android-arm64-v8a/include/gdal_rat.h +1 -17
  36. package/dist/prebuilt/Android-arm64-v8a/include/gdal_simplesurf.h +1 -17
  37. package/dist/prebuilt/Android-arm64-v8a/include/gdal_utils.h +1 -17
  38. package/dist/prebuilt/Android-arm64-v8a/include/gdal_version.h +4 -4
  39. package/dist/prebuilt/Android-arm64-v8a/include/gdal_vrt.h +1 -17
  40. package/dist/prebuilt/Android-arm64-v8a/include/gdalcachedpixelaccessor.h +1 -17
  41. package/dist/prebuilt/Android-arm64-v8a/include/gdalgeorefpamdataset.h +2 -18
  42. package/dist/prebuilt/Android-arm64-v8a/include/gdalgrid.h +1 -17
  43. package/dist/prebuilt/Android-arm64-v8a/include/gdalgrid_priv.h +1 -17
  44. package/dist/prebuilt/Android-arm64-v8a/include/gdaljp2abstractdataset.h +1 -17
  45. package/dist/prebuilt/Android-arm64-v8a/include/gdaljp2metadata.h +1 -17
  46. package/dist/prebuilt/Android-arm64-v8a/include/gdalpansharpen.h +1 -17
  47. package/dist/prebuilt/Android-arm64-v8a/include/gdalsubdatasetinfo.h +1 -17
  48. package/dist/prebuilt/Android-arm64-v8a/include/gdalwarper.h +4 -17
  49. package/dist/prebuilt/Android-arm64-v8a/include/memdataset.h +12 -23
  50. package/dist/prebuilt/Android-arm64-v8a/include/ogr_api.h +7 -19
  51. package/dist/prebuilt/Android-arm64-v8a/include/ogr_core.h +17 -34
  52. package/dist/prebuilt/Android-arm64-v8a/include/ogr_feature.h +1 -17
  53. package/dist/prebuilt/Android-arm64-v8a/include/ogr_featurestyle.h +1 -17
  54. package/dist/prebuilt/Android-arm64-v8a/include/ogr_geocoding.h +1 -17
  55. package/dist/prebuilt/Android-arm64-v8a/include/ogr_geomcoordinateprecision.h +1 -17
  56. package/dist/prebuilt/Android-arm64-v8a/include/ogr_geometry.h +179 -115
  57. package/dist/prebuilt/Android-arm64-v8a/include/ogr_p.h +7 -24
  58. package/dist/prebuilt/Android-arm64-v8a/include/ogr_recordbatch.h +18 -13
  59. package/dist/prebuilt/Android-arm64-v8a/include/ogr_spatialref.h +4 -18
  60. package/dist/prebuilt/Android-arm64-v8a/include/ogr_srs_api.h +3 -17
  61. package/dist/prebuilt/Android-arm64-v8a/include/ogr_swq.h +40 -4
  62. package/dist/prebuilt/Android-arm64-v8a/include/ogrsf_frmts.h +14 -17
  63. package/dist/prebuilt/Android-arm64-v8a/include/rawdataset.h +2 -18
  64. package/dist/prebuilt/Android-arm64-v8a/include/vrtdataset.h +215 -87
  65. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/gdal/GDALConfigVersion.cmake +3 -3
  66. package/dist/prebuilt/Android-arm64-v8a/lib/gdalplugins/drivers.ini +4 -1
  67. package/dist/prebuilt/Android-arm64-v8a/lib/libgdal.so +0 -0
  68. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/gdal.pc +1 -1
  69. package/dist/prebuilt/Android-arm64-v8a/share/gdal/gdaltileindex.xsd +1 -17
  70. package/dist/prebuilt/Android-arm64-v8a/share/gdal/gdalvrt.xsd +18 -17
  71. package/dist/prebuilt/Android-arm64-v8a/share/gdal/nitf_spec.xml +1 -17
  72. package/dist/prebuilt/Android-arm64-v8a/share/gdal/nitf_spec.xsd +1 -17
  73. package/dist/prebuilt/Android-arm64-v8a/share/gdal/ogrvrt.xsd +1 -17
  74. package/dist/prebuilt/Android-arm64-v8a/share/gdal/osmconf.ini +3 -1
  75. package/dist/prebuilt/Android-arm64-v8a/share/gdal/pdfcomposition.xsd +1 -17
  76. package/dist/prebuilt/Android-arm64-v8a/share/gdal/vdv452.xml +1 -17
  77. package/dist/prebuilt/Android-arm64-v8a/share/gdal/vdv452.xsd +1 -17
  78. package/dist/prebuilt/CMakeLists.txt +1 -1
  79. package/dist/prebuilt/Emscripten-x86_64/include/cpl_atomic_ops.h +1 -17
  80. package/dist/prebuilt/Emscripten-x86_64/include/cpl_auto_close.h +1 -17
  81. package/dist/prebuilt/Emscripten-x86_64/include/cpl_compressor.h +1 -17
  82. package/dist/prebuilt/Emscripten-x86_64/include/cpl_conv.h +1 -17
  83. package/dist/prebuilt/Emscripten-x86_64/include/cpl_csv.h +1 -17
  84. package/dist/prebuilt/Emscripten-x86_64/include/cpl_error.h +18 -22
  85. package/dist/prebuilt/Emscripten-x86_64/include/cpl_hash_set.h +1 -17
  86. package/dist/prebuilt/Emscripten-x86_64/include/cpl_http.h +73 -19
  87. package/dist/prebuilt/Emscripten-x86_64/include/cpl_json.h +1 -17
  88. package/dist/prebuilt/Emscripten-x86_64/include/cpl_list.h +1 -17
  89. package/dist/prebuilt/Emscripten-x86_64/include/cpl_minixml.h +1 -17
  90. package/dist/prebuilt/Emscripten-x86_64/include/cpl_multiproc.h +1 -17
  91. package/dist/prebuilt/Emscripten-x86_64/include/cpl_port.h +13 -17
  92. package/dist/prebuilt/Emscripten-x86_64/include/cpl_progress.h +1 -17
  93. package/dist/prebuilt/Emscripten-x86_64/include/cpl_quad_tree.h +4 -17
  94. package/dist/prebuilt/Emscripten-x86_64/include/cpl_spawn.h +1 -17
  95. package/dist/prebuilt/Emscripten-x86_64/include/cpl_string.h +4 -17
  96. package/dist/prebuilt/Emscripten-x86_64/include/cpl_time.h +1 -17
  97. package/dist/prebuilt/Emscripten-x86_64/include/cpl_virtualmem.h +1 -17
  98. package/dist/prebuilt/Emscripten-x86_64/include/cpl_vsi.h +49 -17
  99. package/dist/prebuilt/Emscripten-x86_64/include/cpl_vsi_error.h +3 -17
  100. package/dist/prebuilt/Emscripten-x86_64/include/cpl_vsi_virtual.h +50 -17
  101. package/dist/prebuilt/Emscripten-x86_64/include/cplkeywordparser.h +1 -17
  102. package/dist/prebuilt/Emscripten-x86_64/include/gdal.h +146 -29
  103. package/dist/prebuilt/Emscripten-x86_64/include/gdal_alg.h +4 -17
  104. package/dist/prebuilt/Emscripten-x86_64/include/gdal_alg_priv.h +4 -17
  105. package/dist/prebuilt/Emscripten-x86_64/include/gdal_csv.h +1 -17
  106. package/dist/prebuilt/Emscripten-x86_64/include/gdal_frmts.h +4 -17
  107. package/dist/prebuilt/Emscripten-x86_64/include/gdal_mdreader.h +1 -17
  108. package/dist/prebuilt/Emscripten-x86_64/include/gdal_pam.h +10 -22
  109. package/dist/prebuilt/Emscripten-x86_64/include/gdal_priv.h +308 -98
  110. package/dist/prebuilt/Emscripten-x86_64/include/gdal_proxy.h +32 -19
  111. package/dist/prebuilt/Emscripten-x86_64/include/gdal_rat.h +1 -17
  112. package/dist/prebuilt/Emscripten-x86_64/include/gdal_simplesurf.h +1 -17
  113. package/dist/prebuilt/Emscripten-x86_64/include/gdal_utils.h +1 -17
  114. package/dist/prebuilt/Emscripten-x86_64/include/gdal_version.h +4 -4
  115. package/dist/prebuilt/Emscripten-x86_64/include/gdal_vrt.h +1 -17
  116. package/dist/prebuilt/Emscripten-x86_64/include/gdalcachedpixelaccessor.h +1 -17
  117. package/dist/prebuilt/Emscripten-x86_64/include/gdalgeorefpamdataset.h +2 -18
  118. package/dist/prebuilt/Emscripten-x86_64/include/gdalgrid.h +1 -17
  119. package/dist/prebuilt/Emscripten-x86_64/include/gdalgrid_priv.h +1 -17
  120. package/dist/prebuilt/Emscripten-x86_64/include/gdaljp2abstractdataset.h +1 -17
  121. package/dist/prebuilt/Emscripten-x86_64/include/gdaljp2metadata.h +1 -17
  122. package/dist/prebuilt/Emscripten-x86_64/include/gdalpansharpen.h +1 -17
  123. package/dist/prebuilt/Emscripten-x86_64/include/gdalsubdatasetinfo.h +1 -17
  124. package/dist/prebuilt/Emscripten-x86_64/include/gdalwarper.h +4 -17
  125. package/dist/prebuilt/Emscripten-x86_64/include/memdataset.h +12 -23
  126. package/dist/prebuilt/Emscripten-x86_64/include/ogr_api.h +7 -19
  127. package/dist/prebuilt/Emscripten-x86_64/include/ogr_core.h +17 -34
  128. package/dist/prebuilt/Emscripten-x86_64/include/ogr_feature.h +1 -17
  129. package/dist/prebuilt/Emscripten-x86_64/include/ogr_featurestyle.h +1 -17
  130. package/dist/prebuilt/Emscripten-x86_64/include/ogr_geocoding.h +1 -17
  131. package/dist/prebuilt/Emscripten-x86_64/include/ogr_geomcoordinateprecision.h +1 -17
  132. package/dist/prebuilt/Emscripten-x86_64/include/ogr_geometry.h +179 -115
  133. package/dist/prebuilt/Emscripten-x86_64/include/ogr_p.h +7 -24
  134. package/dist/prebuilt/Emscripten-x86_64/include/ogr_recordbatch.h +18 -13
  135. package/dist/prebuilt/Emscripten-x86_64/include/ogr_spatialref.h +4 -18
  136. package/dist/prebuilt/Emscripten-x86_64/include/ogr_srs_api.h +3 -17
  137. package/dist/prebuilt/Emscripten-x86_64/include/ogr_swq.h +40 -4
  138. package/dist/prebuilt/Emscripten-x86_64/include/ogrsf_frmts.h +14 -17
  139. package/dist/prebuilt/Emscripten-x86_64/include/rawdataset.h +2 -18
  140. package/dist/prebuilt/Emscripten-x86_64/include/vrtdataset.h +215 -87
  141. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/gdal/GDAL-targets.cmake +1 -1
  142. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/gdal/GDALConfigVersion.cmake +3 -3
  143. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/gdal/thirdparty/SystemSummary.cmake +2 -2
  144. package/dist/prebuilt/Emscripten-x86_64/lib/gdalplugins/drivers.ini +4 -1
  145. package/dist/prebuilt/Emscripten-x86_64/lib/libgdal.a +0 -0
  146. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/gdal.pc +1 -1
  147. package/dist/prebuilt/Emscripten-x86_64/share/gdal/gdaltileindex.xsd +1 -17
  148. package/dist/prebuilt/Emscripten-x86_64/share/gdal/gdalvrt.xsd +18 -17
  149. package/dist/prebuilt/Emscripten-x86_64/share/gdal/nitf_spec.xml +1 -17
  150. package/dist/prebuilt/Emscripten-x86_64/share/gdal/nitf_spec.xsd +1 -17
  151. package/dist/prebuilt/Emscripten-x86_64/share/gdal/ogrvrt.xsd +1 -17
  152. package/dist/prebuilt/Emscripten-x86_64/share/gdal/osmconf.ini +3 -1
  153. package/dist/prebuilt/Emscripten-x86_64/share/gdal/pdfcomposition.xsd +1 -17
  154. package/dist/prebuilt/Emscripten-x86_64/share/gdal/vdv452.xml +1 -17
  155. package/dist/prebuilt/Emscripten-x86_64/share/gdal/vdv452.xsd +1 -17
  156. package/dist/prebuilt/iOS-iphoneos/include/cpl_atomic_ops.h +1 -17
  157. package/dist/prebuilt/iOS-iphoneos/include/cpl_auto_close.h +1 -17
  158. package/dist/prebuilt/iOS-iphoneos/include/cpl_compressor.h +1 -17
  159. package/dist/prebuilt/iOS-iphoneos/include/cpl_conv.h +1 -17
  160. package/dist/prebuilt/iOS-iphoneos/include/cpl_csv.h +1 -17
  161. package/dist/prebuilt/iOS-iphoneos/include/cpl_error.h +18 -22
  162. package/dist/prebuilt/iOS-iphoneos/include/cpl_hash_set.h +1 -17
  163. package/dist/prebuilt/iOS-iphoneos/include/cpl_http.h +73 -19
  164. package/dist/prebuilt/iOS-iphoneos/include/cpl_json.h +1 -17
  165. package/dist/prebuilt/iOS-iphoneos/include/cpl_list.h +1 -17
  166. package/dist/prebuilt/iOS-iphoneos/include/cpl_minixml.h +1 -17
  167. package/dist/prebuilt/iOS-iphoneos/include/cpl_multiproc.h +1 -17
  168. package/dist/prebuilt/iOS-iphoneos/include/cpl_port.h +13 -17
  169. package/dist/prebuilt/iOS-iphoneos/include/cpl_progress.h +1 -17
  170. package/dist/prebuilt/iOS-iphoneos/include/cpl_quad_tree.h +4 -17
  171. package/dist/prebuilt/iOS-iphoneos/include/cpl_spawn.h +1 -17
  172. package/dist/prebuilt/iOS-iphoneos/include/cpl_string.h +4 -17
  173. package/dist/prebuilt/iOS-iphoneos/include/cpl_time.h +1 -17
  174. package/dist/prebuilt/iOS-iphoneos/include/cpl_virtualmem.h +1 -17
  175. package/dist/prebuilt/iOS-iphoneos/include/cpl_vsi.h +49 -17
  176. package/dist/prebuilt/iOS-iphoneos/include/cpl_vsi_error.h +3 -17
  177. package/dist/prebuilt/iOS-iphoneos/include/cpl_vsi_virtual.h +50 -17
  178. package/dist/prebuilt/iOS-iphoneos/include/cplkeywordparser.h +1 -17
  179. package/dist/prebuilt/iOS-iphoneos/include/gdal.h +146 -29
  180. package/dist/prebuilt/iOS-iphoneos/include/gdal_alg.h +4 -17
  181. package/dist/prebuilt/iOS-iphoneos/include/gdal_alg_priv.h +4 -17
  182. package/dist/prebuilt/iOS-iphoneos/include/gdal_csv.h +1 -17
  183. package/dist/prebuilt/iOS-iphoneos/include/gdal_frmts.h +4 -17
  184. package/dist/prebuilt/iOS-iphoneos/include/gdal_mdreader.h +1 -17
  185. package/dist/prebuilt/iOS-iphoneos/include/gdal_pam.h +10 -22
  186. package/dist/prebuilt/iOS-iphoneos/include/gdal_priv.h +308 -98
  187. package/dist/prebuilt/iOS-iphoneos/include/gdal_proxy.h +32 -19
  188. package/dist/prebuilt/iOS-iphoneos/include/gdal_rat.h +1 -17
  189. package/dist/prebuilt/iOS-iphoneos/include/gdal_simplesurf.h +1 -17
  190. package/dist/prebuilt/iOS-iphoneos/include/gdal_utils.h +1 -17
  191. package/dist/prebuilt/iOS-iphoneos/include/gdal_version.h +4 -4
  192. package/dist/prebuilt/iOS-iphoneos/include/gdal_vrt.h +1 -17
  193. package/dist/prebuilt/iOS-iphoneos/include/gdalcachedpixelaccessor.h +1 -17
  194. package/dist/prebuilt/iOS-iphoneos/include/gdalgeorefpamdataset.h +2 -18
  195. package/dist/prebuilt/iOS-iphoneos/include/gdalgrid.h +1 -17
  196. package/dist/prebuilt/iOS-iphoneos/include/gdalgrid_priv.h +1 -17
  197. package/dist/prebuilt/iOS-iphoneos/include/gdaljp2abstractdataset.h +1 -17
  198. package/dist/prebuilt/iOS-iphoneos/include/gdaljp2metadata.h +1 -17
  199. package/dist/prebuilt/iOS-iphoneos/include/gdalpansharpen.h +1 -17
  200. package/dist/prebuilt/iOS-iphoneos/include/gdalsubdatasetinfo.h +1 -17
  201. package/dist/prebuilt/iOS-iphoneos/include/gdalwarper.h +4 -17
  202. package/dist/prebuilt/iOS-iphoneos/include/memdataset.h +12 -23
  203. package/dist/prebuilt/iOS-iphoneos/include/ogr_api.h +7 -19
  204. package/dist/prebuilt/iOS-iphoneos/include/ogr_core.h +17 -34
  205. package/dist/prebuilt/iOS-iphoneos/include/ogr_feature.h +1 -17
  206. package/dist/prebuilt/iOS-iphoneos/include/ogr_featurestyle.h +1 -17
  207. package/dist/prebuilt/iOS-iphoneos/include/ogr_geocoding.h +1 -17
  208. package/dist/prebuilt/iOS-iphoneos/include/ogr_geomcoordinateprecision.h +1 -17
  209. package/dist/prebuilt/iOS-iphoneos/include/ogr_geometry.h +179 -115
  210. package/dist/prebuilt/iOS-iphoneos/include/ogr_p.h +7 -24
  211. package/dist/prebuilt/iOS-iphoneos/include/ogr_recordbatch.h +18 -13
  212. package/dist/prebuilt/iOS-iphoneos/include/ogr_spatialref.h +4 -18
  213. package/dist/prebuilt/iOS-iphoneos/include/ogr_srs_api.h +3 -17
  214. package/dist/prebuilt/iOS-iphoneos/include/ogr_swq.h +40 -4
  215. package/dist/prebuilt/iOS-iphoneos/include/ogrsf_frmts.h +14 -17
  216. package/dist/prebuilt/iOS-iphoneos/include/rawdataset.h +2 -18
  217. package/dist/prebuilt/iOS-iphoneos/include/vrtdataset.h +215 -87
  218. package/dist/prebuilt/iOS-iphoneos/share/gdal/gdaltileindex.xsd +1 -17
  219. package/dist/prebuilt/iOS-iphoneos/share/gdal/gdalvrt.xsd +18 -17
  220. package/dist/prebuilt/iOS-iphoneos/share/gdal/nitf_spec.xml +1 -17
  221. package/dist/prebuilt/iOS-iphoneos/share/gdal/nitf_spec.xsd +1 -17
  222. package/dist/prebuilt/iOS-iphoneos/share/gdal/ogrvrt.xsd +1 -17
  223. package/dist/prebuilt/iOS-iphoneos/share/gdal/osmconf.ini +3 -1
  224. package/dist/prebuilt/iOS-iphoneos/share/gdal/pdfcomposition.xsd +1 -17
  225. package/dist/prebuilt/iOS-iphoneos/share/gdal/vdv452.xml +1 -17
  226. package/dist/prebuilt/iOS-iphoneos/share/gdal/vdv452.xsd +1 -17
  227. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_atomic_ops.h +1 -17
  228. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_auto_close.h +1 -17
  229. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_compressor.h +1 -17
  230. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_conv.h +1 -17
  231. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_csv.h +1 -17
  232. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_error.h +18 -22
  233. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_hash_set.h +1 -17
  234. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_http.h +73 -19
  235. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_json.h +1 -17
  236. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_list.h +1 -17
  237. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_minixml.h +1 -17
  238. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_multiproc.h +1 -17
  239. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_port.h +13 -17
  240. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_progress.h +1 -17
  241. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_quad_tree.h +4 -17
  242. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_spawn.h +1 -17
  243. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_string.h +4 -17
  244. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_time.h +1 -17
  245. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_virtualmem.h +1 -17
  246. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_vsi.h +49 -17
  247. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_vsi_error.h +3 -17
  248. package/dist/prebuilt/iOS-iphonesimulator/include/cpl_vsi_virtual.h +50 -17
  249. package/dist/prebuilt/iOS-iphonesimulator/include/cplkeywordparser.h +1 -17
  250. package/dist/prebuilt/iOS-iphonesimulator/include/gdal.h +146 -29
  251. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_alg.h +4 -17
  252. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_alg_priv.h +4 -17
  253. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_csv.h +1 -17
  254. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_frmts.h +4 -17
  255. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_mdreader.h +1 -17
  256. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_pam.h +10 -22
  257. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_priv.h +308 -98
  258. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_proxy.h +32 -19
  259. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_rat.h +1 -17
  260. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_simplesurf.h +1 -17
  261. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_utils.h +1 -17
  262. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_version.h +4 -4
  263. package/dist/prebuilt/iOS-iphonesimulator/include/gdal_vrt.h +1 -17
  264. package/dist/prebuilt/iOS-iphonesimulator/include/gdalcachedpixelaccessor.h +1 -17
  265. package/dist/prebuilt/iOS-iphonesimulator/include/gdalgeorefpamdataset.h +2 -18
  266. package/dist/prebuilt/iOS-iphonesimulator/include/gdalgrid.h +1 -17
  267. package/dist/prebuilt/iOS-iphonesimulator/include/gdalgrid_priv.h +1 -17
  268. package/dist/prebuilt/iOS-iphonesimulator/include/gdaljp2abstractdataset.h +1 -17
  269. package/dist/prebuilt/iOS-iphonesimulator/include/gdaljp2metadata.h +1 -17
  270. package/dist/prebuilt/iOS-iphonesimulator/include/gdalpansharpen.h +1 -17
  271. package/dist/prebuilt/iOS-iphonesimulator/include/gdalsubdatasetinfo.h +1 -17
  272. package/dist/prebuilt/iOS-iphonesimulator/include/gdalwarper.h +4 -17
  273. package/dist/prebuilt/iOS-iphonesimulator/include/memdataset.h +12 -23
  274. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_api.h +7 -19
  275. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_core.h +17 -34
  276. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_feature.h +1 -17
  277. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_featurestyle.h +1 -17
  278. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_geocoding.h +1 -17
  279. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_geomcoordinateprecision.h +1 -17
  280. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_geometry.h +179 -115
  281. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_p.h +7 -24
  282. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_recordbatch.h +18 -13
  283. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_spatialref.h +4 -18
  284. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_srs_api.h +3 -17
  285. package/dist/prebuilt/iOS-iphonesimulator/include/ogr_swq.h +40 -4
  286. package/dist/prebuilt/iOS-iphonesimulator/include/ogrsf_frmts.h +14 -17
  287. package/dist/prebuilt/iOS-iphonesimulator/include/rawdataset.h +2 -18
  288. package/dist/prebuilt/iOS-iphonesimulator/include/vrtdataset.h +215 -87
  289. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/gdaltileindex.xsd +1 -17
  290. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/gdalvrt.xsd +18 -17
  291. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/nitf_spec.xml +1 -17
  292. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/nitf_spec.xsd +1 -17
  293. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/ogrvrt.xsd +1 -17
  294. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/osmconf.ini +3 -1
  295. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/pdfcomposition.xsd +1 -17
  296. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/vdv452.xml +1 -17
  297. package/dist/prebuilt/iOS-iphonesimulator/share/gdal/vdv452.xsd +1 -17
  298. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_atomic_ops.h +1 -17
  299. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_auto_close.h +1 -17
  300. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_compressor.h +1 -17
  301. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_conv.h +1 -17
  302. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_csv.h +1 -17
  303. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_error.h +18 -22
  304. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_hash_set.h +1 -17
  305. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_http.h +73 -19
  306. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_json.h +1 -17
  307. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_list.h +1 -17
  308. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_minixml.h +1 -17
  309. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_multiproc.h +1 -17
  310. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_port.h +13 -17
  311. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_progress.h +1 -17
  312. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_quad_tree.h +4 -17
  313. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_spawn.h +1 -17
  314. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_string.h +4 -17
  315. package/gdal.xcframework/ios-arm64_arm64e/Headers/cpl_time.h +29 -0
  316. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_virtualmem.h +1 -17
  317. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_vsi.h +49 -17
  318. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_vsi_error.h +3 -17
  319. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cpl_vsi_virtual.h +50 -17
  320. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/cplkeywordparser.h +1 -17
  321. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdal.h +146 -29
  322. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdal_alg.h +4 -17
  323. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdal_alg_priv.h +4 -17
  324. package/gdal.xcframework/ios-arm64_arm64e/Headers/gdal_csv.h +25 -0
  325. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdal_frmts.h +4 -17
  326. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdal_mdreader.h +1 -17
  327. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdal_pam.h +10 -22
  328. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdal_priv.h +308 -98
  329. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdal_proxy.h +32 -19
  330. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdal_rat.h +1 -17
  331. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdal_simplesurf.h +1 -17
  332. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdal_utils.h +1 -17
  333. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdal_version.h +4 -4
  334. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdal_vrt.h +1 -17
  335. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdalcachedpixelaccessor.h +1 -17
  336. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdalgeorefpamdataset.h +2 -18
  337. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdalgrid.h +1 -17
  338. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdalgrid_priv.h +1 -17
  339. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdaljp2abstractdataset.h +1 -17
  340. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdaljp2metadata.h +1 -17
  341. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdalpansharpen.h +1 -17
  342. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gdalsubdatasetinfo.h +1 -17
  343. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/gdalwarper.h +4 -17
  344. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/memdataset.h +12 -23
  345. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/ogr_api.h +7 -19
  346. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/ogr_core.h +17 -34
  347. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/ogr_feature.h +1 -17
  348. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogr_featurestyle.h +1 -17
  349. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/ogr_geocoding.h +1 -17
  350. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogr_geomcoordinateprecision.h +1 -17
  351. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogr_geometry.h +179 -115
  352. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogr_p.h +7 -24
  353. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogr_recordbatch.h +18 -13
  354. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogr_spatialref.h +4 -18
  355. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogr_srs_api.h +3 -17
  356. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogr_swq.h +40 -4
  357. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/ogrsf_frmts.h +14 -17
  358. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/rawdataset.h +2 -18
  359. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator → gdal.xcframework/ios-arm64_arm64e}/Headers/vrtdataset.h +215 -87
  360. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/libgdal.a +0 -0
  361. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_atomic_ops.h +1 -17
  362. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_auto_close.h +1 -17
  363. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_compressor.h +1 -17
  364. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_conv.h +1 -17
  365. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_csv.h +1 -17
  366. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_error.h +18 -22
  367. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_hash_set.h +1 -17
  368. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_http.h +73 -19
  369. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_json.h +1 -17
  370. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_list.h +1 -17
  371. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_minixml.h +1 -17
  372. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_multiproc.h +1 -17
  373. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_port.h +13 -17
  374. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_progress.h +1 -17
  375. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_quad_tree.h +4 -17
  376. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_spawn.h +1 -17
  377. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_string.h +4 -17
  378. package/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_time.h +29 -0
  379. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_virtualmem.h +1 -17
  380. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_vsi.h +49 -17
  381. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_vsi_error.h +3 -17
  382. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cpl_vsi_virtual.h +50 -17
  383. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/cplkeywordparser.h +1 -17
  384. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdal.h +146 -29
  385. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdal_alg.h +4 -17
  386. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdal_alg_priv.h +4 -17
  387. package/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/gdal_csv.h +25 -0
  388. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdal_frmts.h +4 -17
  389. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdal_mdreader.h +1 -17
  390. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdal_pam.h +10 -22
  391. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdal_priv.h +308 -98
  392. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdal_proxy.h +32 -19
  393. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdal_rat.h +1 -17
  394. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdal_simplesurf.h +1 -17
  395. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdal_utils.h +1 -17
  396. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdal_version.h +4 -4
  397. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdal_vrt.h +1 -17
  398. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdalcachedpixelaccessor.h +1 -17
  399. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdalgeorefpamdataset.h +2 -18
  400. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdalgrid.h +1 -17
  401. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdalgrid_priv.h +1 -17
  402. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdaljp2abstractdataset.h +1 -17
  403. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdaljp2metadata.h +1 -17
  404. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdalpansharpen.h +1 -17
  405. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gdalsubdatasetinfo.h +1 -17
  406. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/gdalwarper.h +4 -17
  407. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/memdataset.h +12 -23
  408. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/ogr_api.h +7 -19
  409. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/ogr_core.h +17 -34
  410. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/ogr_feature.h +1 -17
  411. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogr_featurestyle.h +1 -17
  412. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/ogr_geocoding.h +1 -17
  413. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogr_geomcoordinateprecision.h +1 -17
  414. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogr_geometry.h +179 -115
  415. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogr_p.h +7 -24
  416. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogr_recordbatch.h +18 -13
  417. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogr_spatialref.h +4 -18
  418. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogr_srs_api.h +3 -17
  419. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogr_swq.h +40 -4
  420. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/ogrsf_frmts.h +14 -17
  421. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/rawdataset.h +2 -18
  422. package/{dist/prebuilt/gdal.xcframework/ios-arm64_arm64e → gdal.xcframework/ios-arm64_arm64e_x86_64-simulator}/Headers/vrtdataset.h +215 -87
  423. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/libgdal.a +0 -0
  424. package/package.json +14 -15
  425. package/dist/prebuilt/gdal.xcframework/ios-arm64_arm64e/Headers/cpl_time.h +0 -45
  426. package/dist/prebuilt/gdal.xcframework/ios-arm64_arm64e/Headers/gdal_csv.h +0 -41
  427. package/dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_time.h +0 -45
  428. package/dist/prebuilt/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/gdal_csv.h +0 -41
  429. package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/Info.plist +5 -5
  430. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_config.h +0 -0
  431. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/cpl_config_extras.h +0 -0
  432. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gnm.h +0 -0
  433. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gnm_api.h +0 -0
  434. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e/Headers/gnmgraph.h +0 -0
  435. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_config.h +0 -0
  436. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/cpl_config_extras.h +0 -0
  437. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gnm.h +0 -0
  438. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gnm_api.h +0 -0
  439. /package/{dist/prebuilt/gdal.xcframework → gdal.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/gnmgraph.h +0 -0
package/README.md CHANGED
@@ -4,6 +4,9 @@
4
4
  <a href="https://www.npmjs.com/package/@cpp.js/package-gdal">
5
5
  <img alt="NPM version" src="https://img.shields.io/npm/v/@cpp.js/package-gdal?style=for-the-badge" />
6
6
  </a>
7
+ <a href="https://github.com/OSGeo/gdal">
8
+ <img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Funpkg.com%2F%40cpp.js%2Fpackage-gdal%2Fpackage.json&query=%24.nativeVersion&style=for-the-badge&label=Gdal" />
9
+ </a>
7
10
  <a href="https://github.com/OSGeo/gdal/blob/master/LICENSE.TXT">
8
11
  <img alt="License" src="https://img.shields.io/npm/l/%40cpp.js%2Fpackage-gdal?style=for-the-badge" />
9
12
  </a>
@@ -3,7 +3,7 @@ package = JSON.parse(File.read(File.join(__dir__, "package.json")))
3
3
 
4
4
  Pod::Spec.new do |s|
5
5
  s.module_name = "gdal"
6
- s.name = package["name"]
6
+ s.name = "cppjs-package-gdal"
7
7
  s.version = package["nativeVersion"]
8
8
  s.summary = "GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats."
9
9
  s.homepage = "https://github.com/OSGeo/gdal"
@@ -9,23 +9,7 @@
9
9
  **********************************************************************
10
10
  * Copyright (c) 2009-2010, Even Rouault <even dot rouault at spatialys.com>
11
11
  *
12
- * Permission is hereby granted, free of charge, to any person obtaining a
13
- * copy of this software and associated documentation files (the "Software"),
14
- * to deal in the Software without restriction, including without limitation
15
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
- * and/or sell copies of the Software, and to permit persons to whom the
17
- * Software is furnished to do so, subject to the following conditions:
18
- *
19
- * The above copyright notice and this permission notice shall be included
20
- * in all copies or substantial portions of the Software.
21
- *
22
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28
- * DEALINGS IN THE SOFTWARE.
12
+ * SPDX-License-Identifier: MIT
29
13
  ****************************************************************************/
30
14
 
31
15
  #ifndef CPL_ATOMIC_OPS_INCLUDED
@@ -9,23 +9,7 @@
9
9
  **********************************************************************
10
10
  * Copyright (c) 2018, Liu Yimin
11
11
  *
12
- * Permission is hereby granted, free of charge, to any person obtaining a
13
- * copy of this software and associated documentation files (the "Software"),
14
- * to deal in the Software without restriction, including without limitation
15
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
- * and/or sell copies of the Software, and to permit persons to whom the
17
- * Software is furnished to do so, subject to the following conditions:
18
- *
19
- * The above copyright notice and this permission notice shall be included
20
- * in all copies or substantial portions of the Software.
21
- *
22
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28
- * DEALINGS IN THE SOFTWARE.
12
+ * SPDX-License-Identifier: MIT
29
13
  ****************************************************************************/
30
14
 
31
15
  #ifndef CPL_AUTO_CLOSE_H_INCLUDED
@@ -6,23 +6,7 @@
6
6
  **********************************************************************
7
7
  * Copyright (c) 2021, Even Rouault <even.rouault at spatialys.com>
8
8
  *
9
- * Permission is hereby granted, free of charge, to any person obtaining a
10
- * copy of this software and associated documentation files (the "Software"),
11
- * to deal in the Software without restriction, including without limitation
12
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13
- * and/or sell copies of the Software, and to permit persons to whom the
14
- * Software is furnished to do so, subject to the following conditions:
15
- *
16
- * The above copyright notice and this permission notice shall be included
17
- * in all copies or substantial portions of the Software.
18
- *
19
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
- * DEALINGS IN THE SOFTWARE.
9
+ * SPDX-License-Identifier: MIT
26
10
  ****************************************************************************/
27
11
 
28
12
  #ifndef CPL_COMPRESSOR_H_INCLUDED
@@ -10,23 +10,7 @@
10
10
  * Copyright (c) 1998, Frank Warmerdam
11
11
  * Copyright (c) 2007-2013, Even Rouault <even dot rouault at spatialys.com>
12
12
  *
13
- * Permission is hereby granted, free of charge, to any person obtaining a
14
- * copy of this software and associated documentation files (the "Software"),
15
- * to deal in the Software without restriction, including without limitation
16
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17
- * and/or sell copies of the Software, and to permit persons to whom the
18
- * Software is furnished to do so, subject to the following conditions:
19
- *
20
- * The above copyright notice and this permission notice shall be included
21
- * in all copies or substantial portions of the Software.
22
- *
23
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29
- * DEALINGS IN THE SOFTWARE.
13
+ * SPDX-License-Identifier: MIT
30
14
  ****************************************************************************/
31
15
 
32
16
  #ifndef CPL_CONV_H_INCLUDED
@@ -9,23 +9,7 @@
9
9
  ******************************************************************************
10
10
  * Copyright (c) 1999, Frank Warmerdam
11
11
  *
12
- * Permission is hereby granted, free of charge, to any person obtaining a
13
- * copy of this software and associated documentation files (the "Software"),
14
- * to deal in the Software without restriction, including without limitation
15
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
- * and/or sell copies of the Software, and to permit persons to whom the
17
- * Software is furnished to do so, subject to the following conditions:
18
- *
19
- * The above copyright notice and this permission notice shall be included
20
- * in all copies or substantial portions of the Software.
21
- *
22
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28
- * DEALINGS IN THE SOFTWARE.
12
+ * SPDX-License-Identifier: MIT
29
13
  ****************************************************************************/
30
14
 
31
15
  #ifndef CPL_CSV_H_INCLUDED
@@ -9,23 +9,7 @@
9
9
  **********************************************************************
10
10
  * Copyright (c) 1998, Daniel Morissette
11
11
  *
12
- * Permission is hereby granted, free of charge, to any person obtaining a
13
- * copy of this software and associated documentation files (the "Software"),
14
- * to deal in the Software without restriction, including without limitation
15
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
- * and/or sell copies of the Software, and to permit persons to whom the
17
- * Software is furnished to do so, subject to the following conditions:
18
- *
19
- * The above copyright notice and this permission notice shall be included
20
- * in all copies or substantial portions of the Software.
21
- *
22
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28
- * DEALINGS IN THE SOFTWARE.
12
+ * SPDX-License-Identifier: MIT
29
13
  ****************************************************************************/
30
14
 
31
15
  #ifndef CPL_ERROR_H_INCLUDED
@@ -167,7 +151,7 @@ void CPL_DLL CPL_STDCALL CPLDefaultErrorHandler(CPLErr, CPLErrorNum,
167
151
  const char *);
168
152
  void CPL_DLL CPL_STDCALL CPLQuietErrorHandler(CPLErr, CPLErrorNum,
169
153
  const char *);
170
- void CPLTurnFailureIntoWarning(int bOn);
154
+ void CPL_DLL CPLTurnFailureIntoWarning(int bOn);
171
155
 
172
156
  CPLErrorHandler CPL_DLL CPLGetErrorHandler(void **ppUserData);
173
157
 
@@ -180,8 +164,14 @@ void CPL_DLL CPL_STDCALL CPLSetCurrentErrorHandlerCatchDebug(int bCatchDebug);
180
164
  void CPL_DLL CPL_STDCALL CPLPopErrorHandler(void);
181
165
 
182
166
  #ifdef WITHOUT_CPLDEBUG
183
- #define CPLDebug(...) /* Eat all CPLDebug calls. */
184
- #define CPLDebugProgress(...) /* Eat all CPLDebugProgress calls. */
167
+ #define CPLDebug(...) \
168
+ do \
169
+ { \
170
+ } while (0) /* Eat all CPLDebug calls. */
171
+ #define CPLDebugProgress(...) \
172
+ do \
173
+ { \
174
+ } while (0) /* Eat all CPLDebugProgress calls. */
185
175
  #else
186
176
  void CPL_DLL CPLDebug(const char *, CPL_FORMAT_STRING(const char *), ...)
187
177
  CPL_PRINT_FUNC_FORMAT(2, 3);
@@ -198,7 +188,10 @@ void CPL_DLL CPLDebugProgress(const char *, CPL_FORMAT_STRING(const char *),
198
188
  /** Same as CPLDebug(), but expands to nothing for non-DEBUG builds.
199
189
  * @since GDAL 3.1
200
190
  */
201
- #define CPLDebugOnly(...)
191
+ #define CPLDebugOnly(...) \
192
+ do \
193
+ { \
194
+ } while (0)
202
195
  #endif
203
196
 
204
197
  void CPL_DLL CPL_STDCALL _CPLAssert(const char *, const char *,
@@ -213,7 +206,10 @@ void CPL_DLL CPL_STDCALL _CPLAssert(const char *, const char *,
213
206
  #define CPLAssertAlwaysEval(expr) CPLAssert(expr)
214
207
  #else
215
208
  /** Assert on an expression. Only enabled in DEBUG mode */
216
- #define CPLAssert(expr)
209
+ #define CPLAssert(expr) \
210
+ do \
211
+ { \
212
+ } while (0)
217
213
  #ifdef __cplusplus
218
214
  /** Assert on an expression in DEBUG mode. Evaluate it also in non-DEBUG mode
219
215
  * (useful to 'consume' a error return variable) */
@@ -9,23 +9,7 @@
9
9
  **********************************************************************
10
10
  * Copyright (c) 2008-2009, Even Rouault <even dot rouault at spatialys.com>
11
11
  *
12
- * Permission is hereby granted, free of charge, to any person obtaining a
13
- * copy of this software and associated documentation files (the "Software"),
14
- * to deal in the Software without restriction, including without limitation
15
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
- * and/or sell copies of the Software, and to permit persons to whom the
17
- * Software is furnished to do so, subject to the following conditions:
18
- *
19
- * The above copyright notice and this permission notice shall be included
20
- * in all copies or substantial portions of the Software.
21
- *
22
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28
- * DEALINGS IN THE SOFTWARE.
12
+ * SPDX-License-Identifier: MIT
29
13
  ****************************************************************************/
30
14
 
31
15
  #ifndef CPL_HASH_SET_H_INCLUDED
@@ -9,23 +9,7 @@
9
9
  * Copyright (c) 2006, Frank Warmerdam
10
10
  * Copyright (c) 2009, Even Rouault <even dot rouault at spatialys.com>
11
11
  *
12
- * Permission is hereby granted, free of charge, to any person obtaining a
13
- * copy of this software and associated documentation files (the "Software"),
14
- * to deal in the Software without restriction, including without limitation
15
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
- * and/or sell copies of the Software, and to permit persons to whom the
17
- * Software is furnished to do so, subject to the following conditions:
18
- *
19
- * The above copyright notice and this permission notice shall be included
20
- * in all copies or substantial portions of the Software.
21
- *
22
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
23
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28
- * DEALINGS IN THE SOFTWARE.
12
+ * SPDX-License-Identifier: MIT
29
13
  ****************************************************************************/
30
14
 
31
15
  #ifndef CPL_HTTP_H_INCLUDED
@@ -179,8 +163,44 @@ CPL_C_END
179
163
  void CPL_DLL *CPLHTTPSetOptions(void *pcurl, const char *pszURL,
180
164
  const char *const *papszOptions);
181
165
  char **CPLHTTPGetOptionsFromEnv(const char *pszFilename);
182
- double CPLHTTPGetNewRetryDelay(int response_code, double dfOldDelay,
183
- const char *pszErrBuf, const char *pszCurlError);
166
+
167
+ /** Stores HTTP retry parameters */
168
+ struct CPLHTTPRetryParameters
169
+ {
170
+ int nMaxRetry = CPL_HTTP_MAX_RETRY;
171
+ double dfInitialDelay = CPL_HTTP_RETRY_DELAY;
172
+ std::string osRetryCodes{};
173
+
174
+ CPLHTTPRetryParameters() = default;
175
+ explicit CPLHTTPRetryParameters(const CPLStringList &aosHTTPOptions);
176
+ };
177
+
178
+ /** HTTP retry context */
179
+ class CPLHTTPRetryContext
180
+ {
181
+ public:
182
+ explicit CPLHTTPRetryContext(const CPLHTTPRetryParameters &oParams);
183
+
184
+ bool CanRetry(int response_code, const char *pszErrBuf,
185
+ const char *pszCurlError);
186
+ bool CanRetry();
187
+
188
+ /** Returns the delay to apply. Only valid after a successful call to CanRetry() */
189
+ double GetCurrentDelay() const;
190
+
191
+ /** Reset retry counter. */
192
+ void ResetCounter()
193
+ {
194
+ m_nRetryCount = 0;
195
+ }
196
+
197
+ private:
198
+ CPLHTTPRetryParameters m_oParameters{};
199
+ int m_nRetryCount = 0;
200
+ double m_dfCurDelay = 0.0;
201
+ double m_dfNextDelay = 0.0;
202
+ };
203
+
184
204
  void CPL_DLL *CPLHTTPIgnoreSigPipe();
185
205
  void CPL_DLL CPLHTTPRestoreSigPipeHandler(void *old_handler);
186
206
  bool CPLMultiPerformWait(void *hCurlMultiHandle, int &repeats);
@@ -241,9 +261,43 @@ class GOA2Manager
241
261
  return m_osClientEmail;
242
262
  }
243
263
 
264
+ /** Returns a key that can be used to uniquely identify the instance
265
+ * parameters (excluding bearer)
266
+ */
267
+ std::string GetKey() const
268
+ {
269
+ std::string osKey(std::to_string(static_cast<int>(m_eMethod))
270
+ .append(",client-id=")
271
+ .append(m_osClientId)
272
+ .append(",client-secret=")
273
+ .append(m_osClientSecret)
274
+ .append(",refresh-token=")
275
+ .append(m_osRefreshToken)
276
+ .append(",private-key=")
277
+ .append(m_osPrivateKey)
278
+ .append(",client-email=")
279
+ .append(m_osClientEmail)
280
+ .append(",scope=")
281
+ .append(m_osScope));
282
+ osKey.append(",additional-claims=");
283
+ for (const auto *pszOption : m_aosAdditionalClaims)
284
+ {
285
+ osKey.append(pszOption);
286
+ osKey.append("+");
287
+ }
288
+ osKey.append(",options=");
289
+ for (const auto *pszOption : m_aosOptions)
290
+ {
291
+ osKey.append(pszOption);
292
+ osKey.append("+");
293
+ }
294
+ return osKey;
295
+ }
296
+
244
297
  private:
245
298
  mutable CPLString m_osCurrentBearer{};
246
299
  mutable time_t m_nExpirationTime = 0;
300
+
247
301
  AuthMethod m_eMethod = NONE;
248
302
 
249
303
  // for ACCESS_TOKEN_FROM_REFRESH
@@ -6,23 +6,7 @@
6
6
  ******************************************************************************
7
7
  * Copyright (c) 2017-2018 NextGIS, <info@nextgis.com>
8
8
  *
9
- * Permission is hereby granted, free of charge, to any person obtaining a
10
- * copy of this software and associated documentation files (the "Software"),
11
- * to deal in the Software without restriction, including without limitation
12
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13
- * and/or sell copies of the Software, and to permit persons to whom the
14
- * Software is furnished to do so, subject to the following conditions:
15
- *
16
- * The above copyright notice and this permission notice shall be included
17
- * in all copies or substantial portions of the Software.
18
- *
19
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
- * DEALINGS IN THE SOFTWARE.
9
+ * SPDX-License-Identifier: MIT
26
10
  ****************************************************************************/
27
11
 
28
12
  #ifndef CPL_JSON_H_INCLUDED
@@ -9,23 +9,7 @@
9
9
  **********************************************************************
10
10
  * Copyright (c) 2003, Andrey Kiselev <dron@remotesensing.org>
11
11
  *
12
- * Permission is hereby granted, free of charge, to any person obtaining a
13
- * copy of this software and associated documentation files (the "Software"),
14
- * to deal in the Software without restriction, including without limitation
15
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
- * and/or sell copies of the Software, and to permit persons to whom the
17
- * Software is furnished to do so, subject to the following conditions:
18
- *
19
- * The above copyright notice and this permission notice shall be included
20
- * in all copies or substantial portions of the Software.
21
- *
22
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28
- * DEALINGS IN THE SOFTWARE.
12
+ * SPDX-License-Identifier: MIT
29
13
  ****************************************************************************/
30
14
 
31
15
  #ifndef CPL_LIST_H_INCLUDED
@@ -8,23 +8,7 @@
8
8
  **********************************************************************
9
9
  * Copyright (c) 2001, Frank Warmerdam
10
10
  *
11
- * Permission is hereby granted, free of charge, to any person obtaining a
12
- * copy of this software and associated documentation files (the "Software"),
13
- * to deal in the Software without restriction, including without limitation
14
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15
- * and/or sell copies of the Software, and to permit persons to whom the
16
- * Software is furnished to do so, subject to the following conditions:
17
- *
18
- * The above copyright notice and this permission notice shall be included
19
- * in all copies or substantial portions of the Software.
20
- *
21
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27
- * DEALINGS IN THE SOFTWARE.
11
+ * SPDX-License-Identifier: MIT
28
12
  ****************************************************************************/
29
13
 
30
14
  #ifndef CPL_MINIXML_H_INCLUDED
@@ -9,23 +9,7 @@
9
9
  * Copyright (c) 2002, Frank Warmerdam
10
10
  * Copyright (c) 2008-2013, Even Rouault <even dot rouault at spatialys.com>
11
11
  *
12
- * Permission is hereby granted, free of charge, to any person obtaining a
13
- * copy of this software and associated documentation files (the "Software"),
14
- * to deal in the Software without restriction, including without limitation
15
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
16
- * and/or sell copies of the Software, and to permit persons to whom the
17
- * Software is furnished to do so, subject to the following conditions:
18
- *
19
- * The above copyright notice and this permission notice shall be included
20
- * in all copies or substantial portions of the Software.
21
- *
22
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
25
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
27
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
28
- * DEALINGS IN THE SOFTWARE.
12
+ * SPDX-License-Identifier: MIT
29
13
  ****************************************************************************/
30
14
 
31
15
  #ifndef CPL_MULTIPROC_H_INCLUDED_
@@ -10,23 +10,7 @@
10
10
  * Copyright (c) 1998, 2005, Frank Warmerdam <warmerdam@pobox.com>
11
11
  * Copyright (c) 2008-2013, Even Rouault <even dot rouault at spatialys.com>
12
12
  *
13
- * Permission is hereby granted, free of charge, to any person obtaining a
14
- * copy of this software and associated documentation files (the "Software"),
15
- * to deal in the Software without restriction, including without limitation
16
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17
- * and/or sell copies of the Software, and to permit persons to whom the
18
- * Software is furnished to do so, subject to the following conditions:
19
- *
20
- * The above copyright notice and this permission notice shall be included
21
- * in all copies or substantial portions of the Software.
22
- *
23
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29
- * DEALINGS IN THE SOFTWARE.
13
+ * SPDX-License-Identifier: MIT
30
14
  ****************************************************************************/
31
15
 
32
16
  #ifndef CPL_BASE_H_INCLUDED
@@ -568,6 +552,8 @@ static inline char *CPL_afl_friendly_strstr(const char *haystack,
568
552
  #endif
569
553
  /*! @endcond */
570
554
 
555
+ #ifndef GDAL_COMPILATION
556
+ /*! @cond Doxygen_Suppress */
571
557
  /* -------------------------------------------------------------------- */
572
558
  /* Handle isnan() and isinf(). Note that isinf() and isnan() */
573
559
  /* are supposed to be macros according to C99, defined in math.h */
@@ -680,6 +666,8 @@ extern "C++"
680
666
  #endif
681
667
  #endif
682
668
  #endif
669
+ /*! @endcond */
670
+ #endif // GDAL_COMPILATION
683
671
 
684
672
  /*! @cond Doxygen_Suppress */
685
673
  /*---------------------------------------------------------------------
@@ -1161,6 +1149,14 @@ extern "C++"
1161
1149
  {
1162
1150
  return t;
1163
1151
  }
1152
+
1153
+ /** Emulates the C++20 .contains() method */
1154
+ template <typename C, typename V>
1155
+ inline bool contains(const C &container, const V &value)
1156
+ {
1157
+ return container.find(value) != container.end();
1158
+ }
1159
+
1164
1160
  } // namespace cpl
1165
1161
  }
1166
1162
  #endif
@@ -8,23 +8,7 @@
8
8
  ******************************************************************************
9
9
  * Copyright (c) 2013, Frank Warmerdam
10
10
  *
11
- * Permission is hereby granted, free of charge, to any person obtaining a
12
- * copy of this software and associated documentation files (the "Software"),
13
- * to deal in the Software without restriction, including without limitation
14
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15
- * and/or sell copies of the Software, and to permit persons to whom the
16
- * Software is furnished to do so, subject to the following conditions:
17
- *
18
- * The above copyright notice and this permission notice shall be included
19
- * in all copies or substantial portions of the Software.
20
- *
21
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22
- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27
- * DEALINGS IN THE SOFTWARE.
11
+ * SPDX-License-Identifier: MIT
28
12
  ****************************************************************************/
29
13
 
30
14
  #ifndef CPL_PROGRESS_H_INCLUDED
@@ -11,23 +11,7 @@
11
11
  * Copyright (c) 1999-2008, Frank Warmerdam
12
12
  * Copyright (c) 2008-2014, Even Rouault <even dot rouault at spatialys.com>
13
13
  *
14
- * Permission is hereby granted, free of charge, to any person obtaining a
15
- * copy of this software and associated documentation files (the "Software"),
16
- * to deal in the Software without restriction, including without limitation
17
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
18
- * and/or sell copies of the Software, and to permit persons to whom the
19
- * Software is furnished to do so, subject to the following conditions:
20
- *
21
- * The above copyright notice and this permission notice shall be included
22
- * in all copies or substantial portions of the Software.
23
- *
24
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
27
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
29
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
30
- * DEALINGS IN THE SOFTWARE.
14
+ * SPDX-License-Identifier: MIT
31
15
  ****************************************************************************/
32
16
 
33
17
  #ifndef CPL_QUAD_TREE_H_INCLUDED
@@ -102,6 +86,9 @@ void CPL_DLL CPLQuadTreeRemove(CPLQuadTree *hQuadtree, void *hFeature,
102
86
  void CPL_DLL **CPLQuadTreeSearch(const CPLQuadTree *hQuadtree,
103
87
  const CPLRectObj *pAoi, int *pnFeatureCount);
104
88
 
89
+ bool CPL_DLL CPLQuadTreeHasMatch(const CPLQuadTree *hQuadtree,
90
+ const CPLRectObj *pAoi);
91
+
105
92
  void CPL_DLL CPLQuadTreeForeach(const CPLQuadTree *hQuadtree,
106
93
  CPLQuadTreeForeachFunc pfnForeach,
107
94
  void *pUserData);
@@ -8,23 +8,7 @@
8
8
  **********************************************************************
9
9
  * Copyright (c) 2013, Even Rouault <even dot rouault at spatialys.com>
10
10
  *
11
- * Permission is hereby granted, free of charge, to any person obtaining a
12
- * copy of this software and associated documentation files (the "Software"),
13
- * to deal in the Software without restriction, including without limitation
14
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15
- * and/or sell copies of the Software, and to permit persons to whom the
16
- * Software is furnished to do so, subject to the following conditions:
17
- *
18
- * The above copyright notice and this permission notice shall be included
19
- * in all copies or substantial portions of the Software.
20
- *
21
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
27
- * DEALINGS IN THE SOFTWARE.
11
+ * SPDX-License-Identifier: MIT
28
12
  ****************************************************************************/
29
13
 
30
14
  #ifndef CPL_SPAWN_H_INCLUDED
@@ -10,23 +10,7 @@
10
10
  * Copyright (c) 1998, Daniel Morissette
11
11
  * Copyright (c) 2008-2014, Even Rouault <even dot rouault at spatialys.com>
12
12
  *
13
- * Permission is hereby granted, free of charge, to any person obtaining a
14
- * copy of this software and associated documentation files (the "Software"),
15
- * to deal in the Software without restriction, including without limitation
16
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17
- * and/or sell copies of the Software, and to permit persons to whom the
18
- * Software is furnished to do so, subject to the following conditions:
19
- *
20
- * The above copyright notice and this permission notice shall be included
21
- * in all copies or substantial portions of the Software.
22
- *
23
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29
- * DEALINGS IN THE SOFTWARE.
13
+ * SPDX-License-Identifier: MIT
30
14
  ****************************************************************************/
31
15
 
32
16
  #ifndef CPL_STRING_H_INCLUDED
@@ -128,6 +112,9 @@ bool CPL_DLL CPLTestBool(const char *pszValue);
128
112
  bool CPL_DLL CPLFetchBool(CSLConstList papszStrList, const char *pszKey,
129
113
  bool bDefault);
130
114
 
115
+ CPLErr CPL_DLL CPLParseMemorySize(const char *pszValue, GIntBig *pnValue,
116
+ bool *pbUnitSpecified);
117
+
131
118
  const char CPL_DLL *CPLParseNameValue(const char *pszNameValue, char **ppszKey);
132
119
  const char CPL_DLL *CPLParseNameValueSep(const char *pszNameValue,
133
120
  char **ppszKey, char chSep);