gdal-async
Advanced tools
Changelog
[3.3.3] 2021-09-07
rollup-plugin-natives
gdal.vsimem.release
is now always safe to useChangelog
[3.3.2] 2021-07-08
gdal.Dataset.rasterSizeAsync
gdal.Dataset.srsAsync
gdal.Dataset.geoTransformAsync
gdal.DatasetBands.getEnvelope()
gdal.vsimem.set
and gdal.vsimem.release
allowing to load and unload files between a Buffer
and GDAL's in-memory vsimem
file systemgdal.Geometry.makeValid{Async}()
gdal.SpatialReference.clone()
, gdal.SpatialReference.cloneGeogCS()
and when constructing a gdal.SpatialReference
with a wkt
argumentgdal.Dataset.root
Changelog
[3.3.1] 2021-06-17
gdal.DatasetLayers.get{Async}()
now throws an Error
if an invalid layer is requested instead of returning a null objectgdal.FeatureDefnFields.get{Async}()
now throws an Error
if an invalid field definition is requested instead of returning a null objectgdal.FeatureFields.get{Async}()
now throws an Error
if an invalid field is requested instead of returning a null object
null
if the field exists in the definition but it is not set in the featuregdal.GDALDrivers.get()
now throws an Error
if an invalid driver is requested instead of returning a null objectgdal.GeometryCollectionChildren.get()
now throws an Error
if an invalid sub-geometry is requested instead of returning a null objectgdal.LayerFeatures.get{Async}()
now throws an Error
if an invalid feature is requested instead of returning a null objectgdal.LayerFields.get{Async}()
now throws an Error
if an invalid field is requested instead of returning a null objectgdal.LineStringPoints.get()
now throws an Error
if an invalid point is requested instead of returning a null objectgdal.PolygonRings.get()
now throws an Error
if an invalid ring is requested instead of returning a null objectgdal.Geometry
methods that return a gdal.Geometry
throw an Error
on error instead of returning a null objectgdal.RasterBand
Error
with an empty message if a GDAL method fails without setting the error message instead of the last previously encountered errorChangelog
[3.3.0] 2021-06-15
gdal.RasterBandPixels.{write|read}()
gdal.RasterBandPixels.{set|get}Async()
gdal.RasterBand.computeStatisticsAsync
gdal.DatasetBands.get{Async}()
now throws an Error
if an invalid band is requested instead of returning a null objectgdal.RasterBand.fillAsync
gdal.Dataset
was not protected from the GC during an asynchronous operationChangelog
[3.2.3] 2021-06-03
gdal.Layer.flush
, gdal.RasterBand.flush
and gdal.RasterBand.fill
gdal.Layer
operations: flush
, getExtent
, testCapability
, setSpatialFilter
, getSpatialFilter
and most scalar gettersChangelog
[3.2.2] 2021-05-25
Changelog
[3.2.1] 2021-05-24
gdal.SpatialReference.from*
, gdal.DatasetBands.create
)Changelog
[3.2.0] 2021-05-21
gdal.Geometry.fromGeoJsonBuffer(Async)()
, a completely parallelizable alternative to gdal.Geometry.fromGeoJson()
for importing large GeoJSON geometries without blocking the event loopgdal.LayerFeatures.setAsync()
gdal.Geometry.fromGeoJson
now throws an Error
on error instead of simply returning a null geometry
Previously all gdal.Geometry.from*
functions except fromGeoJson
threw undocumented errors, now all of them, including fromGeoJson
throw documented errors