node-gdal function updates and unitType detection