@cpp.js/package-gdal 1.0.0-beta.21 → 1.0.0-beta.23

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 (225) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/cppjs-package-gdal.podspec +1 -1
  3. package/cppjs.build.js +1 -0
  4. package/dist/prebuilt/Android-x86_64/include/cpl_atomic_ops.h +90 -0
  5. package/dist/prebuilt/Android-x86_64/include/cpl_auto_close.h +73 -0
  6. package/dist/prebuilt/Android-x86_64/include/cpl_compressor.h +112 -0
  7. package/dist/prebuilt/Android-x86_64/include/cpl_config.h +215 -0
  8. package/dist/prebuilt/Android-x86_64/include/cpl_config_extras.h +34 -0
  9. package/dist/prebuilt/Android-x86_64/include/cpl_conv.h +417 -0
  10. package/dist/prebuilt/Android-x86_64/include/cpl_csv.h +71 -0
  11. package/dist/prebuilt/Android-x86_64/include/cpl_error.h +344 -0
  12. package/dist/prebuilt/Android-x86_64/include/cpl_hash_set.h +83 -0
  13. package/dist/prebuilt/Android-x86_64/include/cpl_http.h +319 -0
  14. package/dist/prebuilt/Android-x86_64/include/cpl_json.h +301 -0
  15. package/dist/prebuilt/Android-x86_64/include/cpl_list.h +59 -0
  16. package/dist/prebuilt/Android-x86_64/include/cpl_minixml.h +211 -0
  17. package/dist/prebuilt/Android-x86_64/include/cpl_multiproc.h +241 -0
  18. package/dist/prebuilt/Android-x86_64/include/cpl_port.h +1182 -0
  19. package/dist/prebuilt/Android-x86_64/include/cpl_progress.h +49 -0
  20. package/dist/prebuilt/Android-x86_64/include/cpl_quad_tree.h +105 -0
  21. package/dist/prebuilt/Android-x86_64/include/cpl_spawn.h +60 -0
  22. package/dist/prebuilt/Android-x86_64/include/cpl_string.h +863 -0
  23. package/dist/prebuilt/Android-x86_64/include/cpl_time.h +29 -0
  24. package/dist/prebuilt/Android-x86_64/include/cpl_virtualmem.h +365 -0
  25. package/dist/prebuilt/Android-x86_64/include/cpl_vsi.h +830 -0
  26. package/dist/prebuilt/Android-x86_64/include/cpl_vsi_error.h +55 -0
  27. package/dist/prebuilt/Android-x86_64/include/cpl_vsi_virtual.h +580 -0
  28. package/dist/prebuilt/Android-x86_64/include/cplkeywordparser.h +61 -0
  29. package/dist/prebuilt/Android-x86_64/include/gdal.h +2667 -0
  30. package/dist/prebuilt/Android-x86_64/include/gdal_alg.h +717 -0
  31. package/dist/prebuilt/Android-x86_64/include/gdal_alg_priv.h +386 -0
  32. package/dist/prebuilt/Android-x86_64/include/gdal_csv.h +25 -0
  33. package/dist/prebuilt/Android-x86_64/include/gdal_frmts.h +236 -0
  34. package/dist/prebuilt/Android-x86_64/include/gdal_mdreader.h +240 -0
  35. package/dist/prebuilt/Android-x86_64/include/gdal_pam.h +461 -0
  36. package/dist/prebuilt/Android-x86_64/include/gdal_priv.h +4599 -0
  37. package/dist/prebuilt/Android-x86_64/include/gdal_proxy.h +470 -0
  38. package/dist/prebuilt/Android-x86_64/include/gdal_rat.h +390 -0
  39. package/dist/prebuilt/Android-x86_64/include/gdal_simplesurf.h +579 -0
  40. package/dist/prebuilt/Android-x86_64/include/gdal_utils.h +313 -0
  41. package/dist/prebuilt/Android-x86_64/include/gdal_version.h +33 -0
  42. package/dist/prebuilt/Android-x86_64/include/gdal_vrt.h +89 -0
  43. package/dist/prebuilt/Android-x86_64/include/gdalcachedpixelaccessor.h +439 -0
  44. package/dist/prebuilt/Android-x86_64/include/gdalgeorefpamdataset.h +73 -0
  45. package/dist/prebuilt/Android-x86_64/include/gdalgrid.h +102 -0
  46. package/dist/prebuilt/Android-x86_64/include/gdalgrid_priv.h +67 -0
  47. package/dist/prebuilt/Android-x86_64/include/gdaljp2abstractdataset.h +61 -0
  48. package/dist/prebuilt/Android-x86_64/include/gdaljp2metadata.h +237 -0
  49. package/dist/prebuilt/Android-x86_64/include/gdalpansharpen.h +258 -0
  50. package/dist/prebuilt/Android-x86_64/include/gdalsubdatasetinfo.h +104 -0
  51. package/dist/prebuilt/Android-x86_64/include/gdalwarper.h +622 -0
  52. package/dist/prebuilt/Android-x86_64/include/gnm.h +750 -0
  53. package/dist/prebuilt/Android-x86_64/include/gnm_api.h +101 -0
  54. package/dist/prebuilt/Android-x86_64/include/gnmgraph.h +258 -0
  55. package/dist/prebuilt/Android-x86_64/include/memdataset.h +176 -0
  56. package/dist/prebuilt/Android-x86_64/include/ogr_api.h +1024 -0
  57. package/dist/prebuilt/Android-x86_64/include/ogr_core.h +1321 -0
  58. package/dist/prebuilt/Android-x86_64/include/ogr_feature.h +1981 -0
  59. package/dist/prebuilt/Android-x86_64/include/ogr_featurestyle.h +858 -0
  60. package/dist/prebuilt/Android-x86_64/include/ogr_geocoding.h +46 -0
  61. package/dist/prebuilt/Android-x86_64/include/ogr_geomcoordinateprecision.h +79 -0
  62. package/dist/prebuilt/Android-x86_64/include/ogr_geometry.h +4346 -0
  63. package/dist/prebuilt/Android-x86_64/include/ogr_p.h +324 -0
  64. package/dist/prebuilt/Android-x86_64/include/ogr_recordbatch.h +125 -0
  65. package/dist/prebuilt/Android-x86_64/include/ogr_spatialref.h +1007 -0
  66. package/dist/prebuilt/Android-x86_64/include/ogr_srs_api.h +1088 -0
  67. package/dist/prebuilt/Android-x86_64/include/ogr_swq.h +529 -0
  68. package/dist/prebuilt/Android-x86_64/include/ogrsf_frmts.h +746 -0
  69. package/dist/prebuilt/Android-x86_64/include/rawdataset.h +255 -0
  70. package/dist/prebuilt/Android-x86_64/include/vrtdataset.h +2426 -0
  71. package/dist/prebuilt/Android-x86_64/lib/cmake/gdal/GDAL-targets-release.cmake +19 -0
  72. package/dist/prebuilt/Android-x86_64/lib/cmake/gdal/GDAL-targets.cmake +106 -0
  73. package/dist/prebuilt/Android-x86_64/lib/cmake/gdal/GDALConfig.cmake +21 -0
  74. package/dist/prebuilt/Android-x86_64/lib/cmake/gdal/GDALConfigVersion.cmake +85 -0
  75. package/dist/prebuilt/Android-x86_64/lib/gdalplugins/drivers.ini +290 -0
  76. package/dist/prebuilt/Android-x86_64/lib/libgdal.so +0 -0
  77. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/gdal.pc +17 -0
  78. package/dist/prebuilt/Android-x86_64/share/gdal/GDALLogoBW.svg +138 -0
  79. package/dist/prebuilt/Android-x86_64/share/gdal/GDALLogoColor.svg +126 -0
  80. package/dist/prebuilt/Android-x86_64/share/gdal/GDALLogoGS.svg +126 -0
  81. package/dist/prebuilt/Android-x86_64/share/gdal/LICENSE.TXT +467 -0
  82. package/dist/prebuilt/Android-x86_64/share/gdal/MM_m_idofic.csv +321 -0
  83. package/dist/prebuilt/Android-x86_64/share/gdal/cubewerx_extra.wkt +48 -0
  84. package/dist/prebuilt/Android-x86_64/share/gdal/default.rsc +0 -0
  85. package/dist/prebuilt/Android-x86_64/share/gdal/ecw_cs.wkt +1453 -0
  86. package/dist/prebuilt/Android-x86_64/share/gdal/epsg.wkt +1 -0
  87. package/dist/prebuilt/Android-x86_64/share/gdal/esri_StatePlane_extra.wkt +631 -0
  88. package/dist/prebuilt/Android-x86_64/share/gdal/gdalicon.png +0 -0
  89. package/dist/prebuilt/Android-x86_64/share/gdal/gdalinfo_output.schema.json +346 -0
  90. package/dist/prebuilt/Android-x86_64/share/gdal/gdalmdiminfo_output.schema.json +321 -0
  91. package/dist/prebuilt/Android-x86_64/share/gdal/gdaltileindex.xsd +253 -0
  92. package/dist/prebuilt/Android-x86_64/share/gdal/gdalvrt.xsd +881 -0
  93. package/dist/prebuilt/Android-x86_64/share/gdal/gfs.xsd +246 -0
  94. package/dist/prebuilt/Android-x86_64/share/gdal/gml_registry.xml +117 -0
  95. package/dist/prebuilt/Android-x86_64/share/gdal/gml_registry.xsd +66 -0
  96. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_center.csv +251 -0
  97. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_process.csv +102 -0
  98. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_subcenter.csv +63 -0
  99. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_0.csv +261 -0
  100. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_1.csv +261 -0
  101. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_13.csv +261 -0
  102. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_14.csv +261 -0
  103. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_15.csv +261 -0
  104. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_16.csv +261 -0
  105. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_17.csv +11 -0
  106. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_18.csv +261 -0
  107. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_19.csv +261 -0
  108. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_190.csv +261 -0
  109. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_191.csv +261 -0
  110. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_2.csv +261 -0
  111. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_20.csv +261 -0
  112. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_21.csv +261 -0
  113. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_3.csv +261 -0
  114. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_4.csv +261 -0
  115. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_5.csv +261 -0
  116. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_6.csv +261 -0
  117. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_0_7.csv +261 -0
  118. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_0.csv +261 -0
  119. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_1.csv +261 -0
  120. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_191.csv +261 -0
  121. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_2.csv +261 -0
  122. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_3.csv +261 -0
  123. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_10_4.csv +261 -0
  124. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_1_0.csv +261 -0
  125. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_1_1.csv +261 -0
  126. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_1_2.csv +261 -0
  127. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_20_0.csv +261 -0
  128. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_20_1.csv +261 -0
  129. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_20_2.csv +261 -0
  130. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_0.csv +261 -0
  131. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_3.csv +261 -0
  132. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_4.csv +261 -0
  133. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_5.csv +261 -0
  134. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_2_6.csv +261 -0
  135. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_0.csv +261 -0
  136. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_1.csv +261 -0
  137. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_2.csv +28 -0
  138. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_3.csv +8 -0
  139. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_4.csv +14 -0
  140. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_5.csv +11 -0
  141. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_3_6.csv +11 -0
  142. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_0.csv +261 -0
  143. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_1.csv +261 -0
  144. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_10.csv +261 -0
  145. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_2.csv +261 -0
  146. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_3.csv +261 -0
  147. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_4.csv +261 -0
  148. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_5.csv +261 -0
  149. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_6.csv +261 -0
  150. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_7.csv +261 -0
  151. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_8.csv +261 -0
  152. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_4_9.csv +261 -0
  153. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_Canada.csv +5 -0
  154. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_HPC.csv +2 -0
  155. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_MRMS.csv +175 -0
  156. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_NCEP.csv +401 -0
  157. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_NDFD.csv +38 -0
  158. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_2_local_index.csv +7 -0
  159. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_4_5.csv +261 -0
  160. package/dist/prebuilt/Android-x86_64/share/gdal/grib2_table_versions.csv +3 -0
  161. package/dist/prebuilt/Android-x86_64/share/gdal/gt_datum.csv +229 -0
  162. package/dist/prebuilt/Android-x86_64/share/gdal/gt_ellips.csv +24 -0
  163. package/dist/prebuilt/Android-x86_64/share/gdal/header.dxf +1124 -0
  164. package/dist/prebuilt/Android-x86_64/share/gdal/inspire_cp_BasicPropertyUnit.gfs +57 -0
  165. package/dist/prebuilt/Android-x86_64/share/gdal/inspire_cp_CadastralBoundary.gfs +60 -0
  166. package/dist/prebuilt/Android-x86_64/share/gdal/inspire_cp_CadastralParcel.gfs +81 -0
  167. package/dist/prebuilt/Android-x86_64/share/gdal/inspire_cp_CadastralZoning.gfs +161 -0
  168. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_AdmArea.gfs +59 -0
  169. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_AdmBdry.gfs +49 -0
  170. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_AdmPt.gfs +59 -0
  171. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_BldA.gfs +54 -0
  172. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_BldL.gfs +54 -0
  173. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_Cntr.gfs +54 -0
  174. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_CommBdry.gfs +49 -0
  175. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_CommPt.gfs +59 -0
  176. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_Cstline.gfs +54 -0
  177. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_ElevPt.gfs +54 -0
  178. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_GCP.gfs +94 -0
  179. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_LeveeEdge.gfs +49 -0
  180. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RailCL.gfs +54 -0
  181. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdASL.gfs +44 -0
  182. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdArea.gfs +54 -0
  183. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdCompt.gfs +59 -0
  184. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdEdg.gfs +59 -0
  185. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdMgtBdry.gfs +49 -0
  186. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RdSgmtA.gfs +59 -0
  187. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_RvrMgtBdry.gfs +49 -0
  188. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_SBAPt.gfs +49 -0
  189. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_SBArea.gfs +54 -0
  190. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_SBBdry.gfs +44 -0
  191. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_WA.gfs +54 -0
  192. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_WL.gfs +54 -0
  193. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_WStrA.gfs +54 -0
  194. package/dist/prebuilt/Android-x86_64/share/gdal/jpfgdgml_WStrL.gfs +54 -0
  195. package/dist/prebuilt/Android-x86_64/share/gdal/nitf_spec.xml +3290 -0
  196. package/dist/prebuilt/Android-x86_64/share/gdal/nitf_spec.xsd +173 -0
  197. package/dist/prebuilt/Android-x86_64/share/gdal/ogrinfo_output.schema.json +528 -0
  198. package/dist/prebuilt/Android-x86_64/share/gdal/ogrvrt.xsd +530 -0
  199. package/dist/prebuilt/Android-x86_64/share/gdal/osmconf.ini +134 -0
  200. package/dist/prebuilt/Android-x86_64/share/gdal/ozi_datum.csv +131 -0
  201. package/dist/prebuilt/Android-x86_64/share/gdal/ozi_ellips.csv +35 -0
  202. package/dist/prebuilt/Android-x86_64/share/gdal/pci_datum.txt +530 -0
  203. package/dist/prebuilt/Android-x86_64/share/gdal/pci_ellips.txt +129 -0
  204. package/dist/prebuilt/Android-x86_64/share/gdal/pdfcomposition.xsd +705 -0
  205. package/dist/prebuilt/Android-x86_64/share/gdal/ruian_vf_ob_v1.gfs +1455 -0
  206. package/dist/prebuilt/Android-x86_64/share/gdal/ruian_vf_st_uvoh_v1.gfs +86 -0
  207. package/dist/prebuilt/Android-x86_64/share/gdal/ruian_vf_st_v1.gfs +1489 -0
  208. package/dist/prebuilt/Android-x86_64/share/gdal/ruian_vf_v1.gfs +2126 -0
  209. package/dist/prebuilt/Android-x86_64/share/gdal/s57agencies.csv +249 -0
  210. package/dist/prebuilt/Android-x86_64/share/gdal/s57attributes.csv +484 -0
  211. package/dist/prebuilt/Android-x86_64/share/gdal/s57expectedinput.csv +1008 -0
  212. package/dist/prebuilt/Android-x86_64/share/gdal/s57objectclasses.csv +287 -0
  213. package/dist/prebuilt/Android-x86_64/share/gdal/seed_2d.dgn +0 -0
  214. package/dist/prebuilt/Android-x86_64/share/gdal/seed_3d.dgn +0 -0
  215. package/dist/prebuilt/Android-x86_64/share/gdal/stateplane.csv +259 -0
  216. package/dist/prebuilt/Android-x86_64/share/gdal/tms_LINZAntarticaMapTileGrid.json +190 -0
  217. package/dist/prebuilt/Android-x86_64/share/gdal/tms_MapML_APSTILE.json +268 -0
  218. package/dist/prebuilt/Android-x86_64/share/gdal/tms_MapML_CBMTILE.json +346 -0
  219. package/dist/prebuilt/Android-x86_64/share/gdal/tms_NZTM2000.json +243 -0
  220. package/dist/prebuilt/Android-x86_64/share/gdal/trailer.dxf +434 -0
  221. package/dist/prebuilt/Android-x86_64/share/gdal/vdv452.xml +351 -0
  222. package/dist/prebuilt/Android-x86_64/share/gdal/vdv452.xsd +47 -0
  223. package/gdal.xcframework/ios-arm64_arm64e/libgdal.a +0 -0
  224. package/gdal.xcframework/ios-arm64_arm64e_x86_64-simulator/libgdal.a +0 -0
  225. package/package.json +12 -12
package/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+ # @cpp.js/package-gdal
2
+
3
+ ## 1.0.0-beta.23
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: add initial version of CHANGELOGS files
8
+ - Updated dependencies
9
+ - @cpp.js/package-expat@1.0.0-beta.23
10
+ - @cpp.js/package-geos@1.0.0-beta.23
11
+ - @cpp.js/package-geotiff@1.0.0-beta.23
12
+ - @cpp.js/package-iconv@1.0.0-beta.23
13
+ - @cpp.js/package-proj@1.0.0-beta.24
14
+ - @cpp.js/package-spatialite@1.0.0-beta.24
15
+ - @cpp.js/package-sqlite3@1.0.0-beta.25
16
+ - @cpp.js/package-tiff@1.0.0-beta.26
17
+ - @cpp.js/package-webp@1.0.0-beta.24
18
+ - @cpp.js/package-zlib@1.0.0-beta.29
@@ -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"
package/cppjs.build.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const platformCmake = {
2
2
  'Emscripten-x86_64': ['-DBUILD_SHARED_LIBS=OFF'],
3
3
  'Android-arm64-v8a': ['-DCMAKE_ANDROID_STL_TYPE=c++_shared'],
4
+ 'Android-x86_64': ['-DCMAKE_ANDROID_STL_TYPE=c++_shared'],
4
5
  };
5
6
 
6
7
  export default {
@@ -0,0 +1,90 @@
1
+ /**********************************************************************
2
+ * $Id$
3
+ *
4
+ * Name: cpl_atomic_ops.h
5
+ * Project: CPL - Common Portability Library
6
+ * Purpose: Atomic operation functions.
7
+ * Author: Even Rouault, <even dot rouault at spatialys.com>
8
+ *
9
+ **********************************************************************
10
+ * Copyright (c) 2009-2010, Even Rouault <even dot rouault at spatialys.com>
11
+ *
12
+ * SPDX-License-Identifier: MIT
13
+ ****************************************************************************/
14
+
15
+ #ifndef CPL_ATOMIC_OPS_INCLUDED
16
+ #define CPL_ATOMIC_OPS_INCLUDED
17
+
18
+ #include "cpl_port.h"
19
+
20
+ CPL_C_START
21
+
22
+ /** Add a value to a pointed integer in a thread and SMP-safe way
23
+ * and return the resulting value of the operation.
24
+ *
25
+ * This function, which in most cases is implemented by a few
26
+ * efficient machine instructions, guarantees that the value pointed
27
+ * by ptr will be incremented in a thread and SMP-safe way.
28
+ * The variables for this function must be aligned on a 32-bit boundary.
29
+ *
30
+ * Depending on the platforms, this function can also act as a
31
+ * memory barrier, but this should not be assumed.
32
+ *
33
+ * Current platforms/architectures where an efficient implementation
34
+ * exists are MacOSX, MS Windows, i386/x86_64 with GCC and platforms
35
+ * supported by GCC 4.1 or higher. For other platforms supporting
36
+ * the pthread library, and when GDAL is configured with thread-support,
37
+ * the atomicity will be done with a mutex, but with
38
+ * reduced efficiency. For the remaining platforms, a simple addition
39
+ * with no locking will be done...
40
+ *
41
+ * @param ptr a pointer to an integer to increment
42
+ * @param increment the amount to add to the pointed integer
43
+ * @return the pointed value AFTER the result of the addition
44
+ */
45
+ int CPL_DLL CPLAtomicAdd(volatile int *ptr, int increment);
46
+
47
+ /** Increment of 1 the pointed integer in a thread and SMP-safe way
48
+ * and return the resulting value of the operation.
49
+ *
50
+ * @see CPLAtomicAdd for the details and guarantees of this atomic
51
+ * operation
52
+ *
53
+ * @param ptr a pointer to an integer to increment
54
+ * @return the pointed value AFTER the operation: *ptr + 1
55
+ */
56
+ #define CPLAtomicInc(ptr) CPLAtomicAdd(ptr, 1)
57
+
58
+ /** Decrement of 1 the pointed integer in a thread and SMP-safe way
59
+ * and return the resulting value of the operation.
60
+ *
61
+ * @see CPLAtomicAdd for the details and guarantees of this atomic
62
+ * operation
63
+ *
64
+ * @param ptr a pointer to an integer to decrement
65
+ * @return the pointed value AFTER the operation: *ptr - 1
66
+ */
67
+ #define CPLAtomicDec(ptr) CPLAtomicAdd(ptr, -1)
68
+
69
+ /** Compares *ptr with oldval. If *ptr == oldval, then *ptr is assigned
70
+ * newval and TRUE is returned. Otherwise nothing is done, and FALSE is
71
+ * returned.
72
+ *
73
+ * Current platforms/architectures where an efficient implementation
74
+ * exists are MacOSX, MS Windows, i386/x86_64 with GCC and platforms
75
+ * supported by GCC 4.1 or higher. For other platforms supporting
76
+ * the pthread library, and when GDAL is configured with thread-support,
77
+ * the atomicity will be done with a mutex, but with
78
+ * reduced efficiency. For the remaining platforms, a simple compare and
79
+ * exchange with no locking will be done...
80
+ *
81
+ * @param ptr a pointer to an integer (aligned on 32bit boundary).
82
+ * @param oldval old value
83
+ * @param newval new value
84
+ * @return TRUE if the exchange has been done
85
+ */
86
+ int CPLAtomicCompareAndExchange(volatile int *ptr, int oldval, int newval);
87
+
88
+ CPL_C_END
89
+
90
+ #endif /* CPL_ATOMIC_OPS_INCLUDED */
@@ -0,0 +1,73 @@
1
+ /**********************************************************************
2
+ * $Id$
3
+ *
4
+ * Name: cpl_auto_close.h
5
+ * Project: CPL - Common Portability Library
6
+ * Purpose: CPL Auto Close handling
7
+ * Author: Liu Yimin, ymwh@foxmail.com
8
+ *
9
+ **********************************************************************
10
+ * Copyright (c) 2018, Liu Yimin
11
+ *
12
+ * SPDX-License-Identifier: MIT
13
+ ****************************************************************************/
14
+
15
+ #ifndef CPL_AUTO_CLOSE_H_INCLUDED
16
+ #define CPL_AUTO_CLOSE_H_INCLUDED
17
+
18
+ #if defined(__cplusplus)
19
+ #include <type_traits>
20
+
21
+ /************************************************************************/
22
+ /* CPLAutoClose */
23
+ /************************************************************************/
24
+
25
+ /**
26
+ * The class use the destructor to automatically close the resource.
27
+ * Example:
28
+ * GDALDatasetH hDset = GDALOpen(path,GA_ReadOnly);
29
+ * CPLAutoClose<GDALDatasetH,void(*)(void*)>
30
+ * autoclosehDset(hDset,GDALClose); Or: GDALDatasetH hDset =
31
+ * GDALOpen(path,GA_ReadOnly); CPL_AUTO_CLOSE_WARP(hDset,GDALClose);
32
+ */
33
+ template <typename _Ty, typename _Dx> class CPLAutoClose
34
+ {
35
+ static_assert(!std::is_const<_Ty>::value && std::is_pointer<_Ty>::value,
36
+ "_Ty must is pointer type,_Dx must is function type");
37
+
38
+ private:
39
+ _Ty &m_ResourcePtr;
40
+ _Dx m_CloseFunc;
41
+
42
+ private:
43
+ CPLAutoClose(const CPLAutoClose &) = delete;
44
+ void operator=(const CPLAutoClose &) = delete;
45
+
46
+ public:
47
+ /**
48
+ * @brief Constructor.
49
+ * @param ptr Pointer to the resource object.
50
+ * @param dt Resource release(close) function.
51
+ */
52
+ explicit CPLAutoClose(_Ty &ptr, _Dx dt)
53
+ : m_ResourcePtr(ptr), m_CloseFunc(dt)
54
+ {
55
+ }
56
+
57
+ /**
58
+ * @brief Destructor.
59
+ */
60
+ ~CPLAutoClose()
61
+ {
62
+ if (m_ResourcePtr && m_CloseFunc)
63
+ m_CloseFunc(m_ResourcePtr);
64
+ }
65
+ };
66
+
67
+ #define CPL_AUTO_CLOSE_WARP(hObject, closeFunc) \
68
+ CPLAutoClose<decltype(hObject), decltype(closeFunc) *> \
69
+ tAutoClose##hObject(hObject, closeFunc)
70
+
71
+ #endif /* __cplusplus */
72
+
73
+ #endif /* CPL_AUTO_CLOSE_H_INCLUDED */
@@ -0,0 +1,112 @@
1
+ /**********************************************************************
2
+ * Project: CPL - Common Portability Library
3
+ * Purpose: Registry of compression/decompression functions
4
+ * Author: Even Rouault <even.rouault at spatialys.com>
5
+ *
6
+ **********************************************************************
7
+ * Copyright (c) 2021, Even Rouault <even.rouault at spatialys.com>
8
+ *
9
+ * SPDX-License-Identifier: MIT
10
+ ****************************************************************************/
11
+
12
+ #ifndef CPL_COMPRESSOR_H_INCLUDED
13
+ #define CPL_COMPRESSOR_H_INCLUDED
14
+
15
+ #include "cpl_port.h"
16
+
17
+ #include <stdbool.h>
18
+
19
+ /**
20
+ * \file cpl_compressor.h
21
+ *
22
+ * API for compressors and decompressors of binary buffers.
23
+ */
24
+
25
+ CPL_C_START
26
+
27
+ /** Callback of a compressor/decompressor.
28
+ *
29
+ * For a compressor, input is uncompressed data, and output compressed data.
30
+ * For a decompressor, input is compressed data, and output uncompressed data.
31
+ *
32
+ * Valid situations for output_data and output_size are:
33
+ * <ul>
34
+ * <li>output_data != NULL and *output_data != NULL and output_size != NULL and
35
+ * *output_size != 0. The caller provides the output
36
+ * buffer in *output_data and its size in *output_size. In case of successful
37
+ * operation, *output_size will be updated to the actual size.
38
+ * This mode is the one that is always guaranteed to be implemented efficiently.
39
+ * In case of failure due to insufficient space, it will be updated to the size
40
+ * needed (if known), or 0 (if unknown)</li>
41
+ * <li>output_data == NULL and output_size != NULL. *output_size will be updated
42
+ * with the minimum size the output buffer should be (if known), or 0 (if
43
+ * unknown).</li> <li>output_data != NULL and *output_data == NULL and
44
+ * output_size != NULL. *output_data will be allocated using VSIMalloc(), and
45
+ * should be freed by the caller with VSIFree(). *output_size will be updated to
46
+ * the size of the output buffer.</li>
47
+ * </ul>
48
+ *
49
+ * @param input_data Input data. Should not be NULL.
50
+ * @param input_size Size of input data, in bytes.
51
+ * @param output_data Pointer to output data.
52
+ * @param output_size Pointer to output size.
53
+ * @param options NULL terminated list of options. Or NULL.
54
+ * @param compressor_user_data User data provided at registration time.
55
+ * @return true in case of success.
56
+ */
57
+ typedef bool (*CPLCompressionFunc)(const void *input_data, size_t input_size,
58
+ void **output_data, size_t *output_size,
59
+ CSLConstList options,
60
+ void *compressor_user_data);
61
+
62
+ /** Type of compressor */
63
+ typedef enum
64
+ {
65
+ /** Compressor */
66
+ CCT_COMPRESSOR,
67
+ /** Filter */
68
+ CCT_FILTER
69
+ } CPLCompressorType;
70
+
71
+ /** Compressor/decompressor description */
72
+ typedef struct
73
+ {
74
+ /** Structure version. Should be set to 1 */
75
+ int nStructVersion;
76
+ /** Id of the compressor/decompressor. Should NOT be NULL. */
77
+ const char *pszId;
78
+ /** Compressor type */
79
+ CPLCompressorType eType;
80
+ /** Metadata, as a NULL terminated list of strings. Or NULL.
81
+ * The OPTIONS metadata key is reserved for compressors/decompressors to
82
+ * provide the available options as a XML string of the form
83
+ * &lt;Options&gt;
84
+ * &lt;Option name='' type='' description='' default=''/&gt;
85
+ * &lt;/Options&gt;
86
+ */
87
+ CSLConstList papszMetadata;
88
+ /** Compressor/decompressor callback. Should NOT be NULL. */
89
+ CPLCompressionFunc pfnFunc;
90
+ /** User data to provide to the callback. May be NULL. */
91
+ void *user_data;
92
+ } CPLCompressor;
93
+
94
+ bool CPL_DLL CPLRegisterCompressor(const CPLCompressor *compressor);
95
+
96
+ bool CPL_DLL CPLRegisterDecompressor(const CPLCompressor *decompressor);
97
+
98
+ char CPL_DLL **CPLGetCompressors(void);
99
+
100
+ char CPL_DLL **CPLGetDecompressors(void);
101
+
102
+ const CPLCompressor CPL_DLL *CPLGetCompressor(const char *pszId);
103
+
104
+ const CPLCompressor CPL_DLL *CPLGetDecompressor(const char *pszId);
105
+
106
+ /*! @cond Doxygen_Suppress */
107
+ void CPL_DLL CPLDestroyCompressorRegistry(void);
108
+ /*! @endcond */
109
+
110
+ CPL_C_END
111
+
112
+ #endif // CPL_COMPRESSOR_H_INCLUDED
@@ -0,0 +1,215 @@
1
+ /* Generated by cmake */
2
+
3
+ #ifndef CPL_CONFIG_H
4
+ #define CPL_CONFIG_H
5
+
6
+ #ifdef _MSC_VER
7
+ # ifndef CPL_DISABLE_STDCALL
8
+ # define CPL_STDCALL __stdcall
9
+ # endif
10
+ #endif
11
+
12
+ /* --prefix directory for GDAL install */
13
+ #define GDAL_PREFIX "/tmp/cppjs/live/packages/cppjs-package-gdal/.cppjs/build/Source-Release/prebuilt/Android-x86_64"
14
+
15
+ /* The size of `int', as computed by sizeof. */
16
+ #define SIZEOF_INT 4
17
+
18
+ /* The size of `unsigned long', as computed by sizeof. */
19
+ #define SIZEOF_UNSIGNED_LONG 8
20
+
21
+ /* The size of `void*', as computed by sizeof. */
22
+ #define SIZEOF_VOIDP 8
23
+
24
+ /* The size of `size_t', as computed by sizeof. */
25
+ #define SIZEOF_SIZE_T 8
26
+
27
+ /* Define to 1, if you have LARGEFILE64_SOURCE */
28
+ /* #undef VSI_NEED_LARGEFILE64_SOURCE */
29
+
30
+ /* Define to 1 if you want to use the -fvisibility GCC flag */
31
+ #define USE_GCC_VISIBILITY_FLAG 1
32
+
33
+ /* Define to 1 if GCC atomic builtins are available */
34
+ #define HAVE_GCC_ATOMIC_BUILTINS 1
35
+
36
+ /* Define to 1 if GCC bswap builtins are available */
37
+ #define HAVE_GCC_BSWAP 1
38
+
39
+ /* Define to 1 if your processor stores words with the most significant byte
40
+ first (like Motorola and SPARC, unlike Intel and VAX). */
41
+ /* #undef WORDS_BIGENDIAN */
42
+
43
+ /* Define to name of 64bit stat structure */
44
+ #define VSI_STAT64_T stat64
45
+
46
+ /* Define to 1 if you have the `std::isnan' function. */
47
+ #define HAVE_STD_IS_NAN 1
48
+
49
+
50
+ #ifdef GDAL_COMPILATION
51
+
52
+ /* The size of `long int', as computed by sizeof. */
53
+ #define SIZEOF_LONG_INT 8
54
+
55
+ /* Define if you want to use pthreads based multiprocessing support */
56
+ #define CPL_MULTIPROC_PTHREAD 1
57
+
58
+ /* Define to 1 if you have the `PTHREAD_MUTEX_RECURSIVE' constant. */
59
+ #define HAVE_PTHREAD_MUTEX_RECURSIVE 1
60
+
61
+ /* Define to 1 if you have the `PTHREAD_MUTEX_ADAPTIVE_NP' constant. */
62
+ /* #undef HAVE_PTHREAD_MUTEX_ADAPTIVE_NP */
63
+
64
+ /* Define to 1 if you have the `pthread_spin_lock' function. */
65
+ #define HAVE_PTHREAD_SPIN_LOCK 1
66
+
67
+ /* Define to 1 if you have the `pthread_atfork' function. */
68
+ #define HAVE_PTHREAD_ATFORK 1
69
+
70
+ /* Define to 1 if you have the 5 args `mremap' function. */
71
+ #define HAVE_5ARGS_MREMAP 1
72
+
73
+ /* Define to 1 if you have the <sys/random.h> header file. */
74
+ #define HAVE_SYS_RANDOM_H 1
75
+
76
+ /* Define to 1 if you have the `getrandom' function. */
77
+ #define HAVE_GETRANDOM 1
78
+
79
+ /* Define to 1 if you have the `getrlimit' function. */
80
+ #define HAVE_GETRLIMIT 1
81
+
82
+ /* Define to 1 if you have the `RLIMIT_AS' constant. */
83
+ #define HAVE_RLIMIT_AS 1
84
+
85
+ /* Define to 1 if you have the <direct.h> header file. */
86
+ /* #undef HAVE_DIRECT_H */
87
+
88
+ /* Define to 1 if you have the <dlfcn.h> header file. */
89
+ #define HAVE_DLFCN_H 1
90
+
91
+ /* Define to 1 if you have the <fcntl.h> header file. */
92
+ #define HAVE_FCNTL_H 1
93
+
94
+ /* Define to 1 if you have the `getcwd' function. */
95
+ #define HAVE_GETCWD 1
96
+
97
+ /* Define if you have the iconv() function and it works. */
98
+ #define HAVE_ICONV 1
99
+
100
+ /* Define to 1 if the system has the type `__uint128_t'. */
101
+ #define HAVE_UINT128_T 1
102
+
103
+ /* Define to 1 if you have the <locale.h> header file. */
104
+ #define HAVE_LOCALE_H 1
105
+
106
+ /* Define to 1 if you have the <sys/stat.h> header file. */
107
+ #define HAVE_SYS_STAT_H 1
108
+
109
+ /* Define to 1 if you have the <sys/types.h> header file. */
110
+ #define HAVE_SYS_TYPES_H 1
111
+
112
+ /* Define to 1 if you have the <unistd.h> header file. */
113
+ #define HAVE_UNISTD_H 1
114
+
115
+ /* Define to 1 if you have the <xlocale.h> header file. */
116
+ #define HAVE_XLOCALE_H 1
117
+
118
+ /* Define to 1 if you have the `vsnprintf' function. */
119
+ #define HAVE_VSNPRINTF 1
120
+
121
+ /* Define to 1 if you have the `readlink' function. */
122
+ #define HAVE_READLINK 1
123
+
124
+ /* Define to 1 if you have the `posix_spawnp' function. */
125
+ #define HAVE_POSIX_SPAWNP 1
126
+
127
+ /* Define to 1 if you have the `posix_memalign' function. */
128
+ #define HAVE_POSIX_MEMALIGN 1
129
+
130
+ /* Define to 1 if you have the `vfork' function. */
131
+ #define HAVE_VFORK 1
132
+
133
+ /* Define to 1 if you have the `mmap' function. */
134
+ #define HAVE_MMAP 1
135
+
136
+ /* Define to 1 if you have the `sigaction' function. */
137
+ #define HAVE_SIGACTION 1
138
+
139
+ /* Define to 1 if you have the `statvfs' function. */
140
+ #define HAVE_STATVFS 1
141
+
142
+ /* Define to 1 if you have the `statvfs64' function. */
143
+ #define HAVE_STATVFS64 1
144
+
145
+ /* Define to 1 if you have the `lstat' function. */
146
+ #define HAVE_LSTAT 1
147
+
148
+ /* For .cpp files, define as const if the declaration of iconv() needs const. */
149
+ #define ICONV_CPP_CONST
150
+
151
+ /* Define for Mac OSX Framework build */
152
+ /* #undef MACOSX_FRAMEWORK */
153
+
154
+ /* Define to 1 if you have fseek64, ftell64 */
155
+ #define UNIX_STDIO_64 1
156
+
157
+ /* Define to name of 64bit fopen function */
158
+ #define VSI_FOPEN64 fopen64
159
+
160
+ /* Define to name of 64bit ftruncate function */
161
+ #define VSI_FTRUNCATE64 ftruncate64
162
+
163
+ /* Define to name of 64bit fseek func */
164
+ #define VSI_FSEEK64 fseeko64
165
+
166
+ /* Define to name of 64bit ftell func */
167
+ #define VSI_FTELL64 ftello64
168
+
169
+ /* Define to name of 64bit stat function */
170
+ #define VSI_STAT64 stat64
171
+
172
+ /* Use this file to override settings in instances where you're doing FAT compiles
173
+ on Apple. It is currently off by default because it doesn't seem to work with
174
+ newish ( XCode >= 3/28/11) XCodes */
175
+ /* #include "cpl_config_extras.h" */
176
+
177
+
178
+ /* Define to 1 if you have the _SC_PHYS_PAGES' constant. */
179
+ #define HAVE_SC_PHYS_PAGES 1
180
+
181
+ /* Define to 1 if you have the `sched_getaffinity' function. */
182
+ #define HAVE_SCHED_GETAFFINITY 1
183
+
184
+ /* Define to 1 if you have the `std::shared_mutex' function. */
185
+ #define HAVE_SHARED_MUTEX 1
186
+
187
+ /* Define to 1 if you have the `uselocale' function. */
188
+ #define HAVE_USELOCALE 1
189
+
190
+ /* Define to 1 if libc don't deprecate sprintf */
191
+ #ifndef DONT_DEPRECATE_SPRINTF
192
+ #define DONT_DEPRECATE_SPRINTF 0
193
+ #endif
194
+
195
+ /* Define to 1 if the compiler supports -Wzero-as-null-pointer-constant */
196
+ #define HAVE_GCC_WARNING_ZERO_AS_NULL_POINTER_CONSTANT 1
197
+
198
+ /* Define if building a static windows lib */
199
+ /* #undef CPL_DISABLE_DLL */
200
+
201
+ /* Define to 1 if you have the <atlbase.h> header file. */
202
+ /* #undef HAVE_ATLBASE_H */
203
+
204
+ /* Define to 1 if you have the `ctime_r' function. */
205
+ #define HAVE_CTIME_R 1
206
+
207
+ /* Define to 1 if you have the `localtime_r' function. */
208
+ #define HAVE_LOCALTIME_R 1
209
+
210
+ /* Define to 1 if you have the `gmtime_r' function. */
211
+ #define HAVE_GMTIME_R 1
212
+
213
+ #endif /* GDAL_COMPILATION */
214
+
215
+ #endif
@@ -0,0 +1,34 @@
1
+ /* $Id$ */
2
+
3
+ #ifndef INCLUDED_CPL_CONFIG_EXTRAS
4
+ #define INCLUDED_CPL_CONFIG_EXTRAS
5
+
6
+ #if defined(__APPLE__)
7
+
8
+ #ifdef __LP64__
9
+ #define SIZEOF_UNSIGNED_LONG 8
10
+ #else
11
+ #define SIZEOF_UNSIGNED_LONG 4
12
+ #endif
13
+
14
+ #ifdef __LP64__
15
+ #define SIZEOF_VOIDP 8
16
+ #else
17
+ #define SIZEOF_VOIDP 4
18
+ #endif
19
+
20
+ #ifdef __BIG_ENDIAN__
21
+ #define WORDS_BIGENDIAN 1
22
+ #else
23
+ #undef WORDS_BIGENDIAN
24
+ #endif
25
+
26
+ #undef VSI_STAT64
27
+ #undef VSI_STAT64_T
28
+
29
+ #define VSI_STAT64 stat
30
+ #define VSI_STAT64_T stat
31
+
32
+ #endif // APPLE
33
+
34
+ #endif // INCLUDED_CPL_CONFIG_EXTRAS