From 771bdab2ebda43faef7f2d62cbb4117f87605418 Mon Sep 17 00:00:00 2001 From: Bugra Date: Mon, 11 Dec 2023 02:30:59 +0300 Subject: [PATCH] v2.6.0 --- .news.json | 41 ++++++++++++++++++++++++++++++ README.md | 14 +++++----- apps/app-gui/package.json | 2 +- apps/example-browser/index.html | 4 +-- apps/example-browser/main.js | 2 +- apps/example-node/package.json | 2 +- apps/example-singlefile/index.html | 10 ++++---- package.json | 4 +-- 8 files changed, 60 insertions(+), 19 deletions(-) diff --git a/.news.json b/.news.json index beafc7e..a9c4138 100644 --- a/.news.json +++ b/.news.json @@ -1,4 +1,45 @@ [ + { + "version": "v2.6.0", + "date": "11.12.2023", + "commits": [ + { + "description": "feat: add log and error handler to config", + "hash": "179ce0eb320469d22662af9422d8f4d217fd4c70", + "user": "bugra9" + }, + { + "description": "feat: add env param to config to set global gdal configuration", + "hash": "179ce0eb320469d22662af9422d8f4d217fd4c70", + "user": "bugra9" + }, + { + "description": "fix: raster/vector type calculation", + "hash": "179ce0eb320469d22662af9422d8f4d217fd4c70", + "user": "bugra9" + }, + { + "description": "fix: prevent app from terminating if a warning occurs", + "hash": "179ce0eb320469d22662af9422d8f4d217fd4c70", + "user": "bugra9" + }, + { + "description": "feat: list all created files with all param in the outputs of ogr2ogr, gdal_translate, gdalwarp, gdal_rasterize", + "hash": "179ce0eb320469d22662af9422d8f4d217fd4c70", + "user": "bugra9" + }, + { + "description": "feat: add outputName param to ogr2ogr, gdal_translate, gdalwarp, gdal_rasterize", + "hash": "179ce0eb320469d22662af9422d8f4d217fd4c70", + "user": "bugra9" + }, + { + "description": "feat: add more info about dataset in gdal3.js gui", + "hash": "179ce0eb320469d22662af9422d8f4d217fd4c70", + "user": "bugra9" + } + ] + }, { "version": "v2.5.0", "date": "02.12.2023", diff --git a/README.md b/README.md index dad6ee7..349d6da 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,10 @@ It runs on the browser and files are converted on the client side. ### Raster **Read & Write** \ -AAIGrid, ADRG, ARG, BLX, BMP, BT, BYN, CALS, CTable2, DTED, EHdr, ELAS, ENVI, ERS, FIT, GIF, GPKG, GRIB, GS7BG, GSAG, GSBG, GTX, GTiff, HF2, HFA, ILWIS, ISCE, ISIS2, ISIS3, JPEG, KMLSUPEROVERLAY, KRO, LAN, LCP, Leveller, MBTiles, MEM, MFF, MFF2, MRF, NITF, NTv2, NWT_GRD, OpenFileGDB, PAux, PCIDSK, PCRaster, PDS4, PNG, PNM, R, RMF, ROI_PAC, RRASTER, RST, Rasterlite, SAGA, SGI, SIGDEM, SRTMHGT, Terragen, USGSDEM, VICAR, VRT, WEBP, WMTS, XPM, XYZ, ZMap, Zarr +AAIGrid, ADRG, ARG, BLX, BMP, BT, BYN, CALS, CTable2, DTED, EHdr, ELAS, ENVI, ERS, FIT, GIF, GPKG, GRIB, GS7BG, GSAG, GSBG, GTX, GTiff, HF2, HFA, ILWIS, ISCE, JPEG, KMLSUPEROVERLAY, KRO, LAN, LCP, Leveller, MBTiles, MEM, MFF, MFF2, MRF, NITF, NTv2, NWT_GRD, OpenFileGDB, PAux, PCIDSK, PCRaster, PNG, PNM, R, RMF, ROI_PAC, RRASTER, RST, Rasterlite, SAGA, SGI, SIGDEM, SRTMHGT, Terragen, USGSDEM, VRT, WEBP, WMTS, XPM, XYZ, ZMap, Zarr **Read Only** \ -ACE2, AIG, AirSAR, BIGGIF, BSB, CAD, CEOS, COASP, COSAR, CPG, CTG, DERIVED, DIMAP, DIPEx, DOQ1, DOQ2, ECRGTOC, EIR, ESAT, ESRIC, FAST, GFF, GRASSASCIIGrid, GSC, GXF, GenBin, IRIS, ISG, JAXAPALSAR, JDEM, L1B, LOSLAS, MAP, MSGN, NDF, NGSGEOID, NOAA_B, NSIDCbin, NWT_GRC, OZI, PDS, PRF, RIK, RPFTOC, RS2, SAFE, SAR_CEOS, SDTS, SENTINEL2, SNODAS, SRP, STACIT, STACTA, TGA, TIL, TSX +ACE2, AIG, AirSAR, BIGGIF, BSB, CAD, CEOS, COASP, COSAR, CPG, CTG, DERIVED, DIMAP, DIPEx, DOQ1, DOQ2, ECRGTOC, EIR, ESAT, ESRIC, FAST, GFF, GRASSASCIIGrid, GSC, GXF, GenBin, IRIS, ISG, JAXAPALSAR, JDEM, L1B, LOSLAS, MAP, MSGN, NDF, NGSGEOID, NOAA_B, NSIDCbin, NWT_GRC, OZI, PRF, RIK, RPFTOC, RS2, SAFE, SAR_CEOS, SDTS, SENTINEL2, SNODAS, SRP, STACIT, STACTA, TGA, TIL, TSX **Write Only** \ COG, PDF @@ -29,10 +29,10 @@ COG, PDF ### Vector **Read & Write** \ -CSV, DGN, DXF, ESRI Shapefile, FlatGeobuf, GML, GPKG, GPSBabel, GPX, GeoJSON, GeoJSONSeq, GeoRSS, Geoconcept, JML, JSONFG, KML, MBTiles, MVT, MapInfo File, MapML, Memory, ODS, OGR_GMT, OpenFileGDB, PCIDSK, PDS4, PMTiles, S57, SQLite, Selafin, VDV, VICAR, WAsP, XLSX +CSV, DGN, DXF, ESRI Shapefile, FlatGeobuf, GML, GPKG, GPSBabel, GPX, GeoJSON, GeoJSONSeq, GeoRSS, Geoconcept, JML, JSONFG, KML, MBTiles, MVT, MapInfo File, MapML, Memory, ODS, OGR_GMT, OpenFileGDB, PCIDSK, PMTiles, S57, SQLite, Selafin, VDV, WAsP, XLSX **Read Only** \ -AVCBin, AVCE00, CAD, EDIGEO, ESRIJSON, GTFS, Idrisi, LVBAG, OGR_PDS, OGR_SDTS, OGR_VRT, OSM, SVG, SXF, TIGER, TopoJSON, UK .NTF, VFK +AVCBin, AVCE00, CAD, EDIGEO, ESRIJSON, GTFS, Idrisi, LVBAG, OGR_SDTS, OGR_VRT, OSM, SVG, SXF, TIGER, TopoJSON, UK .NTF, VFK **Write Only** \ PDF, PGDUMP @@ -46,14 +46,14 @@ PDF, PGDUMP Note: It doesn't work with web worker. ```html ``` ```js -initGdalJs({ path: 'https://cdn.jsdelivr.net/npm/gdal3.js@2.5.0/dist/package', useWorker: false }).then((Gdal) => {}); +initGdalJs({ path: 'https://cdn.jsdelivr.net/npm/gdal3.js@2.6.0/dist/package', useWorker: false }).then((Gdal) => {}); ``` > Example: [https://github.com/bugra9/gdal3.js/tree/master/apps/example-browser](https://github.com/bugra9/gdal3.js/tree/master/apps/example-browser) diff --git a/apps/app-gui/package.json b/apps/app-gui/package.json index 0549599..08265c2 100644 --- a/apps/app-gui/package.json +++ b/apps/app-gui/package.json @@ -1,6 +1,6 @@ { "name": "gdal3.js-gui", - "version": "2.5.0", + "version": "2.6.0", "description": "gdal3.js GUI is a open source project offering a user interface for Gdal.", "license": "GPL-3.0-or-later", "scripts": { diff --git a/apps/example-browser/index.html b/apps/example-browser/index.html index 0c22b8b..cb4afff 100644 --- a/apps/example-browser/index.html +++ b/apps/example-browser/index.html @@ -4,8 +4,8 @@ diff --git a/apps/example-browser/main.js b/apps/example-browser/main.js index 16563aa..918bd8c 100644 --- a/apps/example-browser/main.js +++ b/apps/example-browser/main.js @@ -1,5 +1,5 @@ document.write("Loading..."); -initGdalJs({ path: 'https://cdn.jsdelivr.net/npm/gdal3.js@2.5.0/dist/package', useWorker: false }).then((Gdal) => { +initGdalJs({ path: 'https://cdn.jsdelivr.net/npm/gdal3.js@2.6.0/dist/package', useWorker: false }).then((Gdal) => { const count = Object.keys(Gdal.drivers.raster).length + Object.keys(Gdal.drivers.vector).length; document.write("Number of drivers: " + count); console.log(Gdal.drivers); diff --git a/apps/example-node/package.json b/apps/example-node/package.json index 86f8261..2c492b8 100644 --- a/apps/example-node/package.json +++ b/apps/example-node/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "gdal3.js": "2.5.0" + "gdal3.js": "2.6.0" } } diff --git a/apps/example-singlefile/index.html b/apps/example-singlefile/index.html index e591f17..032c764 100644 --- a/apps/example-singlefile/index.html +++ b/apps/example-singlefile/index.html @@ -4,8 +4,8 @@ @@ -13,12 +13,12 @@ Loading...